# \[APP\]\[Pro\] Zone Activity - Enhance your Homey flows by adding conditions based on zone (in)activity

**URL:** <https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838>\
**Category:** Apps\
**Tags:** community-app\
**Created:** [September 11, 2024, 8:50am UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838 "2024-09-11T08:50:54Z")\
**Posts on this page:** 7\
**Page:** 3

<div class="post-metadata">

**Author:** ![Erikvl87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikvl87/32/112784_2.png) [@Erikvl87](https://community.homey.app/u/Erikvl87)\
**Post date:** [February 19, 2026, 6:23pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/41 "2026-02-19T18:23:17Z")

</div>

🚀 **Released version 2.1.3**

I’ve implemented workarounds for a stale zone cache, which could result in outdated activity states in the widget and incorrect evaluation of a zone’s active state in the condition card.

---

<div class="post-metadata">

**Author:** ![Erikvl87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikvl87/32/112784_2.png) [@Erikvl87](https://community.homey.app/u/Erikvl87)\
**Post date:** [February 19, 2026, 6:31pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/42 "2026-02-19T18:31:40Z")

</div>

Thanks for the suggestions! I’ll look into them. Instead, would it also help if I’d try to introduce a “Active (indirect)” state for those zones that are only active due to a subzone being active, with maybe a little lighter color and indentation of subzones within the widget?

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [February 19, 2026, 11:35pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/43 "2026-02-19T23:35:27Z")

</div>

Your idea/suggestion with different colors is one possible way to show it an solve duplicate entries in the activity list.

There is so much room/soace on the right side of the current activity list: So you could maybe split the screen in the activity list in 2 columns: left & Right.

The left column shows an activity list (optional in different color) of main zones and the right column an activity list of all the subzones related or unrelated to the specified main zones (on the left) column.

Like : Related :

woonkamer | ComputerHoek

Unrelated: Just 2 Activity lists in 2 columns next to eachother on the screen with the main/1st zone to the root/home zone on the left and on the right an acivity list of all the active subzone(s) (that) h ave no further any subzone/nested zone with activity

Just my 2 cents​🤷🏻

Additional and/or optional you could add the configuration settings of your activity list widget “Show only Main Zone(s): [Yes/No]” and/or “Show only (most nested) Subzone(s):[Yes/No]”

If you don’t want to split the screen in 2 columns/activity list. Maybe then you specify every entry in your activity list completely with the nested zone where the activity is happening and check for duplicates in the activity list.

So if an entry in the activity list would be:

“Woonkamer/Computerhoek/Raamzijde”

(And “Raamzijde has not an additional nested (sub)zone)

Then any other entry cannot be a duplicate like :

“Woonkamer/Computerhoek” (Because we already know that “Computerhoek” is active  
Also a duplicate with only the main zone “woonkamer” should be filtered/avoided.

But an activitylist entry like “Woonkamer/Eethoek” should be shown is this subzone is active and “Computerhoek” is not s nested (sub)zone of “Eethoek”

I think you get the point 😉

I would start to write code for this kind of basic functions first : IsMainZone($ZoneName):Boolean , IsNestedSubZone($ZoneName):boolean , HasNestedSubZone($ZoneName):boolean, ListofNestedSubZonesof($ZoneName):list,

GetZoneStructuresFromRootTillLastNestedSubZone(): List/TekstArray

FilterDuplicatesNestedSubZonesofSubZone(€ZoneName), FilterDuplicatesNestedSubZonesofMainZone(€ZoneName)

Etc

Could you maybe also add an additional (= 2nd) condition of activity of a zone with the possibility to choose if subzone(s) activity is also used or not. (Like the app “Zone climate” now has in their conditions” 😉

And maybe let us choose between seconds an minutes value duration in the zone activity condition.

 ![IMG_8489](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/f/7f6b92264aa62cd17d46e5249b9ac500f50fee5f.png)

 ![IMG_8490](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/7/672d56437c50455498432c14aaf24a59f26fb7a9.png)

So : Condition: “And if [Zone] is [Active/Inactive] for […] [seconds/minutes] include nested zones (in)activity [Yes/No]

 ![IMG_8488](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/7/0740a7121e0a97f22c8f0888353d9b3f9926d178.png)

---

<div class="post-metadata">

**Author:** ![DoctorBazinga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doctorbazinga/32/39686_2.png) [@DoctorBazinga](https://community.homey.app/u/DoctorBazinga)\
**Post date:** [February 25, 2026, 12:43am UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/44 "2026-02-25T00:43:11Z")

</div>

@Erikvl87 : I have a suggestion/feature request fir your app :

Please add a condition (= …And …) that compares the duration of activity/inactivity of 2 zones.

Like: And … “ [Zone] is \<inactive/active\> longer than [Zone] is \<inactive/active\>”

with this I could compare the duration of **in** activity of my living room with the duration of **activity** in my bedroom as a condition to set me as sleeping

And the other way around (in zones an inactivity snd activity as awken.

Thanks.

(In case on of the specified zone in the duration comparison has not the state like specified/required you could set de the duration just to zero (=0). 😉 So asked/chosen is inactive but it still active the the duration of inactivity is just 0. You only need to Prevent that 2 durations of both zeros are compared to each other. )

---

<div class="post-metadata">

**Author:** ![LionelDerBoven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lionelderboven/32/121059_2.png) [@LionelDerBoven](https://community.homey.app/u/LionelDerBoven)\
**Post date:** [October 4, 2026, 4:22pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/45 "2026-10-04T16:22:21Z")

</div>

Hi, Thank you for the app!

I build a new feature that would add a lot to the app.

Please look at this issue on github: [Leave a sub-zone out of the "zone is active/inactive" condition · Issue #15 · Erikvl87/nl.erikvl87.zoneactivity · GitHub](https://github.com/Erikvl87/nl.erikvl87.zoneactivity/issues/15)

This function is a perfect addition for your app.

If you need me to make a pull request or you need more information, let me know!

---

<div class="post-metadata">

**Author:** ![Erikvl87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikvl87/32/112784_2.png) [@Erikvl87](https://community.homey.app/u/Erikvl87)\
**Post date:** [October 4, 2026, 4:53pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/46 "2026-10-04T16:53:43Z")

</div>

Hi, thank you! Sorry that I haven’t yet looked at your PR! I’ll make sure to do so within the next few days.

---

<div class="post-metadata">

**Author:** ![LionelDerBoven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lionelderboven/32/121059_2.png) [@LionelDerBoven](https://community.homey.app/u/LionelDerBoven)\
**Post date:** [October 4, 2026, 7:38pm UTC](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838/48 "2026-10-04T19:38:30Z")

</div>

Thanks Erik! To clear up the confusion: until today there was only issue #15, no PR yet. There are two now, tested live on my Homey Pro 2023:

1. Condition – optionally ignore zones in “The zone is active”: [Optionally ignore zones in the "zone is active" condition by LionelDerBoven · Pull Request #20 · Erikvl87/nl.erikvl87.zoneactivity · GitHub](https://github.com/Erikvl87/nl.erikvl87.zoneactivity/pull/20) (closes #15)
2. Trigger – the same question as a trigger card, built on #20: [Add a zone activity trigger, optionally ignoring zones by LionelDerBoven · Pull Request #21 · Erikvl87/nl.erikvl87.zoneactivity · GitHub](https://github.com/Erikvl87/nl.erikvl87.zoneactivity/pull/21)  
No rush, and happy to adjust anything you’d like done differently.

[Previous page](https://community.homey.app/t/app-pro-zone-activity-enhance-your-homey-flows-by-adding-conditions-based-on-zone-in-activity/115838.md?page=2)
