Thank you, now I understand better.
This is my rule that I created, based on the JSONPATH approach. Which shows DETECT in the Basic UI and removes the value after 5 seconds. This JASONPATH syntax example. I got from here.
rule "esp8285 Sensor Processing"
when
Item esp_8285_PIR_1 received update // Need received update if Data has not change but button still pressed
then
if (esp_8285_PIR_1.state == "EC4B2E")
{
my_Display.postUpdate("DETECT")
Thread::sleep(5000)
my_Display.postUpdate("")
}
end
Which required me to have an additional item to display in the BasicUI
String my_Display "[%s]" <motion> (Test_Group)
With your approach, I take it that I don’t need this place holder item, which I called my_Display. I can do everything directly to esp_8285_PIR_1. Thank you for showing me another way of doing it. I have not considered and understood the full context until you spoon fed me. ![]()
Now it makes sense. Much appreciated.