This object is in archive! 
Ruled based on weather from virtual weatherstation
Answered
Helo.
Trying to create a rule that will turn on heating when the weatherforecast is snow or rain.
Tried to make a rule as the attached one, but it is not working.
Is there someone that can give me a push in the right direction?
Files:
weather rule.JPG
No connection
Real-time notifications may not work
Well, the rule will only start when you turn on the device in the WHEN block. I would modify the rule to stat with ANY state and then insert another IF where insert this device in ON state and into this I would put the precif IF block.
Well, the rule will only start when you turn on the device in the WHEN block. I would modify the rule to stat with ANY state and then insert another IF where insert this device in ON state and into this I would put the precif IF block.
Helo Attila.
Thanks for your answer.
I'm really struggling with the logic of these puzzles.
What i want to achieve is to turn on device "varmematte" if the virtual weatherstation forecast rain or snow. and the temp is below +5°C. So i will concentrate on justing turing it on for now. For now we can also take away the http device "vinterdrift out of the rule to make it simpler.
So it is only the device in the when block that can trigger the rule?
Can I do it like this?
Helo Attila.
Thanks for your answer.
I'm really struggling with the logic of these puzzles.
What i want to achieve is to turn on device "varmematte" if the virtual weatherstation forecast rain or snow. and the temp is below +5°C. So i will concentrate on justing turing it on for now. For now we can also take away the http device "vinterdrift out of the rule to make it simpler.
So it is only the device in the when block that can trigger the rule?
Can I do it like this?
When I do it like this with a scheduler that check every minute I seem to get the heating on. I guess an opositee rule will turn it off.
When I do it like this with a scheduler that check every minute I seem to get the heating on. I guess an opositee rule will turn it off.
A scheduler can be a good approack. When you have a statement like below 5 degrees in the when block, if once the temp fall below 5 degrees, the rule will run, but later on if the temp drops further the rule will not be triggered again as it was already. So when should be cleverly plaid. Scheduler can start even 1x per hour, no need to fire so often. The weather forecast only updates in 1hours intervals or so anyway.
A scheduler can be a good approack. When you have a statement like below 5 degrees in the when block, if once the temp fall below 5 degrees, the rule will run, but later on if the temp drops further the rule will not be triggered again as it was already. So when should be cleverly plaid. Scheduler can start even 1x per hour, no need to fire so often. The weather forecast only updates in 1hours intervals or so anyway.
Replies have been locked on this page!