HALO Smart Sensor Integration Instructions
Enable HALO Integration in OpenEye Web Services (OWS)
|
NOTE: Environmental Sensor Integrations are only available with certain licensing tiers. See OWS Licensing for more information.
- From the Cloud Portal, select the Management tab.
- Choose Integrations from the drop-down menu.
- Click on Add New Integration.
- Choose HALO Sensor and click Next.
- The HALO Sensor will be added to the Manage Integrations list, and you will be taken to the configuration page for the HALO Sensor.
- Click API Access Keys.
- Click Add Key and you will be presented with the Secret Key. Enter a Key Name and click Add.
NOTE: This is the only time you will be able to view the Secret Key. Be sure to copy it somewhere.
- After clicking Add you will be presented with the created API Access Key. Copy this down.
Enable OWS Integration in your HALO Smart Sensor
NOTE: Go to HALO Smart Sensor if you need more information configuring the HALO Smart Sensor Integration.
- Log in to your HALO Smart Sensor as Administrator.
- Click on the gears in the lower left, then click on Integration to open the Integration menu.
- Click on Integration to open the Integration menu.
-
In the Set String field, enter the following by copying and pasting the text below:
POST:https://%USER%:%PSWD%@halo.api.gp4f.com/api/monitoring/integration/halo/event?[JSONBODY]{"sensorName": "%NAME%", "macAddress" : "%MAC%", "eventType": "%EID%", "localEventDate" : "%DATE%", "localEventTime" : "%TIME%"}
- In the Reset String field, remove any current values.
- In the User field, enter the following, where API ACCESS KEY equals the API Access Key you generated in step 8 above.
AKI=API ACCESS KEY
Example: "AKI=J5P8WBSV8HUB"
- In the Password field, enter the following, where SECRET KEY is the Secret Key you generated in step 7 above.
AKS=SECRET KEY
Example: "AKS=yZd-W57xNUMlzFUJQefTWjdpuMpZV_Y0"
- Click Events and send a Test event from any of the configured sensors.
- Click Save.
- Scroll to the bottom and click Close.
- If the correct information is entered, you should see a Status: Accepted message, as shown in the above screenshot.
Mapping the HALO Smart Sensor to a Camera
- In OWS, open the Integrations menu under Management and click Edit.
- Click Sensors / Camera Mapping and select the Sensor Name for your HALO Smart Sensor.
NOTE: If you do not see your HALO Smart Sensor then one of the previous steps was not completed. Please double check that the AKI, AKS, and Set String are correct.
- Click Add Camera.
- Click the + button next to the camera that you would like to associate with the sensor and click Select.
- The camera will now be associated with the HALO Smart Sensor.
NOTE: If you associate multiple cameras with the sensor, then only the camera marked as Primary will be sent with email alerts.
Creating a Halo Smart Sensor Alert Rule in OWS
- Within the Alerts tab in the OWS Cloud Portal, select Alert Rules from the dropdown menu.
- Click Add New Rule.
- Click Environmental and click Next.
- Name the alert and give it a Description as desired.
NOTE: The Name given to an alert will appear as the subject line of email notifications sent by that alert
- Click Create.
- Click the Event Group drop down menu and select the desired Event Group, then click the Event Type drop down and select the desired Event Type, according to the table below:
Event Group: Health | Event Group: Safety | Vape/THC |
---|---|---|
Air Quality Index Threshold Exceeded | Aggression sounds detected | THC detected |
CO2cal Threshold Exceeded | Air Masking detected | Vape detected |
Health Index Threshold Exceeded | Gunshot detected | |
Humidity Threshold Exceeded | HELP sounds detected | |
NO2 Threshold Exceeded | Tamper detected | |
PM2.5 Threshold Exceeded | ||
Temperature Threshold Exceeded | ||
TVOC Threshold Exceeded |
NOTE: OpenEye Web Services (OWS) only supports the HALO event name. If an event name is customized, OWS will no longer recognize the event and send alerts or display the alerts in Alert History.
- After selecting the desired options, scroll down and click Save.
- Click Sensors from the left menu.
- Click Add Sensor.
- Click the + button next to the desired HALO Smart Sensor then click Select.
- If Email Alerts are desired, click Users / Notifications from the left menu.
- Click Add Group or Add User and select the Group or User that you would like to receive Email Alerts and click Select.
- For more information, see the related link Creating an Alert Rule.