SkillAgentSearch skills...

IntexPureSpa

Intex® PureSpa remote control for Home Automation

Install / Use

/learn @Yogui79/IntexPureSpa
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Intex® PureSpa remote control for Home Automation

Control your PureSpa over MQTT or MySensors (comming soon) for #28458, #28462, 28457(US), #28461(US) & #28442, #28440. No hardware modification and used with Smart Home (optimized for Jeedom & Home Assistant).

Pictures & Videos

ESP32 to LC12s

Hardware to you need

Software to you need

  • Arduino IDE
  • **Install the “ESP32 Dev Kit C V4” ** (V1 boards not work)
  • **Install ESP32 Board for Arduino IDE (verssion 1.0.6) -> Screenshot. **
  • Install the following libraries (use the Arduino Library Manager)
    • EspMQTTClient
    • arduino-timer
    • WiFi (comming with Board Driver in Arduino IDE)
    • ESPmDNS (comming with Board Driver in Arduino IDE)
    • ArduinoOTA
    • SoftwareSerial (only for Arduino)
    • MySensors (only supported for Arduino)
  • You need a MQTT broker (e.g. Mosquitto Broker)

Pinouts

| LC12S | ESP32 | Arduino | |-------|-------|---------| | GND | GND | GND | | CS | D18 | D5 | | SET | D19 | D6 | | TX | D16 | D2 | | RX | D17 | D4 | | VCC | 3.3V | 3.3V |

ESP32 to LC12s

Channel and Network id detection

The channel and the network id are unique for each spa, specialy the network id. Unfortunately, I am not yet able to read these parameters from the pump controller. But I write some help software for that.

  • Channel detection
    This detection can take up to 3 minutes.

    • Download the channel detection code
    • Upload the code to your ESP32 or Arduino
    • Open the Arduino Ide Serial Monitor (speed 115200 baud), the actual channel configuration is diplayed (in hexadecimal)
    • Look at the LC12s LED, when the right channel is detected it will flash faster see the video
    • Note the actual channel configuration, you will need it for the Network id detection
  • Network id detection.
    This detection can take up to 36 hours.

    • Download the network id detection code
    • Write then channel (in Hexadecimal) you note befor here
    uint8_t Channel =yourchanel; //(for example 0x37) 
    
    • Upload the code to your ESP32 or Arduino
    • Look at the LC12s LED, when you use the right channel it will flash fast see the video. If the LED doesn't flash try some channel befor and/or after until the LED flash. If the LED doen't flash her you will not be able to find a network id.
    • Download PuTTY and configure it to log serial port inside a file under Linux you can also use grabserial. Of course you can use other tool wo are able to save serial comunication inside a file. With the Arduino Serial Monitor I make bad experiance when he is open 36 hours.
    • Uncomment following line
        //#define SEARCH_NETWORK_ID	
    
    • Upload the code to your ESP32 or Arduino
    • Wait untill the right network id is founded this can take up to 36 hours. It will be displayed on your Serial Monitor software and save into the file.

PureSpa Software

Now you can Download the PureSpa code change it to your settings and upload it to your ESP or Arduino

Channel and Network id configuration

Put the Channel and Network id you found previously here (in hexadecimal)

#define USED_NETWORK_ID    0xFFFF
#define USED_CHANNEL       0x48

Choose your PureSpa model

Uncomment one line for your Spa

//#define _28458_28462_
//#define _28442_28440_

MQTT communication protocol

Write your WIFI settings in this lines

const char* Myssid = "YourSSID";
const char* Mypassword = "YourPassword";

Write your MQTT settings in this lines

"YourMQTT-Broker-IP", 	  // MQTT Broker server ip
"NameMQTTBroker",        // Can be omitted if not needed
"PasswordMQTTBroker",   // Can be omitted if not needed
"IntexSpa",            // Client name that uniquely identif your device. Don't change the name!
 1883                 // The MQTT port, default to 1883. this line can be omitted

MQTT topic & payload

  • Topic is the path to communtions over MQTT:
    e.g.: IntexSpa/Cmd Power on off
  • Payload is the command

| Description | Topic String | Payload | Payload | Only Status | |------------------------------|----------------------------------|---------|---------|-----------------| | Power | IntexSpa/Cmd Power on off | ON=1 | OFF=0 | - | | Water Filter | IntexSpa/Cmd water filter on off | ON=1 | OFF=0 | - | | Water Filter Timer | IntexSpa/Cmd water filter time | hours=2,4,6 | - | - | | Bubble | IntexSpa/Cmd bubble on off | ON=1 | OFF=0 | - | | Heater | IntexSpa/Cmd heater on off | ON=1 | OFF=0 | - | | Change Farenheit/Celsius | IntexSpa/Cmd Farenheit Celsius | F=1 | C=0 | - | | Decrease the Temp. | IntexSpa/Cmd decrease | UP=1 | - | - | | Increase the Temp. | IntexSpa/Cmd increase | Down=1 | - | -
| ESP Reset | IntexSpa/Cmd Reset ESP | reset | - | - |
| Command Setpoint of Temp. | IntexSpa/Cmd Temperature Setpoint| "set a number" | - | - | Status Communication with pump| IntexSpa/Communication with pump | Com/OK=1 | 0=lost connection | - |Yes | | Heater Status | IntexSpa/heater state | standby=1 & ON=2 | OFF=0 | Yes | Status Setpoint Temp. | IntexSpa/Temperature Setpoint | - | - | Yes | Send °F Temp. | IntexSpa/Farenheit Celsius | - | - | Yes | | | Send Actual Temp. | IntexSpa/Actual Temperature | - | - | Yes | | Send Error Message | IntexSpa/Error Number | - | - | Yes | | Status Power on | IntexSpa/Power on | - | - | Yes |
| Status Bubble on | IntexSpa/Bubble on | - | - | Yes |
| Status Heater on | IntexSpa/heater on | - | - | Yes |
| Status Filter on | IntexSpa/filter on | - | - | Yes | | Status Filter Timer | IntexSpa/filter setup time | - | - | Yes |

Only for Spa #28458, #28462, #28457(US) #28461(US)

| Description | Topic String | Payload | Payload | Only Status | |-------------|--------------------------------|---------|---------|-----------------| | Water Jet | IntexSpa/Cmd water jet on off | ON=1 | OFF=0 | - | | Sanitizer | IntexSpa/Cmd sanitizer on off | ON=1 | OFF=0 | - | | Status Water Jet | IntexSpa/Water jet on | - | - | Yes | | Sanitizer Timer | IntexSpa/Cmd Sanitizer time | hours=3,5,8 | - | - | | Status Sanitizer | IntexSpa/Sanitizer on | - | - | Yes | | Status Sanitizer Timer | IntexSpa/Sanitizer setup time | - | - | Yes |

Debugging

You can debug on Arduino IDE with serial print on baud rate: 115200

Options to debug
Uncomment to debug

//#define DEBUG_RECIEVED_DATA
//#define DEBUG_SEARCH_CHANNEL
//#define DEBUG_SEND_COMMAND
//#define DEBUG_PUMP_DATA
//#define DEBUG_CONTROLER_DATA
//#define DEBUG_CONFIG
//#define DEBUG_MQTT
//#define DEBUG_SEND_VALUE_TO_HOME_AUTOMATION_SW

OTA update

You can use OTA update (wireless) via Arduino IDE after the first upload via USB. Screenshot

Changing ID and automatically search

After the correct selection of the model (see point: Choose your PureSpa model) and after the first start, a channel search is performed (slow blinking of the LC12s). After a successful search (fast blinking of the LC12s) the channel is stored in the ESP (EEPROM), this can take up to 10 minutes.

After the next start the memory is read out and checked if

Related Skills

View on GitHub
GitHub Stars74
CategoryDevelopment
Updated12d ago
Forks20

Languages

C++

Security Score

95/100

Audited on Mar 24, 2026

No findings