Skip to content

Conversation

@deviantintegral
Copy link
Contributor

Resolves #531 .

@KTibow
Copy link
Contributor

KTibow commented Mar 30, 2021

What about just adding a subheading to the readme?

@felipediel
Copy link
Collaborator

@deviantintegral Could we add more details, like the fw version?

@KTibow To keep things organized, we will put all the "gotchas" in this file. We can talk about how to handle exceptions like "AuthorizationError", "AuthenticationError", "StorageError" etc. The user must read this file before opening an issue.

@deviantintegral
Copy link
Contributor Author

I'm sorry, I didn't capture the firmware version prior to upgrading.

@felipediel
Copy link
Collaborator

What is the devtype and current fw version?

import broadlink as blk
d = blk.hello('192.168.0.16')  # Example IP address
d.auth()
print(hex(d.devtype))
print(d.get_fwversion())

@deviantintegral
Copy link
Contributor Author

Python 3.9.2 (default, Feb 24 2021, 13:26:09)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import broadlink as blk
>>> d = blk.hello('192.168.30.80')
>>> d.auth()
True
>>> print(hex(d.devtype))
0x6026
>>> print(d.get_fwversion())
52079
>>>

@felipediel felipediel merged commit 822b3c3 into mjg59:master Apr 12, 2021
@felipediel
Copy link
Collaborator

Thank you @deviantintegral!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RM4 Pro requires firmware update before accepting all WiFi passwords

3 participants