How to get properties
I was able to integrate hisense wifi module using your addon, but I'm not sure how to get other properties as entities (like f_humidity or f_voltage for example). Is it even possible?
Regards.
For a sensor or a binary sensor, this should work.
- platform: mqtt
name: "Sensor name"
state_topic: "hisense_ac/[macaddress]/[property]/status"
(this bit only for binary_sensor)
payload_on: "on"
payload_off: "off"
Also you might want to make sure the properties you want to get are actually published by your specific AC. Mine for example publishes f_voltage but not f_humidity. Actually I just checked again and f_humidity is reported, but the value is 0, so not really usable for me.
Thanks. I saw a typo I think (votage instead of voltage?):
I0714 09:13:49.127 query_handlers.py:136] Decrypted: {"seq_no":15854,"data":{"name":"f_votage","value":236}} E0714 09:13:49.128 query_handlers.py:89] Failed to handle {'seq_no': 15854, 'data': {'name': 'f_votage', 'value': 236}}. Exception = 'f_votage'
It's been accounted for in the last change to the code. I changed it manually in my installation, don't know if it's included in the latest docker image