Skip to content

Authentication Error With New RM4 Mini #824

Open

Description

@bytos

After using direct discovery with a new RM4 Mini, can't authenticate with the "auth()" method:

Traceback (most recent call last):
File "", line 1, in
File "..\Lib\site-packages\broadlink\device.py", line 185, in auth
e.check_error(response[0x22:0x24])
File "..\Lib\site-packages\broadlink\exceptions.py", line 152, in check_error
raise exception(error_code)
broadlink.exceptions.AuthenticationError: [Errno -1] Authentication failed

Activity

  1. smithlevenson commented on Mar 31, 2025

    @smithlevenson

    I am getting the same error on a RM4 Pro after it is discovered:

    [broadlink.remote.rm4pro(('192.168.1.XX', 80), mac=b'\xe8pr\x9e\xadz', devtype=21003, timeout=10, name='', model='RM4 pro', manufacturer='Broadlink', is_locked=True)]

  2. bytos commented on Mar 31, 2025

    @bytos
    Author

    At first, the problem was the AP not allowing the remote to connect, once fixed, couldn't get auth() to work and the app never finished the setup with the 3rd step giving an error.

    Tried to setup with the app several times without apparent success, but the auth() method is working now.

    I think I used the app years ago with the same model to unlock it, maybe it was unlocked while trying to setup with the app, even though it always gave that error.

  3. smithlevenson commented on Mar 31, 2025

    @smithlevenson

    So does the device need to be unlocked in order for .Auth() to work?

    At first, the problem was the AP not allowing the remote to connect, once fixed, couldn't get auth() to work and the app never finished the setup with the 3rd step giving an error.

    Tried to setup with the app several times without apparent success, but the auth() method is working now.

    I think I used the app years ago with the same model to unlock it, maybe it was unlocked while trying to setup with the app, even though it always gave that error.

  4. bytos commented on Apr 1, 2025

    @bytos
    Author

    When using setup(), I must use ip_address="192.168.0.255" according to the instructions in the Github main page.

    Broadlink device unlock #449
    #449

    broadlink.setup fails because broadcasting the data fails #618
    #618

    Broadlink RM4 Pro wifi setup without using the App?
    https://www.reddit.com/r/homeassistant/comments/16wh0tt/broadlink_rm4_pro_wifi_setup_without_using_the_app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions