android
android copied to clipboard
Endpoint connected but messages get stuck in queue
Since a couple of days I have some automations done based on my location, e.g. turning on some lights on when entering my home, etc.
When Owntracks publishes it's location this works great, but I found out that sometimes messages get stuck in the Endpoint queue and I have no idea why. Endpoint state is connected, and it seems random when and why the queue is being send. Battery optimization is turned off for Owntracks.
Any ideas what causes this?
App version: 2.1.3 (21302) Android version: 9 Device: Samsung Galaxy A40
Could you give a bit more details as to your configuration (MQTT/HTTP, TLS etc.) and also attach a debug log?
Just turned on debug, will post when having some more data.
Connection is via MQTT, host runs via duckdns to my own Mosquitto MQTT broker without websockets. TLS is turned off.
/Edit Log file now attached, removed some personal information and reduced a bit to the moment when the problem occurs. Issue was around 6:26, it also looks like there were some connection issues at that time but I don't understand why.
At that moment I entered my house (which is when I actually need the location update). It seems that when it was connected with Wifi the queue was sent because my lights went on, but that was with a delay.