junkycosmos Posted January 7, 2011 Posted January 7, 2011 Is there a way to pass the any of the Climate info from weatherbug into a custom alert template ? Would be interested in passing current temp if possible into notification. thanks J
Michel Kohanim Posted January 7, 2011 Posted January 7, 2011 Hello junkycosmos, Excellent idea! I do not think we'll have time to implement in the current release but I think this is a very important feature! With kind regards, Michel
art Posted January 9, 2011 Posted January 9, 2011 junkycosmos, Was there a particular function you were trying to accomplish, or just a general question? Art
junkycosmos Posted February 27, 2011 Author Posted February 27, 2011 Hi All, Thank you much for adding these into 2.8.11 ! Just tonight I got to upgrading from 2.8.10 to 2.8.16 and was really excited to see the inclusion of weather info in the alerts. Thank you ! To answer your way overdue question on ideas for use: 1. send alerts to myself and other family members when the temp is lower than X (say 5 F) before they leave for school. "Hey kids wear a jacket its X". 2. similar but as alerts to myself for covering the garden or be alerted when the temp outside worth of closing up the windows 3. Hum and pressure changes (rate per hour) used to trigger alerts for my wife. She has been suffering from sinus headaches which we suspect are due to pressure and or humidity changes. This could help us prove theory and maybe even help take action prior to her being a wreck. Interesting point about #1 & #3 here is that now starts to bring the ISY into place where the rest of the family might feel value. Whereas today it is entirely out of their minds while doing all of its light and security management on their behalf. Did have three items to inquire about. small item: in programming interface: Condition: Module: Climate: spelling is "Hummidity Rate" (extra M) but on ISY Climate tab it reads correctly "Humidity Rate:" Noted though that condition does appear to work fine small question: in programming interface: Condition: Module: Climate: pressure options are listed mBar but on ISY Climate tab it reads pressure in inches. (I am using station RSMSP) The conversion is no big deal however was not sure if this was intentional, known, or would impact program condition itself. Having the programming in mBar does give a very nice breakdown in selection. larger question: When I created the program below for task #3 above I ran into it repeating every 60 seconds. What I am trying to accomplish is to have the ISY alert me once every hour if that the climate conditions are true. Instead it is repeating every 60 seconds. I suspect that since my ISY is set to "read weatherbug data every 60 seconds" this polling is causing ISY to re-evaluate status of my program conditions and restart the program. Is there an easy programming solution to this other than setting my polling to 3,600 sec ? Would like to avoid changing this by polling since we will want other programs to repeat at different intervals. noted that the actual rates in here are just to test with: ***************** If Module 'Climate' Hummidity Rate >= -5 % Or Module 'Climate' Hummidity Rate >= 5 % Or Module 'Climate' Pressure Rate >= -17 mbar Or Module 'Climate' Pressure Rate >= 17 mbar Then Repeat Every 1 hour Send Notification to 'J' content 'WeatherAlertShort' Send Notification to 'M' content 'WeatherAlertShort' Else - No Actions - (To add one, press 'Action') ***************** Thanks much for any help here and to ISY Team for including the Weather info in the custom alerts! J
Michel Kohanim Posted February 27, 2011 Posted February 27, 2011 Hello junkycosmos, Thanks so very much for the detailed response. 1. Hummidity is a bug ... thanks so much for finding it! 2. The problem is that if you use Metric, then pressure is measured in Pascal. For English, we do NOT really know what WeatherBug is sending us (either mbar or pound per inches) ... I think you will be OK with using mbar For your last question, I think you should use our new program variables (3.0.0 Beta to be released on Monday). This way, you can have a variable that is set when the email is sent out and unset when conditions change. With kind regards, Michel
Sub-Routine Posted February 27, 2011 Posted February 27, 2011 junkycosmos, You want to read the weather conditions every 60 seconds and then Wait some time so one reading is not an anomaly. With this set of programs the temp has to remain below 20F before a mail is sent. Then a notice is sent every 60 minutes as long as the temp remains below 20F. Weather Cold If Module 'Climate' Temperature < 20 °F And Program 'Temperature Cold' is False Then Run Program 'Temperature Cold' (Then Path) Wait 1 hour Run Program 'Temperature Cold' (Else Path) Else - No Actions - (To add one, press 'Action') When the temperature falls Only runs if it was warm during last check Weather Warm If Module 'Climate' Temperature >= 20 °F And Program 'Temperature Warm' is False Then Run Program 'Temperature Warm' (Then Path) Wait 1 hour Run Program 'Temperature Warm' (Else Path) Else - No Actions - (To add one, press 'Action') When it warms Only runs if it was cold during last check Temperature Cold If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Wait 20 minutes Send Notification to 'Text to Blackberry' Run Program 'Temperature Warm' (Else Path) Else - No Actions - (To add one, press 'Action') Cold = True Warm = False Temperature Warm If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Wait 20 minutes Send Notification to 'Text to Blackberry' Run Program 'Temperature Cold' (Else Path) Else - No Actions - (To add one, press 'Action') Warm = True Cold = False Rand
Recommended Posts