This object is in archive! 
Rule with weather station
Answered
Can someone help me with a rule to understand why it doesn't work like i expected.
The meaning of this rule is when i turn on the virtual switch and the temp. is between 26 and 30 C
the schutters are closing to the given point. When the temp. is above 30.1 C the shutters had to close a little bit more. So far so good. Now comes the part witch i don't understand. When the temp. drops under 25 C the shutters don't go open. I hope you can tell me what i did wrong.
Thanks in advance
Files:
Schermopname (3...
No connection
Real-time notifications may not work
I'm not sure why the last part doesn't work, but the 30.1 condition won't ever fire because the "between 26 and 30" condition excludes any temperature above 30!
I'm not sure why the last part doesn't work, but the 30.1 condition won't ever fire because the "between 26 and 30" condition excludes any temperature above 30!
it's not going up because it warm weather.
The when part indicated most properly temps higher then then 25
go down to be inserted in seperate rule
it's not going up because it warm weather.
The when part indicated most properly temps higher then then 25
go down to be inserted in seperate rule
Philippe,
You are not very clear in your explanation as to what you want to achieve and what you expect to happen with your rule.
Here is what actually does happen:
When your virtual switch changes from Off to On, the rule is activated (not ever on any other time). Then if the temperature is between 26 and 30, your rollers will be set t 42 and 75, respectively. The test for >30.1 will never happen, because you already have a clause for between 26-30.
If the temperature is less than 26 or more than 30 when the virtual switch goes from Off to On, your rollers will be set to 100.
If you wanted an automatic roller system which works IF the switch is ON, you'll need to create your rule in a different way.
Hope this helps,
Brgds, Robert
Philippe,
You are not very clear in your explanation as to what you want to achieve and what you expect to happen with your rule.
Here is what actually does happen:
When your virtual switch changes from Off to On, the rule is activated (not ever on any other time). Then if the temperature is between 26 and 30, your rollers will be set t 42 and 75, respectively. The test for >30.1 will never happen, because you already have a clause for between 26-30.
If the temperature is less than 26 or more than 30 when the virtual switch goes from Off to On, your rollers will be set to 100.
If you wanted an automatic roller system which works IF the switch is ON, you'll need to create your rule in a different way.
Hope this helps,
Brgds, Robert
Thanks for your reply. The intention of this rule is, when i turn on the virtual switch and during the rest of the day the temperature rises between 25 and 30 the rollers have to shut until a certain point, for example 42 and 75.
When the temperature rises above 30 C, the rollers have to close a bit more but when the temperatue drops again between 25 and 30 the rollers must be opend until 42 and 75 and when the temperature drops even more, less then 25 C, the rollers have to go 100. Also this rule may not work before 9:00 AM.
I now this is a difficult rule which i probably have to split into two or more rules but i don't now how to start with it.
Actually i want an automatic roller system which works IF the switch is ON, like Robert already mentioned.
And to Robert, yes this helps, thanks for your explanation.
Brgds, Philippe
Thanks for your reply. The intention of this rule is, when i turn on the virtual switch and during the rest of the day the temperature rises between 25 and 30 the rollers have to shut until a certain point, for example 42 and 75.
When the temperature rises above 30 C, the rollers have to close a bit more but when the temperatue drops again between 25 and 30 the rollers must be opend until 42 and 75 and when the temperature drops even more, less then 25 C, the rollers have to go 100. Also this rule may not work before 9:00 AM.
I now this is a difficult rule which i probably have to split into two or more rules but i don't now how to start with it.
Actually i want an automatic roller system which works IF the switch is ON, like Robert already mentioned.
And to Robert, yes this helps, thanks for your explanation.
Brgds, Philippe
Philippe,
As far as I understand, the WeatherStation does NOT create any EVENTS when values change, and rules only get processed when something explicitly happens. This mean that you can "WHEN <weatherstation> whatever" until you're blue in the face, the rule will never ever get run. (and afaik there's NO explanation of this principle to newcomers, meaning they don't understand why their rules won't run (pun intended)).
So, to start at the basics of rule creation: You need to have something which triggers the rule whenever you want the rule to operate. This can be a switch, a motion detector, a thermostat which sends its temperature, or whatever. Stuff you can interrogate, like the virtual weather station, is a data provider to be used for testing only. There's nothing in there which signals anything to anyone.
Thus, for your automatic, temperature controlled blinds to work, you need the rule to run every so often. I'd suggest you use a scheduler set to every 15 minutes as the only WHEN clause. This ensures your rule actually WILL be run.
Next, inside the WHEN, you should have your LIMITER, in the form of an IF which tests that the switch is ON and the time is > 09:00 and whatever else you like.
Inside this IF, you should put the actual tests and commands you need to have.
I enclose a sample of what I think is necessary for this to operate properly. Since I don't have any blinds motor connected yet, I have set the rule to send me a message instead. Just swap these send action things with your motor commands and all should be fine :-)
Best regards,
Robert
Philippe,
As far as I understand, the WeatherStation does NOT create any EVENTS when values change, and rules only get processed when something explicitly happens. This mean that you can "WHEN <weatherstation> whatever" until you're blue in the face, the rule will never ever get run. (and afaik there's NO explanation of this principle to newcomers, meaning they don't understand why their rules won't run (pun intended)).
So, to start at the basics of rule creation: You need to have something which triggers the rule whenever you want the rule to operate. This can be a switch, a motion detector, a thermostat which sends its temperature, or whatever. Stuff you can interrogate, like the virtual weather station, is a data provider to be used for testing only. There's nothing in there which signals anything to anyone.
Thus, for your automatic, temperature controlled blinds to work, you need the rule to run every so often. I'd suggest you use a scheduler set to every 15 minutes as the only WHEN clause. This ensures your rule actually WILL be run.
Next, inside the WHEN, you should have your LIMITER, in the form of an IF which tests that the switch is ON and the time is > 09:00 and whatever else you like.
Inside this IF, you should put the actual tests and commands you need to have.
I enclose a sample of what I think is necessary for this to operate properly. Since I don't have any blinds motor connected yet, I have set the rule to send me a message instead. Just swap these send action things with your motor commands and all should be fine :-)
Best regards,
Robert
Speaking of weather stations, has anyone tried to interrogate a Netatmo weather station by means of a Zipabox rule?
https://dev.netatmo.com/dev/resources/technical/reference/weatherstation/getstationsdata
Speaking of weather stations, has anyone tried to interrogate a Netatmo weather station by means of a Zipabox rule?
https://dev.netatmo.com/dev/resources/technical/reference/weatherstation/getstationsdata
Robert, I think you will have to use IFTTT maker channel or make a script on a separate server, which updates virtual meters. Zipato simple http get/post functionality will not cover your needs.
Robert, I think you will have to use IFTTT maker channel or make a script on a separate server, which updates virtual meters. Zipato simple http get/post functionality will not cover your needs.
Hi Robert. Yes. User DerHelle has made successful integration of Netatmo to zipato via a webserver. Try to search the post as I know I read about it.
If not found, go to http://www.zipabox.de he is the owner of the website.
Hi Robert. Yes. User DerHelle has made successful integration of Netatmo to zipato via a webserver. Try to search the post as I know I read about it.
If not found, go to http://www.zipabox.de he is the owner of the website.
Thanks Attila,
Although I could run a process on some server for this purpose, I'd rather use "external" stuff which I can set up once and forget, and not something I'd have to maintain :-)
I guess IFTTT is the solution until some nice day sometime in the future, when Zipato will find time to add a block to interrogate Netatmo.
You'd be amazed how many Netatmo weather stations there are:
https://www.netatmo.com/weathermap
Thanks Attila,
Although I could run a process on some server for this purpose, I'd rather use "external" stuff which I can set up once and forget, and not something I'd have to maintain :-)
I guess IFTTT is the solution until some nice day sometime in the future, when Zipato will find time to add a block to interrogate Netatmo.
You'd be amazed how many Netatmo weather stations there are:
https://www.netatmo.com/weathermap
http://zipabox.de/netatmo-liefert-werte-zur-zipabox/
http://zipabox.de/netatmo-liefert-werte-zur-zipabox/
Opkoper, Thanks for posting the link!
Here's a direct link to the page via (somewhat understandable) Google Translate:
https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=no&ie=UTF-8&u=http%3A%2F%2Fzipabox.de%2Fnetatmo-liefert-werte-zur-zipabox%2F&edit-text=
Opkoper, Thanks for posting the link!
Here's a direct link to the page via (somewhat understandable) Google Translate:
https://translate.google.com/translate?sl=de&tl=en&js=y&prev=_t&hl=no&ie=UTF-8&u=http%3A%2F%2Fzipabox.de%2Fnetatmo-liefert-werte-zur-zipabox%2F&edit-text=
I finally managed to create a rule with the weather station and it works flawlessly. The only con is the update time of the weather station.
Without the help of various community members i probably not succeeded in this, so thanks for that. Therefore, you can see how important this community is for newbies and even experienced users. The rule is shown below.
I finally managed to create a rule with the weather station and it works flawlessly. The only con is the update time of the weather station.
Without the help of various community members i probably not succeeded in this, so thanks for that. Therefore, you can see how important this community is for newbies and even experienced users. The rule is shown below.
Replies have been locked on this page!