Skip to main content
Version: v1.0

createSensor(sensor_id)

Create the sensor.

Type​

(sensor_id: SENSOR_ID) => result

Parameters​

SENSOR_ID​

ValueDescription
hmSensor.id.TIMEtime sensor
hmSensor.id.BATTERYpower sensor
...The rest of the values are not listed, refer to the sensor directory.

result​

Reference to specific sensors