Jump to content

Getting Aeotec Multisensor 6 into a Variable


PhanTomiZ

Recommended Posts

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

Posted
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

Posted

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

Posted
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.

Posted
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.

×
×
  • Create New...