Broadlink RM-PRO and A1 sensor

Could you post the exact error message?

I’m running HA on windows and I’m facing the same problem after upgrade to 0.36.1

I don’t find any wheels folder in C:\Users\YOUR_WINDOWS_USER\AppData\Local\pip\cache\

please help me.

Hi, you need to replace “YOUR_WINDOWS_USER” in the path with your windows username. If you don’t know it, just go to C:\Users and see which one it is by looking at the folders.

EDIT:
I didn’t read your message correctly at first. I’m not sure why you can’t find a wheels folder. Maybe you looked in the wrong user? What is the error you are getting when running homeassistant?

yes i replaced that and searched could not find but problem is fixed now. i opened cmd installed pip install broadlink==0.3

then the problem was fixed.

this is the error
INFO:homeassistant.util.package:Attempting install of broadlink==0.3
Exception:
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/pip/commands/install.py”, line 423, in run
shutil.rmtree(target_item_dir)
File “/usr/lib/python3.4/shutil.py”, line 463, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File “/usr/lib/python3.4/shutil.py”, line 401, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File “/usr/lib/python3.4/shutil.py”, line 421, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File “/usr/lib/python3.4/shutil.py”, line 419, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: ‘SHA256.py’
ERROR:homeassistant.bootstrap:Not initializing sensor.broadlink because could not install dependency broadlink==0.3

I just do that but now it didn´t show anything, the last time this message also appear
“* sensor.broadlink Please check your config; title=Invalid config” im using the config like this
sensor 1:
platform: broadlink
name: “Memo”
update_interval: 60
host: 192.168.0.77
mac: “p4:43:0d:cd:j6:38”
monitored conditions:

  • temperature
  • humidity
  • air_quality
  • light
  • noise

Sorry I´m new with this of HASS

Have you tried hass --script check_config ?
And read this https://home-assistant.io/getting-started/troubleshooting-configuration

so there is no error but I cannot see anything, what do you think I´m doing wrong.
`17-01-28 11:39:09 INFO (MainThread) [homeassistant.loader] Loaded sensor.broadlink from homeassistant.components.sensor.broadlink
17-01-28 11:39:09 INFO (MainThread) [homeassistant.bootstrap] Setting up sensor´

do I have to do something else? no icons or something that tell me that I do it right.

So there is no error when you run hass --script check_config ?
And there is no error in the log when hass is running?
And none of the sensors are shown in when you open the frontend?

That’s correct!! at least I can’t see any error.

Strange, how is your config now?

maybe is not, but try to use ’ instead of "

My HASS is on a pi3 though

switch 2:
  platform: broadlink
  host: 192.168.1.90
  mac: 'b4:22:22:21:2a:10'
  switches:
    tv:
      command_on: 'JgCEAw4ODQ4ODg4ODg4OKw4ODg4ODg4ODg4NDg4ODg4ODg4rDg4ODg4ODg4ODg0ODg4ODg4ODiKw4ODg4ODg4ODg4ODg4ODg0ODg4ODg4OKw4ODg4ODg4ODg4ODQ4ODg4ODg4rOKw4ODg4ODg4ODg4ODQ8NDg4ODg4rDg4ODg4ODg4ODg4NDw0ODg4ODisOKw4qDisOKw4ODg4ODg4qDisOKw4rDioODg4rDgAJlHM4Dg4OKw4NDg4ODg4ODg4ODg4ODg4ODg4ODg4OKg4ODg4ODg4ODg4ODg4ODg4ODg4qDg4ODg4ODg4ODg4ODg4ODg4ODioOKw4rDisOKg4ODg4ODg4rDisOKg4rDisODg4qDgAJlHM4Dg4OKw4ODg4ODg4ODQ4ODg4ODg4ODg4ODg4OKw4ODg0PDQ4ODg4ODg4ODg4ODg4rDg4ODQ8NDg4ODg4ODg4ODg4ODisOKg4rDisOKw4NDw0ODg4rDisOKw4qDisODg4rDgANBQAAAAA='
      command_off: 'JgCEAw4ODg4ODg4NDw0OKw4ODg4ODg4ODg4ODg4ODg0PDQ4rDg4ODg4ODg4ODg4ODg4ODQ8qDisOKw4qDisOKw4ODg4OKg8qDisOKw4qDisODg4rDgAJk3Q4Dg4OKg4ODg4ODg4ODg4ODg4ODg4ODg4NDw0OKw4ODg4ODg4ODg4ODg4ODg0PDQ8qDg4ODg4ODg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this. I know that I´m doing something but don’t know what haha

Looks fine.
Can you see if you find your sensors here: YOUR_IP:8123/dev-state ?

yes sure, im also planning to reinstall is there any tutorial or something to uninstall all so I can do a clean install, I’m in a pi

I think you can go with hassbian image. bruh automation make good videos to start with HA - Link: Bruh Automation Tutorials

Just found out about HA a few days ago and the integration with the RM2 Pro and a multitude of other stuff I have been wanting in a centralised and connected service.

I extracted all my RF codes per the documentation from the e-broadlink app. I was having a few errors with the length must be a multiple of 16. Once i got past that hurdle I added all the switches to the configuration to start testing and developing my ha a little more.

However, i have a strange problem with a few codes that make the list of switches disappear completely from the HA page. I have included my switch config with the codes that exhibit the problem commented out.

As you can see, Bauhn’s 1 and 4 with both command on and off will make the list disappear. Bauhn 3 works without trouble and Bauhn’s 2 and 5(all) have a problem with just the command_on line. This occurred on both 36.1 and now 37.0.

Appreciate any advice to rectify the problem. Thanks.

switch:
  platform: broadlink
  host: 192.168.1.11
  mac: 'b4:43:0d:39:30:0c'
  switches:
    fan_lv_light:
      friendly_name: 'Fan - Living Room: Light'
      command_on: '6QAMASIQERAQEg8SDxMOEw4UDhMOEw4IGQkYCRgKFwoYChcKFwsWFgsLFgwVDRUMFQ0UDwgAAZALFwoXChgJGAoYCRgJGQkYCRgJGQkNFA0UDRQOFA0UDRUNFA0UGAoNFA0UDRUXChgJDRUAAYUMFQwVDBYLFgwWCxYLFgwWCxYLFgwLFgsWCxcLFgsWCxYMFgsWFgwLFgsWCxYXCxYLCxYAAYUNFA0UDRUMFQwWDBUMFQwWDBUMFQwLFwoXChcKFwsXChcKFwsXFQwLFgsXChcWCxYMChcAAYQNFA0UDRUMFQ0UDRUMFQwVDRUMFQwKGAoXChcKGAoXChcKGAoXFQwKFwsXChcVDBYMChcABdwAAAAAAAAAAAAAAAA='
      command_off: ''
    fan_lv_inc:
      friendly_name: 'Fan - Living Room: Increase Speed'
      command_on: '6QGEAw0VDQkYCRgKGBQNChcKGAkYChcKFwoYChcVDBYMFQwVDAABhA0UDhQNFA0UDRU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gw4UDRQNFA4UDRQNFA0VDRQNFA0VDQkYCRgKFxUNCRgKFwoYCRgKFwoXChgVDBUMFgwVDAAF3AAAAAA='
      command_off: ''
    fan_lv_dec:
      friendly_name: 'Fan - Living Room: Decrease Speed'
      command_on: '6QBCASQGGA4SEBERDxIPEhASDxIPEw4TDggZCRgJGAoXChgKFwoXChcLFwoXCxYLFhcKDRQAAYYLFgwWCxYLFwoXCxcKFwoXCxcKFwoYCQ0UDhQOEw4TDhQNFA4UDRQNFA4UDRQYCRkJDRQAAYYMFQwWCxYLFgwWCxYLFwsWCxYLFwsWCwsWDBYLFgsWDBYLFgwWCxYLFgwWCxYXChcLCxYAAYQNFQ0UDRUMFQwWDBUMFQwWDBUMFgsWDAoXCxYLFwoXCxYLFwoXCxYLFwoXCxYWDBYLCxcAAYQNFA0UDRUMFQ0UDRUMFQ0VDBUMFQ0VDAoXChgKFwoXChgKFwoXCxcKFwoXCxYWDBUMCxcAAYMOEw4UDRQNFQwVDRQNFQwVDRQNFQwVDQkYChcKFwoYChcKFwsXChcKFwsXChcVDBYMChcABdwAAAAAAAA='
      command_off: ''
    fan_lv_reverse:
      friendly_name: 'Fan - Living Room: Reverse'
      command_on: '6QAKAREREREPEg8SEBIOEw8TDhMOCBkJGAkYChgKFwoXChcWDAoXCxYLFxYLFgsWCxcLAAGFDBUMFQwWDBUMFgsWCxcLFgsXChcLCxYMFQ0UDhMOFA0UDhMZCQ0UDhQNFBgJGQkYCRgKAAGFDBYLFgwVDBYLFgsXCxYLFgwWCxYLDBYLFgsWDBYLFgsWDBYWCwsWDBYLFhcLFgsWCxcLAAGEDRQNFQwVDRUMFQwWDBUMFQwWDBUMCxYLFwoXChcLFwoXChcWDAoXCxYLFxYLFgwVDBYLAAGEDhQNFA0UDRUNFA0VDBUMFQ0VDBUNCRgKFwoYChcKFwoXCxcVDAoXCxcKFxYMFQwVDBYMAAXcAAAAAAAAAAAAAAAAAAA='
      command_off: ''
    fan_lv_off:
      friendly_name: 'Fan -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0UDRUMFQ0UDRUMFQ0UDQoXChgKFwoYCRgKFxUNChcKFwoYChcKFwsXChcKFwABhA4UDRQNFQ0UDRUMFQ0UDRUMFQ0UDQoXChgJGAoXChgKFxUMChgKFwoXCxcKFwoXCxcKFwAF3AAAAAA='
      command_off: ''
    watts1:
      friendly_name: 'Watts 1'
      command_on: '6QAGAQQEFRsOGA8bIQkfCQwdCx0fCh8JHwoKHwoeHgsKHx0LHQseCwkgHQsJIB0LHQwcDQciBgABPAkgCR8JIBwNHA0HIQciGw4aEBgQBSMFIxoPBSQZDxkQGQ8FIxoPBSMaDxoOGg8FIwYAATwJIAggCSAcDRwMCCEHIRwNHAwcDQchCCEcDAggHQwcDRwMCCEcDAghHAwcDRwMCCEHAAE8CR8KHwkfHQwdCwkgCSAcDB0MHAwJIAggHQwIIB0MHAwdDAggHQwIIB0LHQwdDAggCQABOwkfCh4KHx4LHQsJIAkfHgsdCx0MCR8JIB0LCSAdCx0MHQsJIB0MCCAdCx0MHQsJIAkABdwAAA=='
      command_off: '6Qs0AAsfCx8LHx8LHwsKIAofHwwfDB4MCiAKIB8LCiAfCx4MHgsKIB4MCiAKIB4MHgwKIAoAATsAAAAA'
    watts2:
      friendly_name: 'Watts 2'
      command_on: '6QBeASIHIQchCAwcDB0gCQsdHwoeCh8KCh8eCgofHQseCwkgCR8JAAE6Ch8KHwkfHgsdCwofCR8dDBwNHA0HIQghGw4GIhsPGRAYEAUjGRAFIxoPGQ8FIwYjBgABPAghCCAIIRwNGw0HIgchHA0bDRwMCCEIIRsNCCAcDRwNGw0IIRsNCCAcDRwNByEIIQcAATsKHwkfCh8dDB0LCSAJHx0MHQsdDAghCCAdCwkgHQwcDB0LCSAdCwkgHQsdDAghCCAJAAE6Ch8KHgofHgsdCwkfCh8dDB0LHQwJHwkgHQsJIB0LHQwdCwkgHQsJIB0LHQwJHwkgCQABOgoeCx4KHx4KHgsJHwofHgoeCx0MCR8JHx4LCSAdCx0LHgsJIB0LCSAdCx0MCR8JHwoAAToKHgseCh4fCh4LCR8KHx0MHQsdDAkfCR8eCwkfHgsdCx4LCR8eCwkfHgsdCwkgCR8JAAXcAAAAAAAAAAAAAA6QBeASIHIQchCAwcDB0gCQsdHwoeCh8KCh8eCgofHQseCwkgCR8JAAE6Ch8KHwkfHgsdCwofCR8dDBwNHA0HIQghGw4GIhsPGRAYEAUjGRAFIxoPGQ8FIwYjBgABPAghCCAIIRwNGw0HIgchHA0bDRwMCCEIIRsNCCAcDRwNGw0IIRsNCCAcDRwNByEIIQcAATsKHwkfCh8dDB0LCSAJHx0MHQsdDAghCCAdCwkgHQwcDB0LCSAdCwkgHQsdDAghCCAJAAE6Ch8KHgofHgsdCwkfCh8dDB0LHQwJHwkgHQsJIB0LHQwdCwkgHQsJIB0LHQwJHwkgCQABOgoeCx4KHx4KHgsJHwofHgoeCx0MCR8JHx4LCSAdCx0LHgsJIB0LCSAdCx0MCR8JHwoAAToKHgseCh4fCh4LCR8KHx0MHQsdDAkfCR8eCwkfHgsdCx4LCR8eCwkfHgsdCwkgCR8JAAXcAAAAAAAAAAAAAA'
      command_off: '6Qc0AB4MHQwJIAkgHgwJIB4MHgweDAkgHgwJIQkgHgwJIAkgCgABOwsfCx8LHx8LHgwKIAogHgwAAAAA'
    watts3:
      friendly_name: 'Watts 3'
      command_on: '6RI0AAsgHgsKIB4LHgweDAogHgwKIB0MCiAeDQogCgABOwsfCx8LHx8MHwsKIAogHgwfCx4MCiAAAAAA'
      command_off: '6Rg0AAogHgsKIAogCiAeCwogCgABOwsfCx8LHx8LHwwKHwsfHwseDB4LCh8KIB4LCiAeDB4LHgwAAAAA'
    wattsall:
      friendly_name: 'Watts All'
      command_on: '6SQ0AAwfCx8MHx8LHgwLHwogHwseDB8LCiALHx4MCx8eDB8MHgwKIR4MCiEeDAkhCiAfDAoAATsAAAAA'
      command_off: '6Q40AAsfCx4LHx8LHgsLHwofHwseCx4LCiAKHx4LCh8eDB4LHgwKIB4MCiAKIAogCiAeCwoAAToAAAAA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kYCRcJGBgICRcZCBkHGQgZCAkXCQABCAoWGgcKFwkXChYaBwoWGgcJFxoHCRcKFwkXChcZBxkIGQcKFwkXCRgJFxkICRcJFwoXGQcKFxkHGQgZBxkICRcJAAXcAAAAAAA'
      command_off: '6QCUAQwVDBQMFRwEDBUbBgsVGgcKFgsWChYLFRsGGgcZBwoXCRcKFxkHChcJFwoXCRcZCAkXGQgJFwkYCRcZCAgAAQkJGBgICRgIGAkYGAkHGRgJBxkXCgcaBhsGGgYbFQwVDBQMBRsFGwYaFgsGGgYbBhoGGhcKBhoXCgYaBxoGGhYKBwABCggZFwkIGQgYCBkXCQgZFwkIGBgJCBgIGQgYCBkYCBgJGAgIGQgYCBgZCAgZCBgIGAkYGAgIGRgICBkIGAgYGQgIAAEJChYZCAkXChcJFxkICRcZCAkXGQgJFwkYCRcJGBkHGQgYCAkYCRcJFxkICRcJGAkXCRgZBwkYGAgJGAkXCRcZCAkAAQgKFhoHChcJFwoWGgcJFxoHCRgYCAkXChcJFwoXGQcZCBkHCRgJFwkXGQgJFwoXCRcKFxkHChcZBwoXCRcJGBkHCQABCAoXGQcKFwoWChcZBwoXGQcKFxkHChcJFwoXCRcZCBkHGQgJFwkXChcZBwoXCRcKFwkXGQgJFxkICRcJFwoXGQcJAAXcAAAAAA=='

Check you logs after you have started HA.

I think this is the error it is throwing:

17-01-29 21:42:03 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Traceback (most recent call last):
  File "/home/ubuntu/ha/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/ubuntu/ha/lib/python3.5/site-packages/homeassistant/components/switch/broadlink.py", line 115, in setup_platform
    device_config.get(CONF_COMMAND_OFF)
  File "/home/ubuntu/ha/lib/python3.5/site-packages/homeassistant/components/switch/broadlink.py", line 141, in __init__
    self._command_on = b64decode(command_on) if command_on else None
  File "/home/ubuntu/ha/lib/python3.5/base64.py", line 88, in b64decode
    return binascii.a2b_base64(s)
binascii.Error: Incorrect padding