YorffoeG / diyscip

DIY Supervision and Control Intxx PxxxSPA with an ESP8266
Other
42 stars 18 forks source link

Support SJB_HS controller type for PCB-less design #4

Closed UlrichMai closed 4 years ago

UlrichMai commented 4 years ago

This build on the button-push-by-software branch and adds support for the SJB_HS spa type controller. This adds support for the buttons bubble, jet and clean. The blinking duration time during clean procedure is detected and ignored, so it is not taken as a temperature. @red-gee has successful tested this in his pool.

dvoc commented 4 years ago

Hello, I have connected the ESP8266 to my spa (intex saltwater) and I'm trying to read/write values by mqtt on homeassistant. No luck. seems that the ESP is correctly connected to my network I see logs on my mosquitto server (mqtt) but I'm not able to read/write values. Any clue?

Logs on mosquitto server:

1594053417: New connection from 192.168.1.130 on port 1883. 1594053417: New client connected from 192.168.1.130 as SPA (p2, c1, k60, u'mosquitto').

Example of config for a switch to power on/off:

Thank you. Regards

red-gee commented 4 years ago

You have to set the command/ payload to on or off not to 1 or 0 (true/false),

The esp send on and want to read on, 1 doesn’t work

dvoc commented 4 years ago

Many thanks, now is working perfectly, Great work! One little improvement should be adding how many hours left to complete the cleaning period (starting from 3h,5h or 8h). Kind regards

UlrichMai commented 4 years ago

Contributions are welcome 😉.

UlrichMai commented 4 years ago

hi @YorffoeG, did you consider merging my enhancements for the pcb less design?