-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensors don't update (continued discussion from HA Forums) #4
Comments
I downloaded MQTT Explorer for macOS for more troubleshooting. When I toggle the switch for either of the pumps, I see the topic highlight/flash which indicates there was a change to a topic or attribute. The pumps actually do toggle (finally did some local troubleshooting). However, the state of the pump stays at 0. Same for setting the temperature set point. I see the topic flash and the sub-topic "set" changes to the set point value, but the higher level topic still shows the original set point. |
I just pushed a few fixes to main that addressed an issue with settemperature (was a select instead of number) so pull that as a start. Use MQTT explorer and publish a value of I'll work on the timezone issue. |
Let's work through the issues one by one. Pump Control Can you add the code below to your Home Assistant Configuration and see if it works correctly?
Filter 1 Status Here's mine:
|
I've created a multi speed pump branch if that select entity works for your tub. This will create a select entity with the various pump speeds if a multispeed pump is discovered and a switch if a single-speed pump is found. |
I've split this issue into the two repositories, we'll address the problems with balboa_worldwide_app here and the docker container over on jshank/bwalink. |
You shouldn't need to restart home assistant. Just shut down the bwalink docker container, delete the BWA Link Device and then start up the bwalink docker container again. The switch will never work for the multispeed pump, it will change to a select. |
Tried the multi-speed pump branch. Yes a select for each pump is created. Setting to 1 does turn the pump on to low speed. However, the state as viewed in MQTT Explorer and the select in HA frontend still show a 0 and never update to 1. Additionally, setting the select to 2 after setting it to 1 actually turns the pump off. and if I set it to 2 with the pump off it goes to high speed, then setting to 1 turns the pump off. I believe what is happening is setting to 1 is as if I am toggling the pump button from the front panel on the hot tub 1 time and setting it to 2 is as if I am toggling twice. So in other words setting to 1 then 2 or 2 then 1 is really like pressing the button on the front panel 3 times which cycles the pump speed through all the speeds then off again. |
I noticed the same behavior on my tub but was able to work around it by telling Home Assistant that a status of 2 is on and 0 is off. The toggle follows that logic for single speed pumps but seems to break down with multi speed pumps. I think it's just a limitation of the protocol since you can only call toggle on a pump (button press on control panel) and can't directly assign a value. Maybe Cody can re-examine the code for pumps. I'd suggest opening an issue upstream and provide the debugs you did here. |
continuing discussion that started here: https://community.home-assistant.io/t/balboa-hot-tub-spa-automation-and-power-savings/353032/4?u=squirtbrnr
looking at the debug dump, I have an MXBP20. I cannot confirm right now without taking the outer skirt panel off and removing some insulation, but from the pictures and manual online it looks correct. Also this appears to be the standard control pack in Vita Spa models specifically the Grand.
it did actually take the change in temperature set point, however I had to restart the container twice for the sensors to update. it still showed 90F, I restarted and all sensors went unavailable for a long time, I restarted again and everything came up and showed the new set point I had changed it to about 4 hours ago. What appears to be happening is I have control, but no state feedback after the initial sensor query. I can toggle the pumps between off, low, and high speed. I can change the temperature set point, I can turn the lights on/off. I just have no state feedback.
Attached is a CSV export of the container log after running at DEBUG level for about 30 minutes and pressing a few buttons on the hot tub local panel.
bwalink.csv
The text was updated successfully, but these errors were encountered: