Repository navigation
Releases: josefsch15/switchbot
Release list
SwitchBot SNAPSHOT API v1.0
New v4.1.0 package based on the fork from alamers/openhab-addons. This version is based on the legacy SwitchBot API v1.0.
SwitchBot SNAPSHOT API v1.1
New package based on the fork from alamers/openhab-addons. This version is using the new SwitchBot API v1.1.
Authentication
Note: You must update the app to the latest version, V6.14 or later, in order to get the secret key.
In SwitchBot API v1.1, the authentication method has been improved. In order to gain access to private data through the API, you must generate a unique signature using a token and a secret key. When you make a request, the Authorization token and signature will be validated simultaneously.
You as a developer will then be able to add, delete, edit, and look up your data including profile data and data associated with the devices that have been added to your SwitchBot account.
The SwitchBot API v1.1 is offering some additional channels.
To continue to use SwitchBot API v1.0, refer to the legacy document.
Tested devices
- SwitchBot Hub Mini
- SwitchBot Bot 50
Attention
Unfortunately, I own the SwitchBot Hub Mini and the SwitchBot Bot 50 only. Therefore, my own testing capabilities are more than limited. You might use the new jar file by your own risk.
Any further testing of the new jar file for additonal SwitchBot devises (e.g. Color Bulb, Contact Sensor, Curtain, Hub, Humidifier, Meter, Motion Sensor, etc.) incl. a short feedback would be highly appreciated.