I have Raspberry pi 3 configure with broadlink RM Pro (Hub). I installed broadlink TC2 switch panel to control my light and fan but i cant seems to get the on/off command from broadlink “learn_command”. I get this error below:
17-01-03 19:41:20 homeassistant.components.switch.broadlink: Did not received any signal.
17-01-03 22:48:28 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 1049, 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 89, in _learn_command
check_data)
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 440, in check_data
response = self.send_packet(0x6a, packet)
File “/home/homeassistant/.homeassistant/deps/broadlink/init.py”, line 250, in send_packet
response = self.cs.recvfrom(1024)
socket.timeout: timed out
with the RMPRO it can learn both IR and RF. Some patience is needed though: many times it does not get teh code or is wrong, I don’t know why this intermittent behaviour
Oh… My IR were stable which learning command could managed to capture IR code but not in RF.
I’m happy enough that there’s a lot of people who are willing to help one of those will be Daniel.
Hoping to get TC2 working. TC2 with Alexa voice command it working fine.
is TC2 has WIFI built it? i thought TC2 is using RF for control. anyone has TC2 and e-control app can confirm if the switch state is feedback to the e-control if we on/off the TC2 switch manually?
Ahh yes. Try also the RM Tasker program. Very cool, I stopped using it because it all works with HASS now (for RMPRO), alhough will use again for the TC2 (ordered them), until they are also supported natively by HA