OTmonitor stops receiving messages
Posted: Sat Mar 07, 2020 12:57 pm
Hello,
I'm experiencing periodic loss of connection between OTmonitor (running on a headless RPi4) and my OTGW. The OTWG is connected via WiFi through a NodeMCU (Nodo shop).
I run homeassistant on my RPi4, OTmonitor is connected via MQTT. This setup works smoothly, I can read and adjust thermostat temperatures, but every X hours the connection between OTmonitor and the OTGW is lost. Messages just stop appearing in the OTmonitor logs, and additionally MQTT messages stop. Logs show no errors whatsoever. The link icon in the settings menu is still green. The webinterface of OTmonitor is still reachable, no connection errors. The webinterface of the NodeMCU is still reachable, no errors, WiFi signal strength >90%.
When I change temperature through MQTT a couple of times, the connection seems to restore itself for another X hours. Also, X hours is completely random and ranges from 1 to 24 hours so far.
I think the connection between NodeMCU and OTmonitor isn't 100% stable, but somehow OTmonitor fails to recognize the connection is lost. Is there some way I can further debug this, or some way OTmonitor could detect the connection is gone?
What I've tried:
- compile latest Github build, makes no difference
- automatic updating of gateway clock as a means of periodic polling the connection, makes no difference
Would really appreciate if someone could help me out. Just let me know if you need log files or anything, I haven't attached any because they don't show abnormalities as far as I can tell.
I'm experiencing periodic loss of connection between OTmonitor (running on a headless RPi4) and my OTGW. The OTWG is connected via WiFi through a NodeMCU (Nodo shop).
I run homeassistant on my RPi4, OTmonitor is connected via MQTT. This setup works smoothly, I can read and adjust thermostat temperatures, but every X hours the connection between OTmonitor and the OTGW is lost. Messages just stop appearing in the OTmonitor logs, and additionally MQTT messages stop. Logs show no errors whatsoever. The link icon in the settings menu is still green. The webinterface of OTmonitor is still reachable, no connection errors. The webinterface of the NodeMCU is still reachable, no errors, WiFi signal strength >90%.
When I change temperature through MQTT a couple of times, the connection seems to restore itself for another X hours. Also, X hours is completely random and ranges from 1 to 24 hours so far.
I think the connection between NodeMCU and OTmonitor isn't 100% stable, but somehow OTmonitor fails to recognize the connection is lost. Is there some way I can further debug this, or some way OTmonitor could detect the connection is gone?
What I've tried:
- compile latest Github build, makes no difference
- automatic updating of gateway clock as a means of periodic polling the connection, makes no difference
Would really appreciate if someone could help me out. Just let me know if you need log files or anything, I haven't attached any because they don't show abnormalities as far as I can tell.