ReadonlynameThe name of the resource.
Return the readings of a sensor.
const sensor = new VIAM.SensorClient(machine, 'my_sensor');
// Get the readings of a sensor.
const readings = await sensor.getReadings();
For more information, see Sensor API.
A gRPC-web client for the Sensor component.