# What tuned on a Light?

**URL:** <https://community.homey.app/t/what-tuned-on-a-light/88485>\
**Category:** Questions & Help\
**Created:** [August 31, 2023, 4:38pm UTC](https://community.homey.app/t/what-tuned-on-a-light/88485 "2023-08-31T16:38:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GRat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grat/32/17928_2.png) [@GRat](https://community.homey.app/u/GRat)\
**Post date:** [August 31, 2023, 4:38pm UTC](https://community.homey.app/t/what-tuned-on-a-light/88485/1 "2023-08-31T16:38:16Z")

</div>

Question about detecting what turned on (or off) a light. In the screenshot I have a number of ways that a light (or any device really) is turned off or on. For example, the top one is where I used Alexa skill to turn off the bedroom light. The third is via MQTT.  
Question can this be used in flows? There don’t seem to be any exposed tags, so was wondering how?

 ![Screenshot 2023-08-31 at 17.30.27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f82808d81b954b0c743f9cc12b8af61ede132e4e.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 31, 2023, 8:13pm UTC](https://community.homey.app/t/what-tuned-on-a-light/88485/2 "2023-08-31T20:13:37Z")

</div>

Try this!

> [@Problem with nexa and other 433 plugs. Random on/off behaviour](https://community.homey.app/t/problem-with-nexa-and-other-433-plugs-random-on-off-behaviour/87686/2):
>
> With this card you can check who or what switched a device on/off. Or dim up/down etc.
> 
> ![Screenshot_20230823-135058_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/475f33156627cf96229f946fd33bf9b82264f16d.jpeg)
> 
> It’s part of the cool [Device Capabilities](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287) app

You then have local tags, which you can use in flows after you’ve written them to logics variables f.i.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Draper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonathan_draper/32/33978_2.png) [@Jonathan\_Draper](https://community.homey.app/u/Jonathan_Draper)\
**Post date:** [August 31, 2023, 9:43pm UTC](https://community.homey.app/t/what-tuned-on-a-light/88485/3 "2023-08-31T21:43:15Z")

</div>

Or depending what you’re after maybe a logging system is what you need [Simple (Sys) Log App for Homey | Homey](https://homey.app/en-gb/app/nl.nielsdeklerk.log/Simple-(Sys)-Log/)
