esp8266-intexsbh20 icon indicating copy to clipboard operation
esp8266-intexsbh20 copied to clipboard

Tested on PureSpa SSP from 2015 some functions don't work

Open stemac93 opened this issue 1 year ago • 12 comments

Hi guys I implemented this solution on an Intel PureSpa SSP All work except: -Bubble doesn't start (the pool make sound of error) -Filter when turned on do nothing when turned off acts like the button to lower the temperature -Temperature set works only going up wrt the temp actually set

The rest works as expected

stemac93 avatar Dec 01 '24 12:12 stemac93

Did you use SB-H20 or SJB-HS setting?

Elektroarzt avatar Dec 01 '24 16:12 Elektroarzt

SJB-HS

stemac93 avatar Dec 01 '24 16:12 stemac93

If you manage to get the communication up and running, please share your findings. Do you know how to read the Intex bus communication?

Elektroarzt avatar Dec 01 '24 16:12 Elektroarzt

I don't have experience in the reading of the intex bus communication. If you can give me some material to study I will appreciate. I'm note very expert in programming I'm more hardware oriented in electronic but I think I can understand. Thanks

stemac93 avatar Dec 01 '24 17:12 stemac93

I didn't sniff the communication myself, but jnsbyr wrote about his setup in the readme, where you can connect with a logic analyzer to the Intex bus and sniff the commands. An analyzer is dirt cheap meanwhile, search for "logic analyzer 24mhz 8 channel" on Ali and you will find the suitable model for around 6€. For the analyzer software Sigrok PulseView is a good starting point, as it is open source and supports this analyzer out of the box.

Be aware, that the second part would be implementing the commands into the code. Maybe jnsbyr or any other contributor could help out. I'm also more hard- than software related.

@jnsbyr: a second thought ... wouldn't it be possible to let the ESP8266 sniff the commands and serial it out or let it simply learn the commands, as it is a bus member yet?

Elektroarzt avatar Dec 02 '24 08:12 Elektroarzt

@Elektroarzt: Your idea of "learning" might work, as some button actions already seem to work for @stemac93.

Had a quick look at the code. For starters one could just log isrState.frameValue in PureSpaIO::decodeButton(), e.g.

DEBUG_MSG(" >%x", isrState.frameValue);

either by adding this at the top of the method or by temporarily removing all other code in this method. This could also be wrapped with a define to avoid changing the code.

Then start serial debugging, press a button, note the hex code and edit PureSpaIO::FRAME_BUTTON.

@stemac93: give it a try and let us know what happens

jnsbyr avatar Dec 02 '24 22:12 jnsbyr

Perfect, I will do it. Now the pool is in my vacation house and the mqtt broker is connected to my vpn so I can control from there (200km). When I return there (I think not next weekend but the other) I will make all the tests.

stemac93 avatar Dec 04 '24 09:12 stemac93

Hi guys I forked the project and I added the configuration for the PureSpa SSP, now it works perfectly. I sent a merge request.

stemac93 avatar Mar 03 '25 11:03 stemac93

Nice! 👍 I will take care of the README.md.

jnsbyr avatar Mar 03 '25 22:03 jnsbyr

@stemac93 :

What is the exact model name that you tested? SSP-H-20-1? SSP-H-20-1C? Or something else (see type shield and manual)? Can you speculate if your solution will apply to all SSP models?

jnsbyr avatar Mar 03 '25 22:03 jnsbyr

SSP-H-20-1

stemac93 avatar Mar 04 '25 12:03 stemac93

release 1.0.8.2

  • updated README
  • added a new define CUSTOM_MODEL_NAME to make it possible to label the model as needed

Please give me a feedback if this works for you.

jnsbyr avatar Mar 04 '25 19:03 jnsbyr