Skip to main content
Version: v1.0

BODY_TEMP

Creating Sensors​

const thermometer = hmSensor.createSensor(hmSensor.id.BODY_TEMP)

BODY_TEMP instance​

thermometer: object​

PropertiesDescriptionType
currentcurrent temperaturenumber
timeintervaltime elapsed since the value was setnumber

Code example​

console.log(
'the current temp: ' + thermometer.current + ' interval:' + thermometer.timeinterval + '\r\n'
)