Ive been working my items and rules on how to display if my garage is occupied or empty but I could not figure out.
Here is my sitemap:
Contact garage_car_present “Garage Car Present [MAP(car.map):%s]”
rule "Car Present"
Item garage_ultrasonic_dist received update
if (garage_ultrasonic_dist.state <24)
if (garage_ultrasonic_dist.state >30)
Thanks for your immediate response. I tried all but still no luck.
I can see the update in the ultrasonic sensor though.
I have PIR sensor and it shows the status if there are any movements. It does because the output produces either 1 or 0 while the ultrasonic sensor show variable outputs and in decimal number.
Are there any other way to show the status if the garage is empty or occupied using ultrasonic