# Manually Trigger Sensor Data

**URL:** <https://discuss.blues.com/t/manually-trigger-sensor-data/1090>\
**Category:** Notecard API\
**Created:** [November 17, 2022, 4:04pm UTC](https://discuss.blues.com/t/manually-trigger-sensor-data/1090 "2022-11-17T16:04:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorM](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@trevorM](https://discuss.blues.com/u/trevorM)\
**Post date:** [November 17, 2022, 4:04pm UTC](https://discuss.blues.com/t/manually-trigger-sensor-data/1090/1 "2022-11-17T16:04:30Z")

</div>

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 🙂  
Thanks!

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [November 17, 2022, 6:43pm UTC](https://discuss.blues.com/t/manually-trigger-sensor-data/1090/2 "2022-11-17T18:43:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![trevorM](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@trevorM](https://discuss.blues.com/u/trevorM)\
**Post date:** [November 17, 2022, 7:57pm UTC](https://discuss.blues.com/t/manually-trigger-sensor-data/1090/3 "2022-11-17T19:57:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RobLauer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/roblauer/32/1567_2.png) [@RobLauer](https://discuss.blues.com/u/RobLauer)\
**Post date:** [November 17, 2022, 9:41pm UTC](https://discuss.blues.com/t/manually-trigger-sensor-data/1090/4 "2022-11-17T21:41:09Z")

</div>

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
