This object is in archive! 
Wind speed in virtual weather station
Need Answer
Dear all
I am trying to set up a rule which will open all my Somfy blinds in case the wind gets to heavy. I use the virtual weather station, which can display wind speed.
But: The rule does not work as intended. The setup is the following:
When OneDayForecastZurich WindSpeedkmph > Variable 75
Then do something and send a message
However, I get the message not at wind speed 75 or greater but at almost any wind speed. Tried to change the variable to 200, same problem.
What would be the correct way to set up the rule?
No connection
Real-time notifications may not work
Better to post a screenshot so people can see exactly what your rule looks like.
Better to post a screenshot so people can see exactly what your rule looks like.
Here it is. Currently, I only have a notification in there because the blinds don't work.
Here it is. Currently, I only have a notification in there because the blinds don't work.
Do you use any rules for the variables? If not this is a problem as currently the variable might be 0 or empty and then surely the wind speed will always be higher. Remove the variable and simply add the number 75
Do you use any rules for the variables? If not this is a problem as currently the variable might be 0 or empty and then surely the wind speed will always be higher. Remove the variable and simply add the number 75
Is 200 the variable name? As Attila said, you can just type in a literal number, 200, rather than using a variable. If you use a variable, do it like this:
In some other rule:
Set variable MaxWindSpeed = 75
In your blind rule:
When WindSpeedKmph > MaxWindSpeed
I have a "set constants" rule that runs every 10 minutes and sets some values that I use in multiple rules, so you might want to set up a rule like that to set the value.
I happen to have a very similar example so I'll post it for you.
Incidentally, 75 kph is a lot!! I think 25-40 is probably the safe maximum, for awnings at any rate.
Is 200 the variable name? As Attila said, you can just type in a literal number, 200, rather than using a variable. If you use a variable, do it like this:
In some other rule:
Set variable MaxWindSpeed = 75
In your blind rule:
When WindSpeedKmph > MaxWindSpeed
I have a "set constants" rule that runs every 10 minutes and sets some values that I use in multiple rules, so you might want to set up a rule like that to set the value.
I happen to have a very similar example so I'll post it for you.
Incidentally, 75 kph is a lot!! I think 25-40 is probably the safe maximum, for awnings at any rate.
Hi. Thank you all. You are right, I mis-understood the variable thing totally.
And I know that 75 is a lot. But the blinds are very sturdy and did not even move much after last weeks 60 kmph winds.
Hi. Thank you all. You are right, I mis-understood the variable thing totally.
And I know that 75 is a lot. But the blinds are very sturdy and did not even move much after last weeks 60 kmph winds.
Replies have been locked on this page!