SWitchbot plug mini with raspberry pi

I'm trying to retrive switchbot plug mini BLE packets to my raspberry pi zero device. I used bluepy python library to scan the device and was able to get BLE packets from swithbot plug mini device.

But I couldn't find enough information on how to decode the recived data packet. Please tell me how to find those information.

Is it possible to find the power consumption of the pluged device to swithbot plug mini ?
If yes, which data bytes of the BLE packet reperesent those information ?

I have add a sample BLE pakcets recived from the switchbot plug mini in logs

Here are some of the BLE pakcets I recived 

690934b4720e18720180000000cc
690934b4720e1872018000000095
690934b4720e18720180000000a5
690934b4720e18720180000000a5
690934b4720e187201800000008d
690934b4720e18720180000000a8
690934b4720e18720180000000a8
0

Commentaires

1 commentaire
  • Hello, thank you for reaching out.

    Unfortunately, any issues relating to openAPI can not be dealt with by our customer support team here. However, our developer team has instructed us to re-direct any issues relating to openAPI to be submitted via GitHub. We would be grateful if you'd take the time to submit your issue via GitHub so that someone can deal with your request. You'll find the submission link below:

    https://github.com/OpenWonderLabs/SwitchBotAPI/issues

    If you have already sent a request, please be aware that our developers will answer your queries accordingly.
    Any updates or fixes regarding openAPI will be published by our developers.

    Best regards,

    SwitchBot Team

    0

Vous devez vous connecter pour laisser un commentaire.

Ce n’est pas ce que vous cherchez ?

Nouvelle publication