yaq/traits/is-sensor


messages

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

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

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

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

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

daemons

The following daemons implement the is-sensor trait:

ads1115
fake-triggered-sensor
gpio-digital-sensor
mcp3428
mcp9600
seabreeze
system-monitor


built 2020-08-18 17:11:11                                      CC0: no copyright