Skip to content
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

[Documentation] Pairing without the Intex App #51

Closed
FreezyExp opened this issue May 26, 2023 · 5 comments · Fixed by #87
Closed

[Documentation] Pairing without the Intex App #51

FreezyExp opened this issue May 26, 2023 · 5 comments · Fixed by #87
Assignees
Labels
Documentation To update Documentation

Comments

@FreezyExp
Copy link

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:

  • Requires local network data in order to broadcast the details to the spa
  • (I'm not sure how this protocol operates, but this is what I concluded) as having wifi data disabled prevented the app from working.
  • I blocked all internet for my phone on my router, just to be sure no info could leak
  1. In Home Assistant - HACS : find and install the Intex intergration
  • In HA prepare all the data to add the new intex spa device (but wait with connecting)
  • Press and hold the C/F Wifi button on the spa unit, the wifi will start blinking for a minute
  • Use the EspTouch app to connect the unit again
  • As soon as it connects, connect the HA intex device setup, the wifi light will remain lit

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
Copy link
Owner

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 !

@mathieu-mp mathieu-mp self-assigned this May 29, 2023
@mathieu-mp mathieu-mp added the Documentation To update Documentation label May 29, 2023
@FreezyExp
Copy link
Author

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
Copy link
Owner

mathieu-mp commented May 30, 2023

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
Copy link

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
Copy link
Owner

mathieu-mp commented May 15, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation To update Documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants