visualapproach / WiFi-remote-for-Bestway-Lay-Z-SPA

Hack - ESP8266 as WiFi remote control for Bestway Lay-Z spa Helsinki
GNU General Public License v3.0
305 stars 74 forks source link

[BUG] mqtt server restart switches on pump and heating #700

Closed ZoXx closed 2 months ago

ZoXx commented 7 months ago

Good morning everyone After having the problem for about a week now (since the Lay-Z-Spa is back up) I was able to narrow it down and find the problem.

My iobroker (docker) is shut down at night and backed up. The docker is then restarted. At that moment, the MQTT server (in iobroker as an adapter) is of course also restarted.

shortly afterwards, the lay-z-spa connects via mqtt and switches on the pump and the heating! There are no scripts running in iobroker that trigger this, nor is there a routine etc. What could be the problem here? Why is the pump and heating started by the lay-z-spa after every mqtt restart?

visualapproach commented 7 months ago

Hi, My MQTT broker is restarted every week and I don't have that problem. Are there any messages sent from your broker at start-up? You can use something like mqtt explorer to monitor

ZoXx commented 7 months ago

Found it. :) THANKS!

ZoXx commented 6 months ago

Not really. Same problem again. No other mqtt device got the same problem.

visualapproach commented 6 months ago

Did you check if the broker sent any messages at restart?

ZoXx commented 5 months ago

I tested everything and couldn't find anything. the 50 or so other devices never caused any problems either. i have updated to the latest version and esd now works without any problems. there is no restart anymore

ZoXx commented 4 months ago

Good morning there ar some news. With version v4.3.1 the error was gone. For two weeks, there was no problem with the heating being switched on at night and the pump accordingly. Yesterday I updated to v4.4.1 and in the night to today the problem was immediately present again

visualapproach commented 4 months ago

Hi there! Do you know if the ESP-module rebooted when the broker was restarted? You can check here -> layzspa.local/bootlog.txt

ZoXx commented 4 months ago

No reboot this night

visualapproach commented 4 months ago

I can't replicate the problem and I can't figure out why it would change the heater status. Pump Model?

visualapproach commented 4 months ago

you can post a screenshot of your mqtt page also

ZoXx commented 4 months ago

pump model: 6 wire, 2021 (air) i changed today from iobroker mqtt to homeassistant mqtt.

github-actions[bot] commented 2 months ago

Stale issue message