Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually writing the passcode into the array #145

Open
BjoeHrn opened this issue Dec 9, 2024 · 0 comments
Open

Manually writing the passcode into the array #145

BjoeHrn opened this issue Dec 9, 2024 · 0 comments

Comments

@BjoeHrn
Copy link

BjoeHrn commented Dec 9, 2024

Hello,

Is there a way to manually fill the array for the bot, including the passcode?

I would like to control the SwitchBot Bot through another smart home hub.

I’ve already found out that the password is encrypted using CRC32. But how do I split it into the 4 values?

Let’s assume the password is “1234”. With CRC32, it would look like this: “9be3e0a3”.

How can I put this into the array?

bArrayPressPass[] = {0x57, 0x11, NULL, NULL, NULL, NULL};

I know this question is only indirectly related to the project – but I would really appreciate your help!

Thank you very much in advance.

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

No branches or pull requests

1 participant