Disconnected despite saying connected - Printable Version +- Virtuino Forum (https://virtuino.com/forum) +-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1) +--- Forum: Virtuino IoT (https://virtuino.com/forum/forumdisplay.php?fid=2) +--- Thread: Disconnected despite saying connected (/showthread.php?tid=1198) |
Disconnected despite saying connected - hebs - 02-01-2023 I love the app! I am using an android tablet as an always on display. I am using an MQTT Broker on my local network to publish data about my house, power and solar setup. It works great for a couple of hours and then the data stops updating. It says that it is still connected (green cloud icon) but none of the data is updating. I disconnect and then reconnect and all is fine. Is this a bug or could I setup a background task to automatically disconnect and reconnect every hour or so so ensure that screen displays the correct info? Thanks again. RE: Disconnected despite saying connected - iliaslamprou - 02-01-2023 Hi, the app is working on background or in foreground? Is the screen open? The suggested solution is certainly correct but it is still a bug which I would like to investigate RE: Disconnected despite saying connected - hebs - 02-01-2023 (02-01-2023, 07:31 PM)iliaslamprou Wrote: Hi, the app is working on background or in foreground? Working in the foreground and the screen is open. RE: Disconnected despite saying connected - iliaslamprou - 02-02-2023 Hi, I will check it but it is very difficult to find an error that happens after hours. Could you check your project using another Android device? I am thinking to add an additional watchdog for the MQTT connections on the next update. Maybe it's the chance to test him with this project RE: Disconnected despite saying connected - hebs - 02-02-2023 I will try a different android tablet this evening, thank you. |