Here, the thread about iAqualink EXO IQ : Jandy iAqualink Pool Integration - #157 by Markus99 - Custom Components - Home Assistant Community
The “login” and “get devices” requests for Zodiac EXO IQ are similar to your addon requests.
To get informations (water temp, chlorination status, etc.), you must execute this request:
GET https://prod.zodiac-io.com/devices/v1/<serial_number of a device>/shadow
with headers:
authorization:<value of IdToken field in Login response>
user-agent:okhttp/3.12.0
accept:application/json
accept-encoding:gzip
Sample response body:
{
"state": {
"reported": {
"vr": "xxxxxxxx",
"aws": {
"status": "connected",
"timestamp": 1626933352383,
"session_id": "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
"debug": {
"RSSI": -66,
"OTA fail": 0,
"OTA State": 0,
"Last error": 65278,
"Still alive": 2,
"OTA success": 0,
"MQTT connection": 2,
"OTA fail global": 0,
"Version Firmware": "V85W4B0",
"Nb_Success_Pub_MSG": 15,
"Nb_Fail_Publish_MSG": 0,
"Nb_Success_Sub_Receive": 2,
"MQTT disconnection total": 1,
"OTA fail by disconnection": 0,
"Nb reboot du to MQTT issue": 124
},
"equipment": {
"swc_0": {
"sn": "ALWAxxxxxxxxxxxxxx",
"vr": "V85R67",
"low": 0,
"vsp": 1,
"swc": 70,
"amp": 1,
"temp": 1,
"lang": 1,
"boost": 0,
"ph_sp": 72,
"aux_1": {
"type": "none",
"mode": 0,
"state": 0,
"color": 0
},
"aux_2": {
"mode": 0,
"type": "none",
"color": 0,
"state": 0
},
"sns_2": {
"state": 0,
"value": 0,
"sensor_type": "Orp"
},
"sns_1": {
"state": 1,
"value": 70,
"sensor_type": "Ph"
},
"sns_3": {
"state": 1,
"value": 29,
"sensor_type": "Water temp"
},
"orp_sp": 700,
"aux230": 1,
"version": "V1",
"ph_only": 0,
"swc_low": 10,
"dual_link": 0,
"exo_state": 1,
"production": 1,
"error_code": 0,
"boost_time": "24:00",
"filter_pump": {
"type": 0,
"state": 0
},
"error_state": 0
}
},
"schedules": {
"sch1": {
"id": "sch_1",
"name": "Salt Water Chlorinator 1",
"timer": {
"end": "22:00",
"start": "07:00"
},
"active": 1,
"enabled": 1,
"endpoint": "swc_1"
},
"sch2": {
"id": "sch_2",
"name": "Salt Water Chlorinator 2",
"timer": {
"end": "00:00",
"start": "00:00"
},
"active": 0,
"enabled": 0,
"endpoint": "swc_2"
},
"sch9": {
"id": "sch_9",
"name": "Aux 1",
"timer": {
"end": "00:00",
"start": "00:00"
},
"active": 0,
"enabled": 0,
"endpoint": "aux1"
},
"sch10": {
"id": "sch_10",
"name": "Aux 2",
"timer": {
"end": "00:00",
"start": "00:00"
},
"active": 0,
"enabled": 0,
"endpoint": "aux2"
},
"supported": 4,
"programmed": 1
}
}
},
"deviceId": "xxxxxxxxxxxx",
"ts": 1626938778
}