Explore Plans
Mobile menu Close menu
2Smart Cloud2Smart Cloud

List sensors and values

This query returns a list of user devices sensors and their values

Developer info

API endpoint slug
2smart_cloud.list_sensors
Runtime method
performQuery("2smart_cloud.list_sensors")

Query fields

Device ID Dropdown list

Label
Device ID
Helper text
Device identifier
Slug
device_id
Required
false
Can have default value
false

Ingredients

Property nameName of device property

Slug
property_name
Filter code
_2smartCloud.listSensors.PropertyName
Type
String
Example
Switch

Device nameName of device

Slug
device_name
Filter code
_2smartCloud.listSensors.DeviceName
Type
String
Example
My lamp

Sensor valueValue which is currently set to sensor

Slug
value
Filter code
_2smartCloud.listSensors.SensorValue
Type
String
Example
true

TopicTopic path in broker where stored device value

Slug
topic
Filter code
_2smartCloud.listSensors.Topic
Type
String
Example
e235c5fa0bd2ae923fd3705dc7f43e1076bb1fd1c3ec1f1e15377a1170c9f6dd/sweet-home/device1660318496347029/node-id/power