Home Assistant integration: current temperature always 0
Hey everyone,
thanks to this great project, I was able to integrate my HiSense A/Cs into Home Assistant easily. Thank you very much! Everything seems to be running flawlessly, except for one thing: The current temperature shown in Home Assistant is always 0. Do I need to change some configuration to make it work?
I am using Home Assistant 2021.4.6 with HiSense Air Conditioners add-on 0.3.9 and Mosquitto broker 5.1.1. My app code is hisense-eu, the model is Smart-1-110-eu. I don't see any errors in the log.
Let me know if you need more info. Thanks in advance!
Me too... Strange...
Here's part of the log (not sure if it is related to this issue...):
I0514 09:47:40.911 query_handlers.py:136] Decrypted: {"seq_no":12862,"data":{}}
I0514 09:47:40.912 query_handlers.py:82] Unsupported update message = 12862
I0514 09:47:40.912 web_log.py:206] 192.168.2.76 [14/May/2021:08:47:40 +0000] "POST /local_lan/property/datapoint.json?cmd_id=2965&status=404 HTTP/1.1" 200 149 "-" "-"
D0514 09:47:40.979 notifier.py:112] [KeepAlive] Sending PUT http://192.168.XXX.XXX/local_reg.json {"local_reg": {"ip": "192.168.XXX.XXX", "notify": 1, "port": 222, "uri": "/local_lan"}}
D0514 09:47:40.979 notifier.py:112] [KeepAlive] Sending PUT http://192.168.XXX.XXX/local_reg.json {"local_reg": {"ip": "192.168.XXX.XXX", "notify": 1, "port": 222, "uri": "/local_lan"}}
D0514 09:47:40.980 notifier.py:112] [KeepAlive] Sending PUT http://192.168.XXX.XXX/local_reg.json {"local_reg": {"ip": "192.168.XXX.XXX", "notify": 1, "port": 222, "uri": "/local_lan"}}
D0514 09:47:40.982 query_handlers.py:122] Encrypting: {"seq_no": 3308, "data": {"cmds": [{"cmd": {"method": "GET", "resource": "property.json?name=t_temp", "uri": "/local_lan/property/datapoint.json", "data": "", "cmd_id": 2965}}]}}
I0514 09:47:40.982 web_log.py:206] 192.168.2.75 [14/May/2021:08:47:40 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 481 "-" "-"
D0514 09:47:40.984 query_handlers.py:122] Encrypting: {"seq_no": 3300, "data": {"cmds": [{"cmd": {"method": "GET", "resource": "property.json?name=t_sleep", "uri": "/local_lan/property/datapoint.json", "data": "", "cmd_id": 2964}}]}}
I0514 09:47:40.984 web_log.py:206] 192.168.2.79 [14/May/2021:08:47:40 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 481 "-" "-"
I0514 09:47:41.020 query_handlers.py:136] Decrypted: {"seq_no":12864,"data":{}}
I0514 09:47:41.020 query_handlers.py:82] Unsupported update message = 12864
I0514 09:47:41.020 web_log.py:206] 192.168.2.75 [14/May/2021:08:47:41 +0000] "POST /local_lan/property/datapoint.json?cmd_id=2965&status=404 HTTP/1.1" 200 149 "-" "-"
Some A/Cs simply do not support providing the environment temperature, so it default to 0. I need to map them out and disable it for them.
Well, sometimes it reports temperature, but doesn't seem to be real. Now, one of the units is reporting 27ºC for the last 2 days and before was showing 0 for 3 days. Another unit showed 20ºC when it was setup and now is always 0. They are hisense luso units (a "rebrand" of hisense confort units) and the app is hisense-eu.
Just tested the app and the temperature is reported correctly... So, not a limitation of the unit...
@MadDoct @deiger seems I'm having the same issue. I have two units and both show the same temperature for days since integration (probably was correct temperature at the time of integration, because one is 25 and another is 21)
Same for me. Problem appears IMHO 2 releases of HA ago. Before, everything was fine with environment temperature.
Seems like now everything not working correct. Turning on Hisense Aircon on cooling, it remains on heating, whenever on card showing cooling. Maybe to try to remove and setup again?
So. I found the source of the problem. When I occasionally checked HiSmart app, all my AC's were offline. I removed one ac from app and tried to connect again - no success, binding failed. Since I'm using Adguard home, I turned it off and directly set my DNS to Cloud flare (1.1.1.1 and 1.0.0.1), tried to add AC again - success! Restarted HA and temperature in place for this particular AC. Hope this will help.
I can confirm @papka1974. I have blocked my both AC from accessing the internet after a successful setup in HA. After that AC temperatures in HA were never changed. Now I allowed it and Hisense app works again and temperatures are updated in HA.
thanks @deiger for the hard and nice work on this I have the same issue when blocking cloud , in my case i'am assigning a wrong dns address with dhcp to the units so they cannot reach the cloud i wonder if the units stop dumping the readings in that case. anyone had success with blocking the cloud access and keep having correct readings?
I've blocked Internet access for my AC over a year ago, and it works continuously through HA. I'm not using the mobile app though - I've deleted it from my phone even before setting up the functionality in HA.