question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Authentication failed" when connecting to wifi with Broadlink app (works on IHC)

See original GitHub issue

Hello,

I’m having trouble using broadlink-mqtt when I connect my broadlink to wifi via the “new” Broadlink App (https://play.google.com/store/apps/details?id=cn.com.broadlink.econtrol.international). After connecting to wifi with the app, when I start broadlink-mqtt i get the following error: (I masked the IP and MAC)

$ ./broadlink-mqtt/mqtt.py
[2020-06-30 10:19:29,407] DEBUG Connected to 'RM2' Broadlink device at '192.168.XXX.YYY' (MAC AA:BB:CC:DD:EE:FF) and started listening for commands at MQTT topic having prefix 'broadlink/RM2_DD_EE_FF/'
Traceback (most recent call last):
  File "/home/pi/broadlink-mqtt/mqtt.py", line 580, in <module>
    devices = get_device(cf)
  File "/home/pi/broadlink-mqtt/mqtt.py", line 363, in get_device
    device = configure_device(device, topic_prefix + mqtt_subprefix)
  File "/home/pi/broadlink-mqtt/mqtt.py", line 394, in configure_device
    device.auth()
  File "/home/pi/.local/lib/python3.7/site-packages/broadlink/__init__.py", line 225, in auth
    check_error(response[0x22:0x24])
  File "/home/pi/.local/lib/python3.7/site-packages/broadlink/exceptions.py", line 97, in check_error
    raise exception(error_code)
broadlink.exceptions.AuthenticationError: Authentication failed

(The error happens both on lookup or when I set the device_type, address and MAC on custom.conf).

But the weird thing is that when I connect the broadlink on wifi with the IHC App (https://play.google.com/store/apps/details?id=cn.com.broadlink.econtrol.plus) It works fine.

I made the test twice (connecting via broadlink app, getting the error, then resetting broadlink, connecting with IHC and working) and with 2 different broadlinks.

Right now it is working fine for me, so it’s ok if you guys close the issue. I don’t know if you are aware of this (or maybe it’s something wrong with my configurations). But i think it would help some people if this was stated on the README page until it gets fixed.

Thanks for your work on this project!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
VincentSCcommented, May 28, 2021

Just ping me here, if you want me to write texts or to reformulate some texts

0reactions
eschavacommented, May 28, 2021

@eschava Here’s some text you can use

Connect Broadlink device to wifi

Thanks a lot! Added these texts to the information page

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to connect to device (Broadlink RM Mini3) · Issue #23566
The RM Mini 3 works fine when I use the IHC app on my phone. I can ping the IP address fine on...
Read more >
3 Ways To Fix Broadlink RM Mini 3 Configuration Failed
1. Try Rebooting/Resetting Your Blackbean · 2. Remove DHCP IP Address Reservations · 3. Try Using an Older Version Of the IHC App....
Read more >
IHC App issue, Help please - Home Assistant Community
I just started having the same problem. App now asks 'select country', but any country selection gives a 'no permission' error. App version...
Read more >
RM Pro 3 not getting added to apps.
Since 3 days I am trying to add RM Pro to Econtrol and IHC app. RM pro gets added in Econtrol app but...
Read more >
Is Broadlink down for anybody else | Facebook
Is Broadlink down for anybody else? Cannot get the apps to respond: "Authentication failed. The device has been reset.".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found