by P. Andreas Schmidt, IVE
Version 4 (August 11, 2023)
Download (34 downloads)
Updates: thanks to Ricardo (always great suggestions):
-added public visibility
-rgb pack instead of hex: I thought that's how it ought to have been, but then the output wasn't in hex and I thought that was necessary... Just to show how little I know about this stuff 😅
-made the flow a little easier to understand as in the distribution of the blocks and adding a new variable instead of extra["temperature"]/10 everywhere.
-added also as a possibility a play sound block instead of the vibration for those whom prefer.
My adaptation of the developer's original flow here: https://llamalab.com/automate/community/flows/655
What's new is making use of the new notification options of the latest AM version to show the closest integer value temperature as icon, and the color of the notification reflecting the temperature (I used chatgpt to get the algorithm, it's cubic so: it will be close to blue up till 37° C and get red faster from there on). So more of an example fo the new notification features, actually.
It will also start vibrating sos pattern for 10 seconds if higher than 43°.
There's also an extra (unconnected) notification block for Fahrenheit.
---
ORIGINAL DESCRIPTION:
---
A simple example that use the Broadcast receive block to get the battery temperature, showing it in a notification.
The BATTERY_CHANGED broadcasts are sticky. The first receive block will proceed immediately since it has "use initial sticky" enabled, the second block will pause until the next broadcast.
5 stars | 1 | |
4 stars | 1 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.