artem-sedykh / mini-humidifier

Minimalistic humidifier card for Home Assistant Lovelace UI
MIT License
156 stars 26 forks source link

zhimi.humidifier.ca4 and xiaomi_miio_airpurifier syssi #50

Open AntoxaSa opened 3 years ago

AntoxaSa commented 3 years ago

how to set up correctly? services do not start, only some functions work

firemdkfighter commented 3 years ago

You are configure it:

- type: custom:mini-humidifier
    entity: fan.humidifier
    model: 'xiaomi_miio_airpurifier:zhimi.humidifier.ca4'
Zuz666 commented 3 years ago

@artem-sedykh Thanks for work! @firemdkfighter Thanks for guideline! But how to configure it with xiaomi_miio platform? This default config works fine for showing attributes not for control device (the service calls is different).

UPD: Never mind made a patch for it! :)

ravikwow commented 3 years ago

@firemdkfighter Thanks for guideline! But how to configure it with xiaomi_miio platform?

Xiaomi_miio integration not support water level for zhimi.humidifier.ca4 device. Xiaomi_miio_airpurifier work fine.

plyaskin commented 2 years ago

For model: 'xiaomi_miio_airpurifier:zhimi.humidifier.ca4' it doesn't work image type: custom:mini-humidifier entity: humidifier.zhimi_ca4_388d_humidifier model: xiaomi_miio_airpurifier:zhimi.humidifier.ca4

regevbr commented 2 years ago

For model: 'xiaomi_miio_airpurifier:zhimi.humidifier.ca4' it doesn't work image type: custom:mini-humidifier entity: humidifier.zhimi_ca4_388d_humidifier model: xiaomi_miio_airpurifier:zhimi.humidifier.ca4

Are you using the custom (https://github.com/syssi/xiaomi_airpurifier) or official integration? Can you share in which entity/attribute you can find yourself the missing information that you are not getting in the card?

plyaskin commented 2 years ago

Hi @regevbr, I use just this addon. Should I install something else?

I have them in the Objects section and them work with official Humidity card image

regevbr commented 2 years ago

Ok that menas you are using the official integration to connect to the humidifier, so you need to use zhimi.humidifier.ca4 model instead

regevbr commented 2 years ago

Actually sorry you are using an unsupported integration called MIoT. If you want to use this card you can either use the integration I mentioned or the official one that ships with HA, or write all the custom properties yourself (not using the model way) but it requires a lot of work and technical skills...

plyaskin commented 2 years ago

It's very strange because today I had an update for MIoT Auto image But I will try your recommendation, thank you!

regevbr commented 2 years ago

I meant that it is not supported out of the box by this card predefined models

plyaskin commented 2 years ago

Now it works, but the target humidity is not configurable. Any ideas? type: custom:mini-humidifier entity: humidifier.humidity model: zhimi.humidifier.ca4 image

regevbr commented 2 years ago

are you sure that the humidifier is on? Also you can only set the target humidity when the mode is auto (you are set on LOW)

plyaskin commented 2 years ago

are you sure that the humidifier is on? Also you can only set the target humidity when the mode is auto (you are set on LOW)

Yes, it's ON. "Low" it is the speed, and not the target humidity

regevbr commented 2 years ago

I didn't say it was... Think about it - if you want to see a target humidity, you must have the speed set to auto so it can adjust itself according to the humidity it tries to achieve. Can you try to change the speed to auto and see if the target humidity works?

plyaskin commented 2 years ago

Yes, it works with the AUTO mode. Thank you!