mathieu-mp / homeassistant-intex-spa

Home Assistant integration for Intex Spa
https://github.com/mathieu-mp/homeassistant-intex-spa
MIT License
32 stars 6 forks source link

[Documentation] Pairing without the Intex App #51

Closed FreezyExp closed 5 months ago

FreezyExp commented 1 year ago

Hi, not sure if this is a good place to post this, but I wanted to share my findings somewhere.

We bought a intex spa with wifi (SB-HSWF20), but sadly their app is terrible and cloud based. I just wanted the spa in Home Assistant. After a bit of poking and prodding, I managed to get it connected without the intex app.

Steps: TLDR;

  1. The Intex Spa uses ESPTouch (from Espressif), pair it using some open source app using broadcast option (not multicast)
  2. When the spa is paired, it requires something to listen to it's ports or it seems to disconnect

How I got it to pair without the intex cloud and app:

  1. Using: https://github.com/EspressifApp/EsptouchForAndroid
    • I ran the EspTouch to pair the spa
    • After it connected, the wifi light did not stay lit :-(
    • Either my wifi connection was poor, or some kind of handshake was needed
    • The spa device disconnected from the wifi :-(

Notes on EspTouch:

  1. In Home Assistant - HACS : find and install the Intex intergration

I figure this out today by taking a peek in inside of the Management APK to check what they were doing and what the protocol was being used. I found the espressif ESPTouch code, my spa is using V1 not V2.

Perfect, their app is worthless anyways and now my spa is not connected to the internet, only to my local HA network. Thanks for this

mathieu-mp commented 1 year ago

Very interesting, thanks @FreezyExp !

I may add it the docs, and add a page to mathieu-mp/intex-spa python package. It could help people !

FreezyExp commented 1 year ago

perhaps you could even find a python implementation for the ESPTouch code

Seems like others have already done that work, but... as it is a onetime setup that requires a wireless interface, perhaps declaring it as a setup step to hint on how to pair it would work just as well without adding third party dependencies.

https://github.com/KurdyMalloy/EsptouchPython https://github.com/CaptainDouche/esp_smartcfg_linux

mathieu-mp commented 1 year ago

This seems far outside the scope of this integration. More, the python package is an alpha version. I will suggest this path to the user in the documentation, but I won't add this as a feature.

jojeju9428 commented 3 months ago

hello, I also have an SB-HSWF20, I managed to configure it directly and integrate it into HA thanks to your documentation Could you tell me if you can manage it with automation? When I try to automate, the SPA shuts off after 2 hours Thanks

mathieu-mp commented 3 months ago

Could you tell me if you can manage it with automation?

Yes !

When I try to automate, the SPA shuts off after 2 hours

The duration is set on the panel control side, not on the integration side. Use the spa panel control to change the duration of the feature you want to automate. Look for the HST/HDT settings in the user manual. After that, the HDT will be reused when the feature is triggered from the integration.