Closed NitramH closed 1 year ago
It seems having a look into the HA log, that the spa controller is flooding messages to HA server, dozen messages within milliseconds
You can check what messages are sent with MQTTExplorer on a PC. I suspect that something is toggling very rapidly and the ESP feels obligated to report it. It wouldn't generate dozens of messages per millisecond but rather tens of messages per second. You can also check browser/inspect/console if it sends more than one batch of messages per 2 seconds. And what's different between them.
My guess is that the ESP tries to connect to mqtt broker and fails. What's the mqtt status on the UI page?
The broker is fine since I have 85 entities and all are working. I will check with mqtt explorer.
I didn't suggest the broker was bad.
Ah, sorry, misunderstood.
Status is: MQTT connected Meanwhile i found doubled MQTT entities in HA. Maybe from old installation which I migrated. But I do not understand why it worked for weeks with no further change.
No problem. Is the Wi-Fi good?
RSSI -60, is good MQTT Explorer, every 1s a message arrives.
It seems to be something inside my HA environement. There I found old MQTT entities which seems to point to the same topic two times. But I do not know how to delete, HA refuses it
Is this still necessary or posted by the ESP (sorry for stupid question, but just to be sure):
"#Home Assistant package file for https://github.com/visualapproach/WiFi-remote-for-Bestway-Lay-Z-SPA" "# Save in packages directory in your Home Assistant configuration directory. Create it if it doesn't already exist. "# Add the following to configuration.yaml: "#homeassistant: "# packages: !include_dir_named packages" ... followed by HA MQTT definitions
Remove all yaml references to layzspa. ESP takes care of it.
Removed it. It works but still jittering a lot in Homeassistant. Very crazy behaviour. I use 3.2.0, maybe need to update?
Finally I set the CPU speed to 160 instead of 80. Seems to solve the Jitter.
Really don't know why it was working in the first half of the season wihtout problems :-(
One last question: update from 3.2.0 to 4 using OTA is possible?
update from 3.2.0 to 4 using OTA is possible?
Yes it should be fine. After updating you can visit layzspa.local/update_beta/
to get all the html files updated. It can be problematic sometimes to upload them OTA.
Dear all,
I have trouble with MQTT. All the rest was checked, I change the electronics to exclude it, no change.
It seems that it takes seconds until a request is processed (like pump on). With this, a temperature control is impossible and creates a lot of rubbish actions -> not useable any more.
When turning MQTT off at layzspa, control over HTTP is completely ok.
Any idea where to search and how to log? I use Homeassistant on Proxmox VM and did not had problems before.
Thanks for help, I love the project and would be a pitty to kick it out from HA.
Martin