by Miguel Fr
Version 1 (November 17, 2024)
Download (64 downloads)
This flow is a continuous loop that checks the battery level of your device. Once a certain low battery level is reached it triggers a SmartThings scene (to turn on a smart plug for example) by sending an HTTP request. You only need to set your API token and scene-id in the variables. I tried to make the loop battery-friendly, since it is always running.
If the device is not being charged and it has a high battery level, it waits until the low battery level is reached to execute the scene. Otherwise, if it has low battery and is not already charging, it will try to execute the scene repeatedly.
I recommend adding some type of verification that you are at home, otherwise this will always run even when not using the smart plug
5 stars | 1 | |
4 stars | 0 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.