syssi / xiaomi_airpurifier

Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Apache License 2.0
449 stars 110 forks source link

Unsupported device found: deerma.humidifier.jsq5 #303

Closed josephfh closed 1 month ago

josephfh commented 2 years ago

deerma.humidifier.jsq5

wilotas commented 2 years ago

Same here. New Air Humidifier 2.

wilotas commented 2 years ago

Going over documentation...this model should be recognized because it is supported under specs, isn´t it?

syssi commented 2 years ago

There is some confusion because this custom component supports some more devices compared to the official xiaomi_miio component. The HA core doesn't support the jsq5. This component does support the jsq5.

steveof2620 commented 2 years ago

Same issue here. Here is my configuration:

`climate:
  - platform: xiaomi_miio_airpurifier
    name: Xiaomi Dehumidifier
    host: 192.168.1.72
    token: !secret xiaomi_humidifier_token
#   model: deerma.humidifier.jsq5`

Model line commented out due to check config error: Invalid config for [climate.xiaomi_miio_airpurifier]: value must be one of ['nwt.derh.wdh318efw1'] for dictionary value @ data['model']. Got 'deerma.humidifier.jsq5'. (See ?, line ?).

I changed the configuaration entry from "climate" to "fan" and now it seems to be working:

fan:
  - platform: xiaomi_miio_airpurifier
    name: Xiaomi Dehumidifier
    host: 192.168.1.72
    token: !secret xiaomi_humidifier_token
    model: deerma.humidifier.jsq5
elminos commented 1 year ago

deerma.humidifier.jsq5

Same here! I'll try the "fan" workaround.

foreignmeloman commented 1 year ago

@steveof2620 Thanks for the tip, changing the entry to fan did help and the humidifier appeared in the dashboard, but for some reason there are only two types of controls: on/off switch and mode selector: image I know from the Mi Home app you can control the Buzzer, Target humidity and Led settings, but here they only appear as attributes. How can I add the missing controls?

steveof2620 commented 1 year ago

You will most likely need to add those via template sensors referencing the device attributes. Instructions are in the documentation.

https://github.com/syssi/xiaomi_airpurifier

syssi commented 1 month ago

Please try this custom component using HACS. The model is supported here. It's just not supported of the official HA core component.