Skip to content

Manually writing the passcode into the array #145

@BjoeHrn

Description

@BjoeHrn

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.

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