Closed Kirbo closed 5 months ago
Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)
Issue is still present
Issue is still present in Home Assistant 2023.11.1
Hey there @rytilahti, @syssi, @starkillerOG, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio) you are listed as a code owner for? Thanks!
https://github.com/home-assistant/core/issues/95669#issuecomment-1615909218
same issue, HA 2023.11.2
Same issue here for zhimi.humidifier.cb1. This error is a cause of device disconnect.
So, this happens when the device responses with something that is not a json object. It would be very helpful if you could try to access the device using miiocli -dd airhumidifier --ip <ip> --token <token> status
(note two d
s) to trigger https://github.com/rytilahti/python-miio/blob/9b17d906d3829dd861d4cb73982dad7d9a5a8e95/miio/miioprotocol.py#L197 find out what is going on.
You can locate the token either by using miiocli cloud
command or extracting it from the config entry file (~/.homeassistant/.storage/core.config_entries
).
Hi, I was finally able to set up python environment and could run miiocli: zhimi.humidifier.cb1 status.txt
If there's anything more needed just lep me know.
are more logs needed? i've two smarti humidifiers that are "suffering" from this same issue.
(These seem to happen (only) twice a day, so naturally not with every status update or something like that)
No need for more logs, if this is not something that is happening for every update. I created an upstream issue to track this https://github.com/rytilahti/python-miio/issues/1913, but in the meanwhile, maybe we could catch that typeerror and just log it instead of erroring out?
This wouldn't fix the real issue (most likely some fw issue), but it could make it less annoying when the device is just marked as unavailable instead of throwing an exception.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
What version of Home Assistant Core has the issue?
core-2023.6.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Xiaomi Miio
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xiaomi_miio
Diagnostics information
home-assistant_xiaomi_miio_2023-07-01T13-24-24.362Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response