Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices become unavailable (deerma.humidifier.jsq) #2297

Open
RomchikL opened this issue Jan 10, 2025 · 1 comment
Open

Devices become unavailable (deerma.humidifier.jsq) #2297

RomchikL opened this issue Jan 10, 2025 · 1 comment

Comments

@RomchikL
Copy link

RomchikL commented Jan 10, 2025

Device model / 设备型号

deerma.humidifier.jsq

Component version / 插件版本

1.0.8

HA core version / HA版本

2025.1.0

Integrated mode / 集成方式

Token

The problem / 问题详情

The same problem as #961
My humidifier is aviable for 1-2 hours (maximum)
After - the status is unaviable
Before 1-2 latter updates the hum worked more stable. The unavailable status was also there, but not permanently (and self-fixed due some time)

Log contains:

Got error when receiving: timed out

Got MiioException while fetching the state: No response from the device, mapping: {'indicator_light.on': {'siid': 4, 'piid': 1}, 'humidifier.on': {'siid': 2, 'piid': 1}, 'humidifier.target_humidity': {'siid': 2, 'piid': 101}, 'humidifier.fan_level': {'siid': 2, 'piid': 104}}, max_properties: 4/4
Got MiioException while fetching the state: No response from the device, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.temperature': {'siid': 3, 'piid': 2}}, max_properties: 2/2
Got MiioException while fetching the state: No response from the device, mapping: {'alarm': {'siid': 5, 'piid': 1}, 'humidifier.water_status': {'siid': 2, 'piid': 102}, 'humidifier.tank_status': {'siid': 2, 'piid': 103}}, max_properties: 3/3
Got MiioException while fetching the state: Unable to discover the device 192.168.2.13, mapping: {'alarm': {'siid': 5, 'piid': 1}, 'humidifier.water_status': {'siid': 2, 'piid': 102}, 'humidifier.tank_status': {'siid': 2, 'piid': 103}}, max_properties: 3/3

Entity attributes / 实体属性

min_humidity: 40
max_humidity: 99
available_modes:
  - "Off"
  - Low
  - Medium
  - High
  - ConstHumidity
device_class: humidifier
friendly_name: Hum
supported_features: 1

Home Assistant Logs / 系统日志

/usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior Bool = partial(_str2bool)

Waiting on integrations to complete setup: {('xiaomi_miot', '17d36a5faxxxxxxxxxxe1xxxxx0a8'): 8xxxx7.28xxxx267}

ATTR_COLOR_TEMP was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'xiaomi_miot' custom integration

STATE_CLEANING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_DOCKED was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_RETURNING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_ERROR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'xiaomi_miot' custom integration

Setup of humidifier platform xiaomi_miot is taking over 10 seconds.

Got error when receiving: timed out

Got MiioException while fetching the state: No response from the device, mapping: {'indicator_light.on': {'siid': 4, 'piid': 1}, 'humidifier.on': {'siid': 2, 'piid': 1}, 'humidifier.target_humidity': {'siid': 2, 'piid': 101}, 'humidifier.fan_level': {'siid': 2, 'piid': 104}}, max_properties: 4/4
Got MiioException while fetching the state: No response from the device, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.temperature': {'siid': 3, 'piid': 2}}, max_properties: 2/2
Got MiioException while fetching the state: No response from the device, mapping: {'alarm': {'siid': 5, 'piid': 1}, 'humidifier.water_status': {'siid': 2, 'piid': 102}, 'humidifier.tank_status': {'siid': 2, 'piid': 103}}, max_properties: 3/3
Got MiioException while fetching the state: Unable to discover the device 192.168.2.13, mapping: {'alarm': {'siid': 5, 'piid': 1}, 'humidifier.water_status': {'siid': 2, 'piid': 102}, 'humidifier.tank_status': {'siid': 2, 'piid': 103}}, max_properties: 3/3

@al-one
Copy link
Owner

al-one commented Jan 11, 2025

Try master branch.

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants