# Getting "blinking" status

**URL:** <https://forums.balena.io/t/getting-blinking-status/46162>\
**Category:** Product support\
**Created:** [November 21, 2019, 8:19pm UTC](https://forums.balena.io/t/getting-blinking-status/46162 "2019-11-21T20:19:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![edorgeville](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/edorgeville/32/3993_2.png) [@edorgeville](https://forums.balena.io/u/edorgeville)\
**Post date:** [November 21, 2019, 8:19pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/1 "2019-11-21T20:19:40Z")

</div>

How can I get the blink status of a device?  
The docs specify how to make it blink, but not how to get the blink status.  
[https://www.balena.io/docs/reference/supervisor/supervisor-api/#post-v1blink](https://www.balena.io/docs/reference/supervisor/supervisor-api/#post-v1blink)  
The goal is to have the app query its device supervisor for blink status, and if blinking, play a sound on the speakers.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [November 21, 2019, 8:31pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/2 "2019-11-21T20:31:36Z")

</div>

Hi @edorgeville unfortunately as far as I know that is not possible today. We have discussed building a generic “indentify” webhook like API on the supervisor for this kind of usecase where a process in the user container would be able to trigger any custom script to identify the device. Let me see if I can find a github issue to track this, it would be a great piece of functionality.

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [November 21, 2019, 8:42pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/3 "2019-11-21T20:42:05Z")

</div>

I couldn’t find a public issue for this feature, but I created one here: [https://github.com/balena-io/balena-supervisor/issues/1150](https://github.com/balena-io/balena-supervisor/issues/1150)

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [November 21, 2019, 8:49pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/4 "2019-11-21T20:49:27Z")

</div>

I think the only way you can do this currently would be to run a privileged container and monitor the ACT led from the `/sys/class/leds/led0/brightness`. That file will flip between 0 and 1. You would also I think need to disable all other activity on the LED so it doesn’t trigger randomly due to `mmc` activity. I think you can disable the ACT led activity using:

```auto
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off

```

---

<div class="post-metadata">

**Author:** ![edorgeville](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/edorgeville/32/3993_2.png) [@edorgeville](https://forums.balena.io/u/edorgeville)\
**Post date:** [November 21, 2019, 9:41pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/6 "2019-11-21T21:41:46Z")

</div>

That’s great, thanks!

---

<div class="post-metadata">

**Author:** ![shaunmulligan](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/shaunmulligan/32/34_2.png) [@shaunmulligan](https://forums.balena.io/u/shaunmulligan)\
**Post date:** [November 21, 2019, 9:46pm UTC](https://forums.balena.io/t/getting-blinking-status/46162/7 "2019-11-21T21:46:00Z")

</div>

No problemo! let us know how the work around works out!
