# Insights - graphing Hue Motion events

**URL:** <https://community.homey.app/t/insights-graphing-hue-motion-events/71147>\
**Category:** Questions & Help\
**Created:** [October 25, 2022, 8:01am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147 "2022-10-25T08:01:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [October 25, 2022, 8:01am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/1 "2022-10-25T08:01:50Z")

</div>

Hi

Trying recreate a graph of motion events from my previous Home Automation Hub.

I have ~30 Hue Motion sensors over two Hue Hubs.

Trying to create a graph of motion activity throughout the home so I can create some predictive routines based upon usage patterns.

But……. In Insights the Motion event attribute is not available, how do you enable the Motion attribute so it can be graphed? I have searched everywhere but cannot find it.

Thanks

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2022, 8:03am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/2 "2022-10-25T08:03:53Z")

</div>

> [@Busta999](#):
>
> how do you enable the Motion attribute so it can be graphed?

Insights cannot handle boolean capabilities.

---

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [October 25, 2022, 8:05am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/3 "2022-10-25T08:05:48Z")

</div>

So graphing won’t work for zwave socket turned or off either?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2022, 8:06am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/4 "2022-10-25T08:06:01Z")

</div>

No, at least not directly. You could create a virtual device with a numerical capability that gets set to (say) 0 (off) and 1 (on), and chart that.

---

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [October 25, 2022, 8:07am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/5 "2022-10-25T08:07:34Z")

</div>

So I could do the same for Motion events?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2022, 8:15am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/6 "2022-10-25T08:15:17Z")

</div>

All boolean (on/off/yes/no) events. You need to create flows for each to set the virtual sensor value.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 25, 2022, 8:27am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/7 "2022-10-25T08:27:31Z")

</div>

> [@robertklep](#):
>
> Insights cannot handle boolean capabilities.

Not entirely true. The boolean data is stored in the insights database. You can export them to a csv file using this app:

> **[Exporteer Insights | Homey](https://homey.app/nl-nl/app/com.gruijter.insights2csv/Exporteer-Insights/)**
>
> Maak backups van alle insights

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2022, 8:45am UTC](https://community.homey.app/t/insights-graphing-hue-motion-events/71147/8 "2022-10-25T08:45:57Z")

</div>

Ah okay, it’s just not possible to visualize it with Insights then 😅
