I recently purchased one of these
Heyaxa WiFi Pool Thermometer
from Amazon in the hope it would work with HA. It uses its own App, but the App is Tuya based. With a little work I was able to get it working using the LocalTuya integration.
https://github.com/rospogrigio/localtuya/.
It does not work with the standard HA Tuya integration (the integration sees it as an unknown device, and there are no entities added).
The Heyaxa instructions say to add the thermometer to the Heyaxa App but you can skip that step.
- Add the device to your existing Tuya or Smart Life app.
- Follow the instructions in the LocalTuya integration to add a device. You will need your device’s ID and local_key (see LocalTuya instructions to obtain these).
- LocalTuya will detect several entities on the device. These are:
101: Heyaxa Basestation Temperature
103: Remote Pool Sensor Current Temperature
102: Heyaxa Basestation Humidity
and two others which I think are Max and Min temperatures (I didn’t need these so I didn’t add them) - Add them as sensors and you’re done. Note for the temperature sensors you will need to put in a multiplier of 0.1
Here’s what the Thermometer looks like in the Tuya Developer Platform:
{
"result": {
"active_time": 1719587749,
"biz_type": 18,
"category": "wsdcg",
"create_time": 1719587749,
"icon": "smart/icon/bay1635491881802G0pP/276ba9e798838088804a620e18fb7a9c.jpg",
"id": "xxxxxxxxxxxxxx",
"ip": "x.x.x.x",
"lat": "xxxxx",
"local_key": "xxxxxxxxxxxxxxxx",
"lon": "xxxxxxxx",
"model": "05HWS",
"name": "Heyaxa Wi-Fi Smart Pool Thermometer ",
"online": true,
"owner_id": "6667840",
"product_id": "xdtaournnxe7aebw",
"product_name": "Heyaxa Wi-Fi Smart Pool Thermometer ",
"status": [],
"sub": false,
"time_zone": "-07:00",
"uid": "xxxxxxxxxxxxxxx",
"update_time": 1719588485,
"uuid": "xxxxxxxxxxxxxxxxxxxxx"
},
"success": true,
"t": 1719588565757,
"tid": "xxxxxxxxxxxxxxxxxxxxxxxx"
}