p912s
(Scot)
1
Hello all!
I have the following item:
Contact Hallway_Motion “Hallway [%s]” (Hallway, Motion){zwave=“3:0:command=sensor_binary,respond_to_basic=true”}
And in my sitemap:
Text item=Hallway_Motion icon=“present”
And it shows up like this:
For the hallway motion sensor I’d like it to say “Movement detected” or “All quiet” instead of reporting the state of the contact on the PIR.
How do I do that?
Thanks!
watou
(John Cocula)
2
Contact Hallway_Motion "Hallway [MAP(motion.map):%s]" (Hallway, Motion){zwave="3:0:command=sensor_binary,respond_to_basic=true"}
transform/motion.map:
CLOSED=All quiet
OPEN=Movement detected
p912s
(Scot)
3
Perfect; thanks!
I knew it had to be mappings or map, just couldn’t figure out where to put it to show for a text item…
Thanks again!
1 Like