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.

Getting Aeotec Multisensor 6 into a Variable

Featured Replies

Posted

Hello,

I would like to get any of the sensor information into a variable so I can do some math on them.  For example, I would like to get the "Temperature" put into a variable, every time the sensor temperature changes.  I have a program that works well to get whatever sensor information sent in a notification and would now like to be able to put this information into a variable.  

For example, I would like to take samples of temperatures from two locations (from two separate variables).  Take these two variables and come up with an average and put this average into another variable.  I could them use this "average" variable to adjust temperatures of my TStat.

Thanks

PhanTomiZ

4 hours ago, PhanTomiZ said:

Hello,

I would like to get any of the sensor information into a variable so I can do some math on them.  For example, I would like to get the "Temperature" put into a variable, every time the sensor temperature changes.  I have a program that works well to get whatever sensor information sent in a notification and would now like to be able to put this information into a variable.  

For example, I would like to take samples of temperatures from two locations (from two separate variables).  Take these two variables and come up with an average and put this average into another variable.  I could them use this "average" variable to adjust temperatures of my TStat.

Thanks

PhanTomiZ

Getting the values from the Multisensor into a variable is pretty easy.  I do this with humidity from one of my sensors.  In this program, the variable name is $s.SW_008Humidity.  Here's the program:

ZW_008 Humidity - [ID 00B8][Parent 007E]

If
        'Devices / dirOffice / ZW 008 Multilevel Sensor' Humidity >= 1%
 
Then
        $s.ZW_008Humidity  = 'Devices / dirOffice / ZW 008 Multilevel Sensor' Humidity %
 
Else
   - No Actions - (To add one, press 'Action')
 

The only trick to this involves clicking on the little arrow in the Admin Console just to the right of the "=" sign in the screenshot.  Clicking on this allows you to cycle through the possibilities that you can set the variable to.

Screen Shot 2018-06-20 at 2.31.16 PM.png

I use network resources since I am still 4.6.2, also. If using temperature, you will need a program to divide the value in half.

image.thumb.png.a982d0bff5ca6058be8ba3fce54344d2.png

12 hours ago, PhanTomiZ said:

Oops, forgot to say I'm still using V4.6.2.  I guess it works ok using the Alpha.

Sorry, I've been using the 5.x.x series so long that I forget that not everyone is on it.  And yes, it works beautifully in the Alpha.

  • Author
12 hours ago, GlowingHair said:

I use network resources since I am still 4.6.2, also. If using temperature, you will need a program to divide the value in half.

image.thumb.png.a982d0bff5ca6058be8ba3fce54344d2.png

Still access my ISY through an open port using port forwarding.  Not really sure how I can use network resources.  What else can I do with it?  Examples?  

Thanks

Archived

This topic is now archived and is 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.