Changing a dashboard tile based on numerous sensor states

Sorry if this has been covered elsewhere. I've looked but haven't been able to find an answer.

I have a wall kiosk that has multiple pages. A main page and then detail pages for things like Lights, Outlets, Sensors. I can't put all the sensors on the main page but I do want one tile there that will turn red based on the condition of N number of sensors (using OR mostly, not AND). I'm not sure the best way to do this. I'm considering creating a virtual device and then writing a massive rule that runs on a clock tick to evaluate state. Frankly, that sounds messy so I'm wondering if there's a better way or if I'm missing something obvious. Ideally, when I click on the red "sensor alert" it'll display the sensor page, but that's a nice to have.

Thanks

If you go the virtal device route it might be easier if you can create a trigger event with each of the sensors included. It will prevent you from having to run a rule on scheduled basis. For instance, if your trigger is a bunch of contact sensors, your trigger could be:

Door sensor 1, Door sensor 2, Door Sensor 3 ANY CHANGED

And then simple conditional check to see if any are open could change the state of a virtual contact sensor. That contact sensor would then indicate either all doors are closed or at least one door is open.

2 Likes

Thanks, I think that'll work.