I want to trigger a "warning" light by http request when there is an error status. this works for "mirroring" the state of one sensor: When the error state appears, I notify a smart lightswitch per HTTP request, a light goes on. If the sensor leaves error state, I trigger another http request, and the light goes off. All good for one sensor.
But how do I do this when I want to signal that in a group of sensors none is in error state? If e.g. I trigger the off state of the light on resolving one sensor error, there might still be another, unrelated one that should keep the light on.
Is there some sort of notify on "one of a group of sensors has an alert, notify" and "the last error in the group was resolved, notify"?
Add comment