Homey’s random mood status indicator for mobile app
Inspired by this idea by Arie, I extended it a bit, and it became
You could f.i. use this as “who feeds the cat” indicator, by replacing the moods with names, and run the flow every x hours.
.
- This is the device setting, I used the tag option This is needed to be able to display the moods (text / string value) as Status indicator:
- In App config, I copied the 'random' function from Arie:
- Code for copy/paste:
function (arr) {
return arr[Math.floor(Math.random () * Math.floor(arr.length))]
}
- Flow:
- The tag is from "Textfield 1" and can be found with the devicename in Logics:
- Device tile:
.
.
.
OK, here's the cat thing:
- Flow:
- Device tile:
.