DoHome icon indicating copy to clipboard operation
DoHome copied to clipboard

can't discovery temp/humi sersor

Open henrykey opened this issue 4 years ago • 1 comments

Hi, everything looks fine but can't discover the temperature/humidity sensor. hass has found the component of dohome indicating from log message.

You are using a custom integration for dohomeswitch which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
8:32:01 PM – loader.py (WARNING) - message first occurred at 8:32:00 PM and shows up 4 times
Light is deprecated, modify DoHomeLight to extend LightEntity
8:32:00 PM – Light (WARNING)
SwitchDevice is deprecated, modify DoHomeSwitch to extend SwitchEntity
8:32:00 PM – Switch (WARNING)

and added code in configure.yaml as following:

dohome:
  discovery_ip: '192.168.23.255'   
  discovery_retry: 3

but nothing in entities or devices, what wrong with it? or i missed somthing? thanks

PS. for more info hassio 5.9 in rasberrypi. the temp/humi sensor works well with homekit and I tried both with or without homeit, got the same result of discovering nothing.

henrykey avatar Jan 14 '21 12:01 henrykey

You can try the latest version https://github.com/SmartArduino/DoHome/tree/master/DoHome_HassAssistant_Component

And if that doesn't work, you can open log custom_components/dohome/init.py

_LOGGER = logging.getLogger(__name__)
_LOGGER.setLevel('DEBUG')

HoGC avatar Jun 18 '21 02:06 HoGC