Broadlink not working since 0.64

Since I upgraded to 0.64, I have my broadlink switches aren’t displayed anymore and I have 3 error messages :

Timer got out of sync. Resetting
21:48 core.py (ERROR)

Error while setting up platform broadlink
21:46 components/switch/broadlink.py (ERROR)

Module name: "<function string at 0x758c5738>" not found
21:46 components/sensor/netatmo.py (ERROR) 

What can I do to troubleshoot ?

Thank-you

Its a known error, apparently fixed in 0.64.1, though ive not tested it yet. Holding off for now :slight_smile:

Try 0.64.1, or rollback to 0.63.3

I rolled back to 0.63.3 :wink:

Does anyone know what is the ETA for 0.64.1?

It’s been released just takes a few hours for Hass.io users to get the update… Can be up to 48hours but normally within 24

3 Likes

Not working for me too. Will wait for 0.64.1

I’ve just tried 0.64.1 and still getting issues:

6:41 pm core.py (ERROR)
Unable to prepare setup for platform media_player.broadlink: Could not install all requirements.
6:41 pm setup.py (ERROR)
Not initializing media_player.broadlink because could not install requirement broadlink==0.5
6:41 pm requirements.py (ERROR)
Unable to install package broadlink==0.5: Could not find a version that satisfies the requirement pycrypto==1000000000.0.0 (from -c /usr/lib/python3.6/site-packages/homeassistant/package_constraints.txt (line 20)) (from versions: 2.0.1, 2.1.0, 2.2, 2.3, 2.4, 2.4.1, 2.5, 2.6, 2.6.1) No matching distribution found for pycrypto==1000000000.0.0 (from -c /usr/lib/python3.6/site-packages/homeassistant/package_constraints.txt (line 20))
6:41 pm util/package.py (ERROR)
Unable to prepare setup for platform climate.broadlink: Could not install all requirements.
6:40 pm setup.py (ERROR)
Not initializing climate.broadlink because could not install requirement broadlink==0.5
6:40 pm requirements.py (ERROR)
Unable to install package broadlink==0.5: Could not find a version that satisfies the requirement pycrypto==1000000000.0.0 (from -c /usr/lib/python3.6/site-packages/homeassistant/package_constraints.txt (line 20)) (from versions: 2.0.1, 2.1.0, 2.2, 2.3, 2.4, 2.4.1, 2.5, 2.6, 2.6.1) No matching distribution found for pycrypto==1000000000.0.0 (from -c /usr/lib/python3.6/site-packages/homeassistant/package_constraints.txt (line 20))
6:40 pm util/package.py (ERROR)```

Got it working here…
keep in mind I am on Docker :

docker exec -i -t home-assistant /bin/bash

and then:

pip3 uninstall pycrypto
pip3 uninstall pycryptodome
pip3 install pycryptodome 

then I had to edit the MAC adres in the switch.yaml ( here its in secrets.yaml) There I had to remove the ‘:’ in teh macaddress so now the mac address reads : xxxxxxxx instead of xx:xx:xx:xx

Actually, I managed to get it working with the components I’m using by altering the broadlink==0.5 to become broadlink==0.5.1 as per the component in 0.64.1. :slight_smile:

1 Like

I am using hassio. How do i upgrade to 0.64.1 or downgrade to 0.63?

Don’t see anything in the release notes regarding Broadlink?

Not ovbious, but its in this pull request, a few layers deep.

Don’t allow to use a old unsecure library (@pvizeli - #12715)

1 Like

Thanks, updated and all good.

So, did this fix make it into .64.1?

Yes, if u have broadlink switches the dependancy has been resolved. Some users are still reporting climate broadlink issues but they need to create an issue on github.

1 Like

My Broadlink Mini 3 is working fine in 64.1

Yep, mine all good.

Thanks guys! Upgraded to .64.1 and it is still working. I don’t know what I would have done if I had to press a button to turn on and off the tv now. THE HORROR!!!

1 Like

Ha ha ha… That would have been a blast from past!!!

1 Like

How do I do this? How can I alter the broadlink 0.5 to 0.5.1? I am running Hass as a Docker in QNAP Container Station.