Manually Trigger Sensor Data

Trying to figure out how to manually trigger sensor read of Air quality and send data to Notehub.
What are terminal commands?
Tried Notecard -play with json, no luck.
Tried Notecard -sync, as well as sync-trace, still no manually trigger of sensor read.
Please help :slight_smile:
Thanks!

Hi @trevorM and welcome to the Blues Wireless community!

There are no Notecard CLI commands that can trigger reading of an external sensor like this. You’d likely want to program that functionality with a host MCU for instance.

Rob

Understood. Is there a way to configure the frequency of events from sensors?

Hi @trevorM,

If I’m understanding your question correctly, typically I think about it as how frequently I poll the sensor with my host MCU to acquire the data. Then, I store Notes on the Notecard containing this sensor data, and at a certain cadence I tell the Notecard to connect and relay its accumulated data to Notehub (and beyond). So the frequency of polling the sensor(s) is 100% customizable on the host, it just depends on your use case.

Rob

1 Like