Cloud Meta Element
The cloud meta element is used to change the meta information of a device on Atmosphere, such as a device’s geolocation or status. Device status is based on the following priority order, listed from highest to lowest:
- Missing
- Critical
- Warning
- Info
- Good
- None
Status can either be manually set or escalated using the above priority order. For status escalation, the status will increase to a specified state if it’s a higher priority than the device’s current status; otherwise the status will remain in its current state.
The cloud meta element is located in the Element Toolbox within Studio’s Cloud tab.
Properties
The following properties can be changed for the cloud meta element:
Name
The name of the element.
Triggers
The following triggers are available to execute events from within the cloud meta element:
Triggered
Execute an event when the source element connected to the cloud meta triggers.
Abilities
The following abilities are available for the cloud meta element when its source element triggers:
Trigger
Trigger the element(s) that follow the cloud meta element.
Set Value
Set the value of a custom meta tag.
Set Value Arguments | ||
---|---|---|
Name | Type | Description |
Tag | String | Name of the meta tag. |
Value | Object | Value to assign. |
Set Alarming
Set the status tag for the device to be in an alarming state: alarming or not.
Set Alarming Arguments | ||
---|---|---|
Name | Type | Description |
Value | Boolean | The argument will be true or false. |
Set Status to None
Set the device’s status to “none.”
Set Status to Good
Set the device’s status to “good.”
Set Status to Info
Set the device’s status to a user-selected input.
Set Status to Warning
Set the device’s status to “warning.”
Set Status to Critical
Set the device’s status to “critical.”
Set Status to Missing
Set the device’s status to “missing.”
Escalate Status to Good
Increase the device’s status to “good” if the current status is a lower priority level.
Escalate Status to Info
Increase the device’s status to “info” if the current status is a lower priority level.
Escalate Status to Warning
Increase the device’s status to “warning” if the current status is a lower priority level.
Escalate Status to Critical
Increase the device’s status to “critical” if the current status is a lower priority level.
Escalate Status to Missing
Increase the device’s status to “missing.”
Set Geolocation Position
Set the latitude and longitude of the device.
Set Geolocation Arguments | ||
---|---|---|
Name | Type | Description |
Latitude | Float | The latitude of the device. |
Longitude | Float | The longitude of the device. |
Element Resources
Atmosphere includes a selection of resources for users of all levels that demonstrate using the cloud meta element.
Guides
For a step-by-step guide on creating a project that uses the cloud meta element, click the guide’s name to learn how to use it within a project.
Name | Hardware | Description |
---|---|---|
Creating a Monitoring Solution | AVR-IoT WG | Complete walkthrough that demonstrates how to set up an Atmosphere project that measures device data and initiates a device status change if the data value reaches a certain condition. |
Demo Projects
To view the cloud meta element used within a project, click the demo’s name to open the project in Atmosphere and see how the element is set up.
Name | Hardware | Description |
---|---|---|
AVR-IoT Light Monitor Demo | AVR-IoT WG | The cloud meta element is used within this demo project to set a device’s status upon registration to Atmosphere, and also to change its status when a light value is measured beyond a specified limit. |