# Insight on boolean variables

**URL:** <https://community.homey.app/t/insight-on-boolean-variables/37403>\
**Category:** Questions & Help\
**Created:** [November 15, 2020, 1:06pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403 "2020-11-15T13:06:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hporvin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hporvin/32/16737_2.png) [@hporvin](https://community.homey.app/u/hporvin)\
**Post date:** [November 15, 2020, 1:06pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/1 "2020-11-15T13:06:00Z")

</div>

Hi,

I am setting up my smart house, and trying to do some trouble shooting on some of my logic. I would like to see how my variables change over time, but in Insights I can only see that on numeric variables, not on boolean ones. Am I doing something wrong, or is there no statistics on how boolean variables change?

/Henrik

---

<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:** [November 15, 2020, 1:13pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/2 "2020-11-15T13:13:50Z")

</div>

> [@hporvin](#):
>
> or is there no statistics on how boolean variables change?

That’s correct, Insights doesn’t log booleans.

---

<div class="post-metadata">

**Author:** ![hporvin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hporvin/32/16737_2.png) [@hporvin](https://community.homey.app/u/hporvin)\
**Post date:** [November 15, 2020, 1:16pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/3 "2020-11-15T13:16:04Z")

</div>

Thanks. Do you know of any app that can be used to log such things?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [November 15, 2020, 1:16pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/4 "2020-11-15T13:16:39Z")

</div>

Wright a number variable along with the boolean. 1 for yes, 0 for no.

IF boolean changes AND boolean=yes THEN set numbervariable to 1 ELSE set number variable to 0

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 15, 2020, 1:38pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/5 "2020-11-15T13:38:42Z")

</div>

> [@hporvin](#):
>
> I would like to see how my variables change over time,

The only place to see that is in the device tile pages. There is a page that shows the time the state changed. Probably not quite what you want but I think that’s as good as it gets without work around like Roco mentioned.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [November 15, 2020, 2:09pm UTC](https://community.homey.app/t/insight-on-boolean-variables/37403/6 "2020-11-15T14:09:02Z")

</div>

If you make a boolean yes/no in the app on the phone or tablet then you can see the change of the yes/no if there something changes. Only there is no history of the changes. But you can see if the is something changing. Maybe you can use that for testing.

Yesterday i made a flow that if i press 3 times the doorbell and i open the door within 5 seconds all the lights in the living goes on.  
While testing it i can see the counter of the door contact if it was counting.
