# Remote control notecard

**URL:** <https://discuss.blues.com/t/remote-control-notecard/891>\
**Category:** Notecard API\
**Created:** [June 28, 2022, 12:30pm UTC](https://discuss.blues.com/t/remote-control-notecard/891 "2022-06-28T12:30:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tjvantoll](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.blues.com/tjvantoll/32/231_2.png) [@tjvantoll](https://discuss.blues.com/u/tjvantoll)\
**Post date:** [June 28, 2022, 3:58pm UTC](https://discuss.blues.com/t/remote-control-notecard/891/4 "2022-06-28T15:58:11Z")

</div>

Hey @lejibxl,

You have a few options here.

The easiest option is to use the `hub.set` request’s `vinbound` and `voutbound` arguments. These arguments allow you to set different `inbound` and `outbound` values based on the state of the battery. See [our documentation on power management](https://dev.blues.io/notecard/notecard-walkthrough/low-power-design/#modem-power-management) for examples.

Those arguments do _not_ allow you to switch between `"periodic"` and `"continuous"`, but you could set `inbound` and `outbound` to very low values when you have sufficient battery, and much high values when you’re low on battery.

If switching between `"periodic"` and `"continuous"` is a hard requirement, your next best option is to use the Notecard’s `_sync_continuous`, `_sync_continuous_inbound`, `_sync_inbound_mins`, and `_sync_outbound_mins` environment variables. (See our [documentation on reserved environment variables](https://dev.blues.io/guides-and-tutorials/notecard-guides/understanding-environment-variables/#reserved-environment-variables) for details.)

The environment variables allow you to remotely switch your Notecard’s `mode`, and to change your `inbound` and `outbound` values. However, you need to run a `{"req":"hub.set","reset":true}` request after enabling continuous mode, as the Notecard requires a reset to set up a socket to listen for inbound `.qi` changes.

So I’d start with `vinbound` and `voutbound`, and if those don’t meet your needs try playing with the environment variables, and if those don’t meet your needs let us know and we can try to help 🙂

TJ

---

_[View the full topic](https://discuss.blues.com/t/remote-control-notecard/891)._
