🤖 SwitchBot
Rust client for controlling SwitchBot devices.
🛠️ Basic Usage
Set SWITCHBOT_TOKEN to your API token, then:
let switchbot = new_from_env?;
for d in switchbot.get_devices.await?
See examples and docs for more.
📟 Supported Devices
| Device | 🌡️ | 💦 | 🔋 |
|---|---|---|---|
| Hub 2 | ✅ | ✅ | - |
| Indoor/Outdoor Thermo-Hygrometer | ✅ | ✅ | ✅ |
📖 Supported APIs
| API | 🌡️ | 💦 | 🔋 |
|---|---|---|---|
| Temperature | ✅ | - | - |
| Humidity | - | ✅ | - |
| Battery | - | - | ✅ |
| Climate | ✅ | ✅ | - |
❤️ Contributing
Pull requests for new device types or anything else are welcome!