Description
This library communicates with SwitchBot's cloud service over HTTPS, using an account token and secret key obtained from the SwitchBot mobile app.
It can list devices associated with a SwitchBot account, query device status, and send commands to supported devices via the SwitchBot Cloud API. This covers a range of SwitchBot products that are managed through a SwitchBot hub, including plugs and switches, curtains and blinds, lights, locks, sensors, humidifiers, fans, vacuums, and thermostats.
Status reporting includes device-specific readings such as power measurements for some plugs and relay switches, temperature and humidity from meter devices, occupancy or contact states from sensors, and battery level where provided by the cloud API. Command support includes common actions such as turning devices on or off, setting positions for covers, adjusting brightness and colour for lights, locking and unlocking, changing modes, and starting or pausing cleaning on supported vacuums.
The library talks to SwitchBot's cloud endpoints rather than directly to local devices. For devices accessed through the cloud, reported state is limited to what the service provides, and some appliance types may expose only partial control or inferred state.
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/SeraphicCorp/py-switchbot-api
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…