Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

storing climate data in variables

Featured Replies

Posted

Am new to the climate module and running firmware 4.2.3, which is pointing to the new HamWeather service. I'd like to store some climate data in a variable so I can track changes/max/min and send some of the data by email. I don't see an action that allows me to choose it. I also looked in the "variable" action but didn't see anything there. My search of the wiki didn't provide the answer. I know the data is available through a REST call but don't think I can have ISY make that call to itself and store it in a variable, can I?

 

Is there a way to do this using ISY (without another computer)?

Not until 5.x when Variables and Programs are expanded. Not sure if what you want will be in that image since the details in the image have not been released but not before then.

  • 1 year later...

Dredging up an old topic.  I am writing a program to monitor wind speed and I has hoping to store the climate module's wind and wind gust speeds in a variable.  

 

I want to send an SMS warning when wind or gusts are >= 15 MPH.  I then want to avoid sending the sms message again until the climate module's wind or wind gust speed is greater than the last reported high value (stored in a variable).

 

Is this feature coming soon? 

 

Here is the start of my program without waits and variable checking:

 

Weather - High Winds - [iD 0014][Parent 000D]
If
        Module 'Climate' Wind Speed >= 15 mph Or Module 'Climate' Gust Wind Speed >= 15 mph
 
Then
        Send Notification to 'Rick's Phone SMS' content 'Weather Alert - High Wind
Else
   - No Actions - (To add one, press 'Action')

Hi rehills,

 

It should be coming but I am afraid to give it any ETA after all the missed dates for 5.0.3! In short, 5.0.3 is the foundation upon which all of these will be implemented.

 

With kind regards,

Michel

Wouldn't this work for you?

 

Have this running constantly.  Having it check the wind speed however often as you'd like.

WindSpeedCheck - [ID 03C3][Parent 0052][Not Enabled]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Repeat Every  5 minutes 
           $WindSpeedLast  = $WindSpeed
           Run Program 'WindSpeed1' (If)
           Run Program 'WindSpeed2' (If)
           Continue from WindSpeed3 through WindSpeed15.......
           Run Program 'CheckWindSpeedDifference' (If)
 
Else
   - No Actions - (To add one, press 'Action')

You'd need 15 programs like this

WindSpeed1 - [ID 03C2][Parent 0052][Not Enabled]

If
        Module 'Climate' Wind Speed is 1 mph
 
Then
        $WindSpeed  = 1
 
Else
   - No Actions - (To add one, press 'Action')

Second Program

WindSpeed2 - [ID 03C4][Parent 0052][Not Enabled]

If
        Module 'Climate' Wind Speed is 2 mph
 
Then
        $WindSpeed  = 2
 
Else
   - No Actions - (To add one, press 'Action')
 

And finally the notification program

CheckWindSpeedDifference - [ID 03C5][Parent 0052][Not Enabled]

If
        $WindSpeed >= $WindSpeedLast
 
Then
        Send Notification to 'ISY Alert E-Mail'
 
Else
   - No Actions - (To add one, press 'Action')

Edited by zerop

Thank you for taking the time to post your solution zerop. I give that a try.

 

Michel, looking forward to 5.x.

 

Rick

Michel, looking forward to 5.x.

 

Rick

 

You're not the only one!   :)

 

 

Jon...

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.