Atlona + Disruptive Technologies

 

Disruptive Technologies Temperature and Humidity Sensor

I won’t go in too deep about Disruptive Technologies but in a nutshell its a great solution with many types of wireless sensors that connect to the cloud and all the data is available trough there API. In this example we will use their humidity sensor witch collects temperature and humidity, and get that data from their API into a variable in Atlona Velocity.


Things you need to do on the Disruptive Technologies side:

Create a API key, get your Project ID and Sensor ID

Atlona Velocity:

Create a HTTP driver in Velocity, port 443 and enable HTTPS.


Atlona Velocity - Driver Form

Commands


In this example we are going to use two commands, one for temperature and one for humidity and this is how it looks:

/v2/projects/PUT-PROJECT-ID-HERE/devices/PUT-DEVICE-ID-HERE/events?eventTypes=temperature&pageSize=1

/v2/projects/PUT-PROJECT-ID-HERE/devices/PUT-DEVICE-ID-HERE/events?eventTypes=humidity&pageSize=1

Atlona Velocity - Driver Commands

 

Variables


Create a variable for the temperature, make it Two Way Parsing

Create a Match (Advanced) with the options Search for Character and Extract Until String.

This will make Velocity to search for two strings and capture everything in between and put that in the variable.

Example response in Velocity after sending the command.

"{"events":[{"eventId":","targetName":"projects//devices/","eventType":"humidity","data":{"humidity":{"temperature":24.55,"relativeHumidity":33,"updateTime":"2022-06-14T06:56:14.587000Z"}},"timestamp":"2022-06-14T06:56:14.587000Z"}],"nextPageToken":""}" 

As we can see in this example that the temperature is 24.55 and we want to capture that value, so we put "temperature": in the “Search For Character“ field and ,"relativeHumidity" in the “Extract Until String“ field with our Substitution Key in between. ( Value’s in the image are a bit different because it is from another sensor type)


Atlona Velocity - Equipment Variables

 

Last step is to add Disruptive Technologies as a device to your room and test your driver.

Fill in you own API key set

Add API url and save!

Conclusion


Now we can test our driver and see if we see the correct value’s in our variables.

So we create a driver that connects with the API from Disruptive Technologies and we retrieve the data we want then look for that data in the logs and put it in the correct variable.

 
Previous
Previous

Atlona + Sony Projector

Next
Next

Atlona + Bachmann