-
-
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
Pumps stuck on #1
Comments
Can you enable debug logs for pubalboa and then post them after you toggle a pump? I'd like to see the messages that are sent/received to potentially decipher what's going on. |
sure thing, how do I do that? |
I have never used any python scripts. so running pybalboa was a learning experience. I was unable to get any more detail. It looks like the problem is the spa is not giving HA status that it is running, and so the entity reverts back to off. Which doesnt allow you to send the off command. That is the error I was getting in pybalboa. I can confirm HA does have the ability to control it off. I used the service under developer tools in HA. Calling the service on the pump on switches it on. and calling the HA genertic off turns it off. It is boiling down to the statsu being sent from the spa to the handler. ******* Testing CRC ********** ******** Testing basic commands ********** Asking for device configuration Asking for system information Asking for setup parameters Asking for filter cycle info Reading panel update Please add the above section to issue: New data as of 1671499063.5314002 Trying to set temperaturesCurrent Set Temp: 102.0 Trying to operate pump 0 (first pump)Current Status: Low Play with heatmodeHeat Mode: Ready |
In Home Assistant, edit your logger:
default: warning
logs:
custom_components.balboa: debug
pybalboa: debug |
That makes since, I was trying to get it to debug in Python 3.11. I already had them set to debug. I enabled the integration, turned on pump 2 through the entity. In home assistant it showed on, then went back to off. However pump 1 showed on. Since I couldn't turn it off, and HA assumed the state was already off. I went to services and called the generic turn off service for pump 2. And it turned off. the logs are below. 2022-12-19 19:05:37.567 DEBUG (MainThread) [pybalboa.client] 192.168.2.70 -- establishing connection |
Thanks, @400killer, can you also confirm the details of your spa again? Expected pumps/speed of each |
It is a Image IMSB6312. The heat pack is a Balboa BP501G1 with a TP600 controller. It has a single light. and Two pumps. The first Pump1 is a 2 speed pump. one for filtering and one for high pressure jets. If you turn Pump 1 on it will come on at low speed initially, push the jet button again and it will go to high speed. The speed selection also comes up in HA and acts as it should. Pump 2 is unaffected and never changes state based on Pump1. The second pump is a single speed pump that does high pressure only. That pump bypasses the heat pack. So when you turn on Pump 2, it also turns on Pump 1 at low speed, so it can run the heater to keep the spa at temp. So turning on Pump 2 also turns on Pump 1 on. You turn it on and off with a single press of the jet 2 button. HA has this pump populated correctly with just an on and off switch. As it is a single speed pump. |
@400killer try deleting the balboa integration and restart HA, then install it again (this is necessary to get it to update the underlying package) |
I will try that again, and report back. I have done it a few times today though. I think it maybe the pybalboa script has an issue with maybe new firmware on the wifi module? When I was running pybalboa to post above I wasn't running it on HA. I installed Python 3 and ran it from a PC. And it was unable to the status of off on the pumps (see above). The HA integration was disabled when I did this so there was no conflicts. So I am thinking it might be the underline issue. I will report back on the reinstallation above. |
Correct, it is an issue with the underlying library. I'm using a custom version of it for this beta release, so I updated that to hopefully resolve the issue you are seeing. Because I haven't actually published the library though and am doing this as a beta, the way to force it to update the library is by doing the uninstall/restart/install. |
@natekspencer Thanks, I didn't realize you were making a change to the library. I uninstalled everything, and rebooted the host. I then reinstalled all the way to installing from HACS. It seems to be working! I can turn on the pumps independently. And I am getting the status feedback from HA. All seems to be well. I hope @kiwiRickNZ will reinstall and report back too. Thanks for all the help and work!! I was not expecting to get this repaired the same day. I know most of these are done by people in their spare time. You have a paypal I can buy you a beer or something? |
Glad it worked! https://www.paypal.me/natekspencer if you'd like to |
ive just tried to uninstall the beta and im not sure what has gone wrong but it won't uninstall and all the entries are gone from within the devices page. ive tried to reboot and then install and uninstall it but its not working. |
the error that comes up is Error |
@natekspencer thanks so much for getting this working!
I have one weird issue where if I turn any of the 3 pumps on for the spa they turn on but then in the ui for ha they turn straight back off. The pumps in the spa are now stuck on and running.
The text was updated successfully, but these errors were encountered: