Intex Pure Spa wifi control

Ok, climate entity was extremely easy, using all the knowledge from yesterday.
Does it make sense, to control “bubbles” here as fan?

image

    <string name="e81_content">Make sure the spa is powered on and the wireless control panel is within range of the control base (5m / 16ft).</string>
    <string name="e81_title">E81 - Transmission signal failure!</string>
    <string name="e90_content">Check the filter cartridge and ensure nothing is clogging the circulation system.</string>
    <string name="e90_title">E90 - Low or no water flow!</string>
    <string name="e91_content">Add more salt and make sure the electrolytic cell cord is firmly plugged in.</string>
    <string name="e91_title">E91 - Low salt level or no salt!</string>
    <string name="e92_content">Partially drain the spa and refill with fresh water.</string>
    <string name="e92_title">E92 - High salt level!</string>
    <string name="e94_content">Add warm water to raise the spa temperature above 5ºC / 41ºF.</string>
    <string name="e94_title">E94 -Water temperature too low!</string>
    <string name="e95_content">Turn off the heater, check the filter cartridge and ensure nothing is clogging the circulation system.</string>
    <string name="e95_title">E95 -Water temperature too high!</string>
    <string name="e96_content">Turn off and unplug the spa. Check the filter cartridge and ensure nothing is clogging the circulation system, then restart the spa.</string>
    <string name="e96_title">E96 - Control base system error!</string>
    <string name="e97_content">Turn off and unplug the spa immediately. Contact Intex Service Center.</string>
    <string name="e97_title">E97 - Heater dry-fire protection activated!</string>
    <string name="e99_content">Turn off and unplug the spa immediately. Contact Intex Service Center.</string>
    <string name="e99_title">E99 - Damaged water temperature sensor!</string>

I hope it helps

Thanks @CyrilP
We still have to find out how the errors are coded inside of the status response.
I’ll try and go on working on the integration today… @elkropac, you got so far!!!

Thanks, I implemented it !

I personally tend to consider bubbles as a specific switch.
If not, how to consider jets ?

have a look in DeviceSPAActivity

            } else if ((parseInt < 182 || ((parseInt >= 190 && parseInt <= 197) || parseInt == 199)) && needShowErrorCode(appendZeroToStr(binaryString))) {
                this.hasErrorCode = true;
                TextView textView = this.mErrorCode;
                StringBuilder sb = new StringBuilder();
                sb.append("E");
                int i = parseInt - 100;
                sb.append(i);
                textView.setText(sb.toString());
                showErrorContent("E" + i);
            }

2 Likes

Great ! But do some error detection please, i don’t know, what happens, if status is not instance of IntexSpaStatus - maybe do some method in your IntegrationIntexSpaEntity class to handle errors and call it from all async_turn_on/off methods?

I did not consider jets, i don’t have them :slight_smile: . You are right, you cannot cram all functionality to enitity not to ment to be SPA

I went on with the integration, and am currently implementing the climate entity:

2 Likes

It’s working, and… it can be installed from HACS ! First, add the custom repository URL, as you won’t find it yet in the repositories known by HACS.

This is still Work In Progress. Namely, simultaneous requests lead to an exception (quite bad) and has to be investigated.

1 Like

Thanks, i have installed it few minutes ago :wink:

1 Like

I credited you as I used many parts of your work ! Thanks @elkropac !

1 Like

Would you add your own options to this dashboard configuration discussion, please ?

status is an IntexSpaStatus, or an exception is raised.
So I did not implement error detection there, but we should assert that all errors eventually proceeds to an exception

Created an account to say thanks.
This stuff is awesome and works perfectly here.

Nice!

1 Like

Thanks @CyrilP, I used your extracted code to implement an error code sensor

If you are using the integration, be careful as the climate entity_id has changed from climate.spa_climate to climate.spa

Hi,
Have it installed and working but each time i shutdown/restart my access point, the integration become unable to reconnect (No problem with intex app on the same smartphone, same conditions).
I set up a ping sensor to check if SPA_DEVICE.lan is reachable on the network.
The only workaround i found is…restart HA :slight_smile: and then it works again until next wifi off/on cycle (i shutdown Wifi during the night).
Any idea ?
Thanks,
Eddy

Hi, i have finally managed to connect spa outside and i have already encoutered this behaviour too. I will have to investigate. Now, my spa says it’s online, but i cannot send any commands to it (errno 104)

Reloading the intergration helps to unstuck it, no need to restart HA

1 Like