Not really sure, but domain is climate.
Hi Sergio!
If I use the platform ‘miheater’ I can’t ‘Check Configuration’, but if I use other one (mqtt for example) the buttom work perfectly:
The point is I can’t foun the item either.
¿any idea?
Thanks!
Hola!
Can you clarify what is the error you are facing?
Me configurations is as follows:
climate:
- platform: miheater
host: 192.168.1.131
token: XXXXXXXXXXXXXXXXXXXXXXXX
name: xiaomi_heater
model: zhimi.heater.mc2
And the "check configuration is working fine:
Hi Sergio!
There is no error, in fact. When the button is pushed, the page is always loading, as you can see:
So, shall I configure anything else?
Hi Antonio,
To be honest, I don’t know what might be happening.
That is a simple check of the files… and I never came across that problem.
Does it get stuck, or just takes a long time?
Was the integrations installed through HACS?
It’s always loading and I can’t find the new entity.
I have a docker image, and I have just inserted other entity, a vaccum, with a very similar process… and it’s working fine.
I think that HA can’t find the platform, but, as you can see in a previous image… miheater is in the folder config/custom_components/
Hello.
To get mine to work properly, I had to do the following:
- Install the custom component via HACs and restart HA right after (without changing anything in configuration);
- Change the configuration, as per @sergio_pt above and then you can check the config and if all is OK, restart HA and you should be good to go.
I tried doing 1 and 2 before doing the first restart and I always had a config check error avoiding me from restarting HA.
Hope this helps.
Im trying all night to add my zhimi.heater.zb1 but i cant seem to get it up and running… I tried different custom components and also some chinese HACS integration which was the only one when searching for heater. So i dont really understand how to find this integration in HACS. it just doesnt show up for me.
But after all night of retrying i now have the message:
Logger: custom_components.miheater.climate
Source: custom_components/miheater/climate.py:76
Integration: miheater (documentation)
First occurred: 20:56:46 (1 occurrences)
Last logged: 20:56:46
zhimi.heater.zb1 2.0.8 esp32 detected
in the log. So for some reason it is found by HA but i dont get any entities or devices in the list. So im not sure what im doing wrong… can you please advise?
Ok this is really strange. the integration takes 15 minutes or so to find the device i guess… i now have the heater in the list.
Hi,
I’m happy in the end it’s working. I don’t have that device, so I can’t really test for myself.
However, no one reported any delay on the integration and mine is pretty instant.
It indeed is instant and all automations work perfect. The delay was in the first setup. It seems like the device first show up in ha takes some time after reboot. 10 minutes or so.
Can someone confirm that this custom component uses almost 30% CPU? Ever since i installed this component i get a CPU load of about 70%. while before it was only 40%
Hi,
I dont have that behaviour.
But I’ll let others comment.
just rebooted my whole system. it loads normally without normal CPU And the xiaomi heater isnt found. like before after a restart it takes some time to come online. As soon as the heater comes online the CPU is back between 60 / 90% load. its strange that you dont see this behaviour
maybe its coincidence and its something else.
Hi,
I’m quite new in hassio, I’ve installed miheater in hacs. What’s the next step, should my heater appear automaticaly?
Hi,
Please follow the instructions in https://github.com/ee02217/homeassistant-mi-heater
You need to add this to your configuration.yaml
climate:
- platform: miheater
host: <your device ip address>
token: <your device miio token>
name: xiaomi_heater
model: zhimi.heater.mc2 (optional: zhimi.heater.mc2 | zhimi.heater.zb1 | zhimi.heater.za2)
Obrigado!
It works.
I understood that step for manually installation only.
Good job!
Thanks you!
for complete happiness, there is not enough support for the switches:
Led
Buzzer
Child lock
True
This was supposed to be a temporary solution until someone included this support into the xiaomi official component in Home Assistant.
If someone wants to add those switches to the code, its open
I have a Xiaomi Smartmi Heater 1S and from what I can read in the thread it’s the model with name zhimi.heater.zb1 which seems to work. What I wonder though is are you not using a Xiaomi bridge to get it to work with HA? If so, which one do you recommend?