Posts: 9
Threads: 2
Joined: Feb 2023
Reputation:
1
10-31-2023, 08:48 PM
(This post was last modified: 10-31-2023, 08:48 PM by rcl27.
Edit Reason: Typo
)
I've had some similar connection issues on the websockets front. Since sometimes it's just inevitable, I added a webserial Virtuino debugging/abort code to all my projects. It's intranet only, but for those hard to reach ESP's, I can pull up a serial monitor on my desktop, see what the ESP is doing, and tell the ESP to restart so Virtuino can reestablish connection. I can write up a quick tutorial if you guys would like it.
Posts: 368
Threads: 0
Joined: Apr 2022
Reputation:
15
Hi,
after several tests I found this malfunction and fixed it.
The changes will be made in the next update (0.6.18) which will be made in the following days.
Posts: 16
Threads: 2
Joined: Feb 2023
Reputation:
0
Hi again.
Very satisfied with Virtuino runing on both Linux Mint and Android but this minor culprit still exists... Loosing connection/updating every now and then. It it far better than when this thread started but still not quite ok.
I have a variable that is updating AT LEAST every minute. Is it possible to create a script that disconnect/reconnect MQTT if this variable is not updated after f.ex. 5 minutes? If so, how?
Posts: 1
Threads: 0
Joined: Jun 2023
Reputation:
0
"Lost connection to MQTT broker" typically occurs when the client is unable to maintain a stable connection to the broker, often due to network issues. Most MQTT clients are configured to automatically attempt reconnection until the connection is restored.