hon icon indicating copy to clipboard operation
hon copied to clipboard

The entity's status don't change whit APP

Open D1788 opened this issue 1 year ago • 16 comments

hi, When i change status via mobile app, in my HA this don't change. I must refresh the integration so status and options update.

D1788 avatar Oct 11 '24 10:10 D1788

update: the sensor values ​​don't even update, since I turned on the air conditioner and from HA I still see 19° as the temperature in the room, while the app (and the external thermometer I have in the room) shows 23°

D1788 avatar Oct 11 '24 12:10 D1788

Hello, i have exactly the same problem here!

antlaranjeira avatar Oct 12 '24 05:10 antlaranjeira

Yes same here with my Washingmaschine

Kumagamii avatar Oct 12 '24 13:10 Kumagamii

Yeah same here, I have to reload the integration for anything to update

emilsievinen avatar Oct 13 '24 09:10 emilsievinen

I have the same issue with a dishwasher, I have tried both version 13 & 14, same results with both

hartitman avatar Oct 13 '24 16:10 hartitman

Same here, since i've had this integration, the sensors haven't been updating regularly or at all

davidanderle avatar Oct 14 '24 18:10 davidanderle

Yes, same problem here.

The debug log in HA shows no errors and the hon integration seems to receive "updates" via mqtt. But no entity has been updated in HA.

2024-10-16 17:36:24.352 DEBUG (Dummy-57) [custom_components.hon] Manually updated hon data
2024-10-16 17:36:24.352 INFO (Dummy-57) [pyhon.connection.mqtt] haier/things/xx-xx-xx-xx-xx-xx/event/appliancestatus/update - {'parameters': [{'parName': 'currentElectricityUsed', 'parOldVal': '0.72', 'parNewVal': '0.75'}, {'parName': 'remainingTimeMM', 'parOldVal': '48', 'parNewVal': '47'}, {'parName': 'remainingMainWashTime', 'parOldVal': '15', 'parNewVal': '14'}, {'parName': 'totalElectricityUsed', 'parOldVal': '1.84', 'parNewVal': '1.87'}], 'macAddress': 'xx-xx-xx-xx-xx-xx', 'applianceTypeName': 'WM', 'eventId': '63', 'timestamp': '2024-10-16T15:36:24.1Z', 'transactionId': 'xx-xx-xx-xx-xx-xx_2024-10-16T15:36:24.1Z'}
2024-10-16 17:36:24.355 DEBUG (Dummy-57) [custom_components.hon] Manually updated hon data
2024-10-16 17:36:24.360 WARNING (Dummy-57) [homeassistant.helpers.frame] Detected that custom integration 'hon' calls async_write_ha_state from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#async_write_ha_state at custom_components/hon/sensor.py, line 849: self.async_write_ha_state(), please report it to the author of the 'hon' custom integration
2024-10-16 17:36:24.361 DEBUG (Dummy-5) [custom_components.hon] Manually updated hon data
2024-10-16 17:36:24.361 INFO (Dummy-5) [pyhon.connection.mqtt] haier/things/xx-xx-xx-xx-xx-xx/event/appliancestatus/update - {'parameters': [{'parName': 'currentElectricityUsed', 'parOldVal': '0.72', 'parNewVal': '0.75'}, {'parName': 'remainingTimeMM', 'parOldVal': '48', 'parNewVal': '47'}, {'parName': 'remainingMainWashTime', 'parOldVal': '15', 'parNewVal': '14'}, {'parName': 'totalElectricityUsed', 'parOldVal': '1.84', 'parNewVal': '1.87'}], 'macAddress': 'xx-xx-xx-xx-xx-xx', 'applianceTypeName': 'WM', 'eventId': '63', 'timestamp': '2024-10-16T15:36:24.1Z', 'transactionId': 'xx-xx-xx-xx-xx-xx_2024-10-16T15:36:24.1Z'}
2024-10-16 17:36:24.470 DEBUG (Dummy-7) [custom_components.hon] Manually updated hon data
2024-10-16 17:36:24.470 INFO (Dummy-7) [pyhon.connection.mqtt] haier/things/xx-xx-xx-xx-xx-xx/event/appliancestatus/update - {'parameters': [{'parName': 'currentElectricityUsed', 'parOldVal': '0.72', 'parNewVal': '0.75'}, {'parName': 'remainingTimeMM', 'parOldVal': '48', 'parNewVal': '47'}, {'parName': 'remainingMainWashTime', 'parOldVal': '15', 'parNewVal': '14'}, {'parName': 'totalElectricityUsed', 'parOldVal': '1.84', 'parNewVal': '1.87'}], 'macAddress': 'xx-xx-xx-xx-xx-xx', 'applianceTypeName': 'WM', 'eventId': '63', 'timestamp': '2024-10-16T15:36:24.1Z', 'transactionId': 'xx-xx-xx-xx-xx-xx_2024-10-16T15:36:24.1Z'}

danielk117 avatar Oct 16 '24 15:10 danielk117

Same here, not updating

rigerc avatar Oct 22 '24 13:10 rigerc

Hello Not wanting to undermine the great work already done with this project - however is it now dead, as this has been reported without any kind of notifcation that its even being looked into, Again - I totally understand life ect and this is a side project - however at the moment alot of people are left without HA updating with currect and correct values from their devices. Thanks

c7homas avatar Oct 22 '24 14:10 c7homas

@c7homas I think the problem is that Andre0512 got in a legal debate with HON as this addon goes against their TNC. So I think it's unlikely that the project will be revived.

davidanderle avatar Oct 22 '24 14:10 davidanderle

Firstly yes Andre seems to have stopped working on this but it should be noted that version 14 was developed alongside HON staff as part of the agreement to keep the project going.

Version 14 is however totally rubbish and the issue reported in this thread has been reported at least once before, I think more than once, and the answer is to go back to version 13. HON however changed the login methods at the same time and so you actually need a mix of 13 and 14 which other repos do provide (I for example have my install running quite happily, I am using the version at https://github.com/addshore/hon

raymondjstone avatar Oct 22 '24 16:10 raymondjstone

Sad news, if its true.

I've switched over to https://github.com/gvigroux/hon, which is a different but simular project. And for me and my washing machine, it is working fine.

danielk117 avatar Oct 23 '24 06:10 danielk117

On the recommendationof danielk117, I have switched to https://github.com/gvigroux/hon and all is working, unfortunatley slightly reduced functionality but more than enought to make it worth it. This can be found as an intergration is HA, it shows with alot less downloads. All entities updaing with my dishwasher.

hartitman avatar Oct 23 '24 09:10 hartitman

I used that too but it kept logging me out on the official hOn app and forcing me to do first time setup stuff again and again. Although this could just be because of the horrible app itself but I haven't had it after I stopped using it

rigerc avatar Oct 23 '24 10:10 rigerc

check https://github.com/Andre0512/hon/issues/269

galvani avatar Dec 29 '24 16:12 galvani

check #269

Just tried out your version today, seems to work flawlessly. Thank you.

deezid avatar Feb 07 '25 13:02 deezid