yaq/traits/is-sensor


Daemons with the is-sensor trait are capable of measuring some unknown quantities. Sensor daemons may have multiple channels if a single measurement returns multiple values.

messages

Daemons with the is-sensor trait expose the following public messages:

get_channel_names ➜ {'items': 'string', 'type': 'array'}
Get current channel names.

get_channel_shapes ➜ {'type': 'map', 'values': {'items': 'int', 'type': 'array'}}
Get current channel shapes. If list is empty, channel is scalar.

get_channel_units ➜ {'type': 'map', 'values': ['null', 'string']}
Get current channel units.

get_measured ➜ {'type': 'map', 'values': ['double', 'ndarray']}
Get most recent measured value.

daemons

The following daemons implement the is-sensor trait:

ads1115
fake-triggered-sensor
gpio-digital-sensor
mcp3428
mcp9600
ni-daqmx-tmux
seabreeze
system-monitor
wright-ingaas


built 2020-10-27 13:47:08                                      CC0: no copyright