W00D00 / home-assistant-elero

Elero Centero component
GNU General Public License v3.0
39 stars 10 forks source link

Updated Elero & HomeAssistant - AutoDiscovery not working? #13

Closed bitdeploy closed 4 years ago

bitdeploy commented 4 years ago

Hi,

I just upgraded to the latest version of HomeAssistant and you Elero component. According to the Readme I removed the transmitter_id and port entries and rebooted HA. Unfortunately I cannot find an entry for the stick in the log file and therefore no serial number.

2020-07-12 20:15:06 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for elero 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.
2020-07-12 20:15:06 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly 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.

HA is running inside docker, the /dev/ttyUSB permissions are:

mbr@server:~$ sudo docker exec -ti HomeAssistant /bin/sh
/config # ls -la /dev/ttyUSB0 
crw-rw-rw-    1 root     root      188,   0 Jul 12 20:15 /dev/ttyUSB0

regards, Michael

Upd 1 - lsusb

mbr@server:~$ lsusb 
|__usb1          1d6b:0002:0404 09  2.00  480MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
  |__1-3         0403:6001:0600 00  2.00   12MBit/s 64mA 1IF  (elero GmbH Transmitter Stick A601IUE3)
  |__1-4         f400:f400:0100 00  2.00  480MBit/s 200mA 1IF  (Synology DiskStation 650078DE8FE41673)
|__usb2          1d6b:0003:0404 09  3.00 5000MBit/s 0mA 1IF  (Linux 4.4.59+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub
bitdeploy commented 4 years ago

nvm - you are logging this message to the info log - I only had the default logger enabled.

W00D00 commented 4 years ago

Hi @bitdeploy,

Does this mean that everything is working for you?

Thanks, Istvan

bitdeploy commented 4 years ago

Hi Istvan,

yes - thanks. Everything is fine.

caco3 commented 3 years ago

Thanks for the hint about the log level. that was not obvious for me. I added a PR for this: https://github.com/W00D00/home-assistant-elero/pull/17