[SOLVED] [OPEN/CLOSED] to other status

I’m using PIR Sensor to detect motion. It’s simply connected to GPIO pin.
I created item:

Contact PirSensor "Czujnik ruchu [%s]" <camera> {gpio="pin:23 activelow:yes"} 

and sitemap:

Text item=PirSensor

and it looks as follow:

Is there any way to change OPEN/CLOSED status to DETECTED MOTION/NOT DETECTED. Or some green/red LEDs?

Look for mappings

1 Like

To change OPEN/CLOSED to another text, you can use the MAP Transformation service. For using dynamic icons you can look here

1 Like