Hey guys,
I’m trying to setup Hass.io with my Raspberry Pi 3 + the Broadlink RM Pro and want to start with turning on the lights.
I saw that I need to go to the Call Service and use a service called switch.broadlink_learn_command but unfortunately this doesn’t show up in the services. There is no single service mentioning the Broadlink.
My configuration.yaml contains this:
#Broadlink
switch:
platform: broadlink
view: yes
host: (put in the IP here)
mac: ‘(put in the MAC here)’
timeout: 15
friendly_name: “Broadlink”
(it’s a “-”, not a dot. The board makes it a dot automatically
I saved it, tried to restart Home Assistant and the Raspberry Pi, but nothing show up.
Reset it to a clean Snapshot and now I got this in the log:
Error while setting up platform broadlink
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/broadlink.py”, line 80, in setup_platform
config.get(CONF_MAC).encode().replace(b’:‘, b’'))
binascii.Error: Odd-length string