klausahrenberg / WThermostatBeca

Replaces original Tuya firmware on Beca thermostat with ESP8266 wifi module
397 stars 97 forks source link

Network connection suddenly lost #193

Closed pierreauclair closed 3 years ago

pierreauclair commented 3 years ago

Hi, First of all, thanks for this really cool and amazing job.

I 'm using version 1.19.beta1 of the firmware with a (KKMoon) bac-2000wifi board. I am experiencing long periods of "silence" from the thermostat. It is online and sending data to my local MQTT server and all of a sudden, it stops sending anything. The heating control continues to work but it is not reachable from anywhere on the network (ping, http, MQTT, NTP clock goes haywire). It can stay this way for several hours and may come back. If I reboot it (electrically) It may come back (or not before several hours) and sometimes on AP mode. It might have been a network quality problem but RSSI is quite high (-70 ; -80) and I have some other equipment at the same spot with no apparent problems.

Looking at the MQTT logs, the last message is : 2021-02-02T06:34:03+0100 therm/room/tele/log verbose: MCU: processSerial;55 aa 01 00 00 01 01 but I am not sure it is any relevant.

Did someone experience this kind of behaviour ? or have any idea on what could cause this problem ?

Many thanks

pierreauclair commented 3 years ago

Hi, I had the opportunity to increase the network WIFI signal strength and It appears this was the problem. Lesson learned -70 to -80 dbm is not strong enough to maintain the link. I now have more between -65 - -70 dbm and it keeps the connection up. Thanks