OpenWonderLabs / python-host

The python code running on Raspberry Pi or other Linux based boards to control SwitchBot.
Apache License 2.0
379 stars 84 forks source link

Add curtain info output #21

Open stich86 opened 3 years ago

stich86 commented 3 years ago

Hi,

do you thin that is possible to add curtain info to the script? I mean a command that passing the mac-address output something like this:

{ "id": "ec58c5d00111", "address": "ec:58:c5:d0:01:11", "rssi": -39, "serviceData": { "model": "c", "modelName": "WoCurtain", "calibration": true, "battery": 91, "position": 1, "lightLevel": 1 } }

This was already supported on this project, but i want avoid to use node

thanks

SwitchBot-Wonderlabs commented 3 years ago

Will release openapi to the wiki.