thank you, I can add the baseboard heater 1s (leshow.heater.bs1s) by this custom integration. Do you know how to add countdown time for the heater?
In the meanwhile, I moved to a different custom integration which has active development and better support for most device functionalities,
Give it a try, for instance the countdown time is exposed as a number entity in HA.
I recognize that there has been no activity in this thread since February 2022. Are all those users of this integration happy or is another integration being used in the meantime?
@pplucky suggested different custom integrations. But the Chinese characters seem a bit creepy to me.
Anyways… @sergio_pt Thanks for this integration! My zhimi.heater.zb1 works fine.
i use this integration since 2 years and it works very well with my xiaomi mi heater space s
hi @sergio_pt, this is my config:
climate:
- platform: miheater
host: 192.168.20.70
token: xxxx
name: xiaomi_heater
model: zhimi.heater.zb1a
I tried with .zb1
and .zb1a
, none works, the HACS integration appears like this:
I checked the config and rebooted HA, nothing appears in devices neither services, need to add something else?
Thanks
EDIT: I did not add the country, its in GE server, should I modify it? how?
Hi,
The integration you installed is not the one I have in the first link of this thread.
Mine does not show anything in the integrations because I didn’t know how to do it.
Can you follow the original instructions?
Hi,
I used this integration before and it was working fine. After a hardware crash I replaced my entire HomeAssistant and now I just can’t get it to work. I have installed it, the unit shows up, but everything is “Unavailble”.
This is found in the logs, and yes, the IP is correct, and it responds to ping from the HA machine.
Any idea?
Logger: custom_components.miheater.climate
Source: custom_components/miheater/climate.py:72
Integration: miheater (documentation)
First occurred: 21:16:40 (16 occurrences)
Last logged: 21:55:57
Fail to setup Xiaomi heater
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 72, in setup_platform
device_info = device.info()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 148, in info
return self._fetch_info()
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 192.168.87.176
Sorry, I really have no ideia. The only time I faced this error, was because miio coundn’t connect to the IP
Hi, im new to home assistant and i recently bought a mi heater 1s. im following your github steps but i dont know how to edit the configuration.yaml. I don’t know where’s the location besides being in a /config folder.
Managed to find it i think:
the host address is the heater address ip?
what about the token?
Can we use this:
How do you add a view to the dashboard?
Yes you can. I have used that one.
Hi Sergio, I get the following error after using your component from HACS when checking the configuration
Platform error 'climate' from integration 'miheater' - Requirements for miheater not found: ['construct==2.9.45', 'python-miio==0.5.4']
My configuration is the following, with the token removed for privacy.
climate:
- platform: miheater
host: 192.168.68.1
token: 2567151
name: xiaomi_heater
model: zhimi.heater.zb1
I have already reinstalled the entire add-on and tried the manual installation. Nothing seems to work! Thanks for the help in advance
Can you tell me which setup you run home assistant on?
Is it docker?
And which version of Home assistant, as well as version of the custom integration. Please