bdraco / nexia

Python library for connecting to nexia
Apache License 2.0
21 stars 13 forks source link

Add support for Room IQ sensors #45

Closed hans-olav closed 1 year ago

hans-olav commented 1 year ago

This PR adds support to pull information from Room IQ sensors from Nexia. Tested with a wireless Trane 930 sensor paired with a Trane XL1050 thermostat.

I also improved the dump_home_json.py and main.py functionality a bit.

A follow-up PR to this will consume this functionality and expose them as sensors in HomeAssistant.

hans-olav commented 1 year ago

Looks like the IQ sensors don't update unless one invokes this: https://tranehome.com/houses/123/xxl_zones/123/request_current_sensor_state Not sure it's a good idea to poll aggressively - will probably run down the battery on the sensor.

Retracting PR for now.