How to get a notification when battery level changed for a device.
With just 1 flow you can get a notification on your phone with info for when the battery status of a device is changed and came below a certain percentage. This way you can act fast and change the battery of that device.
What to use
- Homey with the 2.0.x firmware installed.
- One or more battery powered devices.
Start making the flow.
First we make the trigger part:
We click “Devices” and select “A sensor’s value changed”.
At “Sensor type” we choose “Battery”.
Your WHEN part of the flow should look like this:
The WHEN part of the flow is done.
Then we make the AND part:
For the condition part we choose “Logic”. In this example i used the normal, build-in logic card.
After that we select the option with a tag in it and “is less than”.
After that you click the tag and select the “Value” tag at the top under local tags.
After that you click on the empty line below the logic you just created and set a value there. In this case i used 20. So, when battery level comes below 20 it will fire the flow. You can set it at any level you prefer ofcourse.
The AND part of your flow should look like this:
At this point the AND part is also done.
Now we make the THEN part:
After adding a card in the THEN part we choose “Mobile” and after that we choose “Send a push notification”.
Then we have to pick a user ofcourse. And then, in the “Your message” line you can type something like: The battery level of (Now click the tag on the right side of the very same line you are typing in, select the “Name” tag on the top under Local Tags) is below 20%. Don’t forget to hit the save icon on the top ofcourse.
Your THEN part should look like this:
There you go, all done.
It is also possible to receive a notification from 1 specific device ofcourse. All you have to do for that is add a condition card (in the AND colom) with “logic” and choose the top line with the tag and “is exactly”. After that click on the empty tag and pick “Name” on the top under Local tags.
Your condition card now should look like this:
In this case, when you have multiple battery powered devices, you will have to make a flow for each device ofcourse.