r/TrySwitchBot • u/cricou • 10d ago
Need Hub Mini status using API
Hello,
I am developing autonomous weather stations (battery-powered, solar-powered, etc.) and I rely heavily on your products, including the Hub Mini, Outdoor Meter, webcams, and other devices.
I would like to know whether it is possible to remotely check if a Hub Mini is online or offline using the SwitchBot API ??
This feature would be extremely useful for remotely monitoring my weather stations and ensuring that they are operating correctly.
I am aware that the Android app can send me a notification saying "Device Offline" when the hub mini loses its connection. However, I really need to be able to retrieve this information remotely through the API, for example, using an ESP32 or a script.
Thank you very much for your help and support.
1
u/Switch-Bot SwitchBot employee 3d ago
Hey, Estelle from SwitchBot here. You can find your Hub Mini in the device list via the SwitchBot Open API, but you can’t yet check whether it’s online or offline. We’re aiming to add that in December, so keep an eye on the SwitchBot Open API docs for updates.