So I installed Assistant on my RPI and can successfully login.
I then edited the configuration.yaml file to include the language for RM Broadlink and amended the IP Address and MAC Address for my device.
Now I would like to control a Hunter Douglas Fan/Light that I can currently control using the e-control app on iOS.
How do I sniff the codes for on/off for the lights and fan?
I followed the instructions by going into Developer Tools to call for a service, selected Broadlink and ‘Call’ and then selected a command from e-control, but nothing after that…
When I make the call and turn on the light this is the log:
2017-07-13 00:50:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1023, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/broadlink.py", line 75, in _learn_command
auth = yield from hass.async_add_job(broadlink_device.auth)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/deps/broadlink/__init__.py", line 175, in auth
response = self.send_packet(0x65, payload)
File "/home/homeassistant/.homeassistant/deps/broadlink/__init__.py", line 217, in send_packet
packet[0x2f] = self.mac[5]
IndexError: index out of range