deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
196 stars 54 forks source link

Environmental temperature for FGLair aircons #143

Open kellbot opened 2 years ago

kellbot commented 2 years ago

Is it possible to add support for environmental temperature reported by FGLair aircons so that it appears in Home Assistant? This gets reported by FGLair as "display_temperature" and I can trigger it manually via curl, but in the Home Assistant add-on logs it throws an exception (failed to handle display temperature).

I started a fork trying to add support for this but it's above my paygrade.

I0117` 21:14:22.848  query_handlers.py:136] Decrypted: {"seq_no":1,"data":{"name":"get_prop","value":1}}
E0117 21:14:22.849  query_handlers.py:89] Failed to handle {'seq_no': 1, 'data': {'name': 'get_prop', 'value': 1}}. Exception = 'get_prop'
I0117 21:14:22.853  web_log.py:206] 192.168.88.219 [18/Jan/2022:02:14:22 +0000] "POST /local_lan/property/datapoint.json?echo=true HTTP/1.1" 200 149 "-" "-"
I0117 21:14:22.864  query_handlers.py:136] Decrypted: {"seq_no":2,"data":{"name":"display_temperature","value":6550}}
E0117 21:14:22.866  query_handlers.py:89] Failed to handle {'seq_no': 2, 'data': {'name': 'display_temperature', 'value': 6550}}. Exception = 'display_temperature'
I0117 21:14:22.869  web_log.py:206] 192.168.88.219 [18/Jan/2022:02:14:22 +0000] "POST /local_lan/property/datapoint.json?echo=true HTTP/1.1" 200 149 "-" "-"
I0117 21:14:23.274  query_handlers.py:136] Decrypted: {"seq_no":3,"data":{"name":"get_prop","value":0}}
E0117 21:14:23.276  query_handlers.py:89] Failed to handle {'seq_no': 3, 'data': {'name': 'get_prop', 'value': 0}}. Exception = 'get_prop'
claesmathias commented 2 years ago

I have the same problem.