Module: temp

This driver usedis to monitor all temperature sensors.

Periodically all sensors are checked for any changes. If a change is detected, the new temperature is emitted.

Author:
  • Dave Leitch

Requires

Members


<inner, constant> SAMPLE_INTERVAL_SECS :number

Interval between samples
Type:
  • number

Methods


<static> getStatus()

Only the probes whose temperature has changed will fire an event.
Fires:
  • event:temp

<static> getTemp(name)

Get temp of a single probe.
Parameters:
Name Type Description
name string Probe name.

<static> stop()

Stop the temperature service.