Black Box AlertWerks AW3000 User Manual page 20

Table of Contents

Advertisement

CHAPTER 4: CREATING A VIRTUAL SENSOR
METHOD
COMBINE
PHPSCRIPT
CONTAINER
20
TABLE 4-1. EXPLANATION OF METHODS (CONTINUED)
EXPLANATION
Combine two sensors into one. Graphs will then show both. If it is a GPS tracking sensor you can use
COMBINE to get latitude and longitude to one datapoint and use the Dashbox Type Maps. This is just
an automated link to Google Maps.
You can define a PHP script that deals with any of your data points. Whatever PHP can do, you can do
it here. The values of physical and virtual sensors can be accessed by two arrays provided to the PHP
Script. $v[x] and $p[x] where x is the index number of that datapoint. You just echo out the result of
your script. Note. It is highly recommended to use numbers at this point.
This virtual sensor can be used like a variable in programming. Through actions to be defined for any
virtual or physical sensor, you can amend the container's content. Occupancy Sensors benefit from this
unique feature. Occupancy Sensors deliver 0 for no one there and 1 for someone there. That change
can be tracked by actions and a container Variable counted up.
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Eme800a-usEme800a-eu

Table of Contents