Page 1 of 1

Checking Weathersnoop based on a condition using "contains"

PostPosted: Wed Jan 17, 2018 6:18 pm
by alawiscious
Hi Folks,
I have icemelters under our walkway at home and I'm trying to turn them on and off based on Weathersnoop info.
I have a device that is Type: Weathersnoop and Model Weathersnoop 3 Agent. When I look at the device list the 'state' of this device reflects the weather correctly.
I run a scheduled event every 15 minutes to check the WeatherSnoop Agent that changes variable "Gonna Snow" to True if:

"Any" "of the following rules are true"
"If device" "Weather forecast" "Weather" "contains" "snow"
"If device" "Weather forecast" "Weather" "contains" "ice"
"If device" "Weather forecast" "Weather" "contains" "freez"

The thing is that when that runs it changes "Gonna Snow" to True regardless of what the forecast actually is - for example the Device State is "Clear" but if I run that event it changes the variable from false to true

As a result the melters run all the time ....any thoughts would be appreciated.

Al

Re: Checking Weathersnoop based on a condition using "contai

PostPosted: Sat Jan 20, 2018 2:40 pm
by Colorado4Wheeler
First, can you post a screenshot of your UI so we can see exactly what you have there? That would help me understand better why it may or may not be happening.

Second, you can try my Super Conditions to see if it does a better job for you, it can handle what you are asking (screenshot is of one I just did).

Re: Checking Weathersnoop based on a condition using "contai

PostPosted: Mon Jan 22, 2018 11:05 am
by jay (support)
If you are testing the trigger by clicking on the "Execute Actions Now" button then that won't test your conditions - it will just execute the actions without evaluating the conditions.