epoplavskis / pyit600

MIT License
18 stars 19 forks source link

Support for AWRT10RT thermostat, wiring center #28

Open rmsppu opened 2 years ago

rmsppu commented 2 years ago

I've got a Salus UG600 gateway that's paired via zigbee with 3 Salus AWRT10RT thermostats and one AKL04PRF wireless pump relay controller.

The gateway responds to queries from pyit600 but the reported devices aren't recognized.

Attached is the output of main.py --host 192.168.1.69 --euid FFFFFFFFFFFFFFFF --debug (real EUID obfuscated). debug.txt

I've tried a quick and dirty modification to gateway.py to add the device "sIT600D" as model "AWRT10RF" -- that seems to work to recognize the thermostats, but the call to:

DEBUG:pyit600:Gateway request: POST http://192.168.1.69:80/deviceid/write
{"requestAttr": "write", "id": [{"data": {"UniID": "FFFFFFFFFFFFFFFF", "DeviceType": 100, "Endpoint": 9}, "sIT600D": {"SetHeatingSetpoint_x100": 2100}}]}

fails and produces:

DEBUG:pyit600:Gateway response:
{"status":"fail","id":[{"status":"fail","data":{"UniID":"FFFFFFFFFFFFFFFF\t","Devicetype":100,"Endpoint":9}}]}
rmsppu commented 2 years ago

My end goal is to gain control of the Salus thermostats through Hubitat, meaning re-writing pyit600 in Groovy. I'd be very happy to start with a device handler for the Salus gateway and thermostats that works in Smartthings, if anyone knows of that.