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
302 stars 74 forks source link

[BUG]MQTT to Home Assistant no longer working on 4.4.6 #809

Open PaleFlyer opened 1 week ago

PaleFlyer commented 1 week ago

Describe the bug Updated to 4.4.6, and noticed HA was no longer getting/sending data to the controller

To Reproduce Update controller, and reboot

Expected behavior Communication to exist

Screenshots image image I've tried a variety of configs on the MQTT page, this is the latest. I have verified my password is correct using another MQTT device.

Hardware (please complete the following information): image using the "red" level shifter

Software (please complete the following information):

Additional context Add any other context about the problem here.

PaleFlyer commented 1 week ago

Mosquitto isn't even seeing it, unless it somehow is coming in on an IP I don't have in my network.

Mosquitto is showing a LOT of hits from a 172 address. My 2 VLANS are 192 and 10. And the ESP is on the 192 network.

This was working this morning on the previous build, I believe 4.4.5

patatman commented 6 days ago

Just to verify, I'm running the latest version 4.4.6 and I don't have any issues. MQTT is working fine. So this seems to be a local problem. Are you still having issues? Maybe try power-cycling the entire unit?

image
PaleFlyer commented 6 days ago

Just to verify, I'm running the latest version 4.4.6 and I don't have any issues. MQTT is working fine. So this seems to be a local problem. Are you still having issues? Maybe try power-cycling the entire unit? image

I did try soft-rebooting the device, but I have not tried pulling the power.

visualapproach commented 6 days ago

You need to update the file(system) also: image

PaleFlyer commented 6 days ago

Clearly VSCode, PlatformIO, and/or the ESP hates me. I can't push the FileSystem OTA... So I'm gonna have to crack the case open again... So I guess I need to find the waterproof USB I had gotten for this kind of thing, and install that finally. image

The actual FIRMWARE loads fine.

visualapproach commented 5 days ago

Don't use "upload fs OTA". Use "upload fs"

PaleFlyer commented 5 days ago

Tried that to, said it couldn't grab the serial port for the network upload

On Sat, Nov 2, 2024, 08:09 visualapproach @.***> wrote:

Don't use "upload fs OTA". Use "upload fs"

— Reply to this email directly, view it on GitHub https://github.com/visualapproach/WiFi-remote-for-Bestway-Lay-Z-SPA/issues/809#issuecomment-2452970036, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRUFXGNEI32XODDGALLLMLZ6S6IRAVCNFSM6AAAAABQ5KP7FSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSHE3TAMBTGY . You are receiving this because you authored the thread.Message ID: <visualapproach/WiFi-remote-for-Bestway-Lay-Z-SPA/issues/809/2452970036@ github.com>

PaleFlyer commented 1 day ago

For some reason the upload non-OTA worked this time...

visualapproach commented 1 day ago

Nice

PaleFlyer commented 1 day ago

Getting a "Connection_Unauthorized" now, but I have a feeling that is due to my server, as it's been showing some signs of issues for a while now, and just rebooted HomeAssistant as I can't open the logs as the API call is failing in HomeAssistant....

PaleFlyer commented 1 day ago

Okay, for no apparent reason, the user I have on all my other MQTT devices just doesn't like the hot tub, but... I got it working.

Is there any way to WRITE the time to the timers?

IE with blowing out the file system, my counters on the filter, and the chlorine are all saying it's been over 2000 days...

The Chlorine and the filter rinse I need to do today normally, but the wash/replace is not a "today" item...