The rule makes no sense. PIR is a Contact which is fine. Your rule triggers when PIR changes to OPEN which is fine. But you then try to postUodate ON to PIR?
What are you trying to accomplish with this rule? A Contact can only be OPEN or CLOSED.
i was probing because i don’t know how can i make that PIR show me a message (text) in real time trough the app when detect something. it´s similar when you check the temperature in openhab. state of the motion sensor. thanks for help me
thank you Rich, your information has been very useful, i have been checking wikis but is not easy for me because my native language is Spanish. I’m Colombian. just I’m learning English.