StatusEffect for Bound label Binding
I have installed a normally open contact, water sensor in a drip pan above a drop ceiling in a tenants suite. We have had water leaking into there suite in the past. The water sensor is pulled to a controller on our network. My question is related to PX graphics, specifically Status effect for a bound label binding. I would like the background color to be green if the sensor is normal and the contact is open. I would like the background to go red if the contact closes and there is water detected. I have not been able to determine how to do this. I am using a Boolean Point with the facets being trueText=Water_Detected,falseText=Normal. As the attached pictures show, the 0 input (normal) has a null background the 1 input (water detected ) has a green background. What I would like is the 0 input (normal) to have a green background and the 1 input (water detected) to have a red background.
I have played around with the spectrum binding with no success. Is there a way to change the status effect to go red with an input of 1 (contact closure) and go green with an input of 0 (open contact)?
Much Thanks!
N.R.
“Automation may be a good thing, but don’t forget that it began with Frankenstein.” – Anonymous