cdpuk / ha-bestway

Home Assistant integration for Bestway / Lay-Z-Spa hot tubs
MIT License
71 stars 18 forks source link

Support Smart Touch Wifi Filter Pump #23

Closed phretor closed 1 year ago

phretor commented 1 year ago

Hi! I can successfully onboard with my Bestway app credentials, but it looks like the integration is only for SPAs and not Bestway products in general, because I can't see the pump device I see in my app screen.

Is it the integration or the Bestway Cloud API doesn't expose anything else than SPAs?

cdpuk commented 1 year ago

I don't own any other Bestway products besides a Lay-Z-Spa, and the API is undocumented, so someone would need to do the reverse engineering to see how the Bestway product range works. If anyone can do some initial investigations and post back here I'd welcome a discussion on where to take it next.

At present, the integration is certainly not designed to cope with anything but spa systems, and even then newer spa products seem to be coming out that communicate in different ways.

phretor commented 1 year ago

I’ll do some reversing on my product and let you know!

On Sun, 11 Jun 2023 at 23:20 cdpuk @.***> wrote:

I don't own any other Bestway products besides a Lay-Z-Spa, and the API is undocumented, so someone would need to do the reverse engineering to see how the Bestway product range works. If anyone can do some initial investigations and post back here I'd welcome a discussion on where to take it next.

At present, the integration is certainly not designed to cope with anything but spa systems, and even then newer spa products seem to be coming out that communicate in different ways.

— Reply to this email directly, view it on GitHub https://github.com/cdpuk/ha-bestway/issues/23#issuecomment-1586341949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPCNBZKLNDC524QWXX64TXKYZADANCNFSM6AAAAAAZCSCO6U . You are receiving this because you authored the thread.Message ID: @.***>

phretor commented 1 year ago

I tested the above with this device and I'm able to power it ON/OFF and set filter timeout in hours. I also added status report when the device reports that a filter change is required.

https://bestwayusa.com/flowclear-smart-touch-wifi-2-000-gal-app-controlled-filter-pump-58614e

cdpuk commented 1 year ago

@phretor Please could you try this branch? https://github.com/cdpuk/ha-bestway/tree/generic-bestway

This is a significant rewrite to make it easier to support a range of devices beyond Airjet spas, and may become v2.0.0 of the integration. As I have no way to test with a pump, your help would be much appreciated.

phretor commented 1 year ago

On it!