Alwas
February 16, 2023, 8:06am
13
Simon_Daniel:
I have numerous colors already. Green when my mail arrives, yellow when the outside is about 80f, Red alarm, purple smoke, blue freezing and a few others too.
As you mention I could and probably will just add a second routine for when the temp rises to 35 and have it just turn the light back to white, but I have not so far out of spite as ST routines should just have this as an option.
Actually yes you can do this today with Routines and it runs local. Like most solutions it seems, you would need a device developed by @Mariano_Colmenarejo , a Text Field device.
(New Release)Edge Driver Aplicaciones Virtuales Mc (virtual Switch Mirror, virtual Switch Board, Text and Number Fields):
Link to Version with Text Field and Number Field
Link to versión with Virtual Calendar
Link to version with device Timer Number of Days
Link to version with capability Local Week Day in Virtual Calendar
While we wait for the stock mirror routine to arrive.
This driver creates virtual devices to be able to automate state synchronization between a real device and this virtual mirror device, writing 2 routines instead of 4 routines without entering an infinite loop.
Install the driver on your Hub from the channel
In the App add a new device and Search nearby.
The “MAIN Virtual Mirror” device will appear on devices without an assigned room. It will indicat…
Simply put, when you have an alarm and turn a bulb red, also write “Red” in a Text Field. Then another Routine, when temp rises and Text Field is Red, set bulb to red. Or any other color, so your bulb always returns to the color notification you had before.
Unless of course you have a particular penchant for “writing raw JSON and posting it to the Rules API”… I mean who does?
2 Likes