# \[Homey Pro\] overview script

**URL:** <https://community.homey.app/t/homey-pro-overview-script/77459>\
**Category:** Tutorials\
**Tags:** homeyscript, homey-pro\
**Created:** [March 10, 2023, 5:33pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459 "2023-03-10T17:33:08Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 1:06pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/21 "2023-03-11T13:06:36Z")

</div>

Z-wave’s getState() function can be a big mess 😂 the node overview is in a nice array, but trying to get the battery devices etc is a bit harder, probably need to use another function to actually get the state of a node instead of using the stats object.  
Zigbee is much easier for that matter, i guess the later implementation made it easier for them to be developer friendly

---

<div class="post-metadata">

**Author:** ![Ria\_Banis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ria_banis/32/7966_2.png) [@Ria\_Banis](https://community.homey.app/u/Ria_Banis)\
**Post date:** [March 11, 2023, 1:20pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/22 "2023-03-11T13:20:28Z")

</div>

--------------- Homey Pro Overview --------------

Homey name: Huize Banis

Homey version: 8.1.3

Homey model: Homey (Early 2018) (1 core(s))

Uptime: 44270 (12 hours, 17 minutes, 50 seconds)

Update available: None

------------------ Main ---------------------

2 Users (1 owner, 0 manager(s), 1 user(s), 0 guest(s))

* * *

SDKv2 apps:

Vrije dagen KlikAanKlikUit NEO Coolcam \< group \> Zonnestanden Neato BotVac

* * *

* * *

Updateable apps:

Vrije dagen KlikAanKlikUit Aqara & Xiaomi ZigBee Zonnestanden Virtuele Apparaten

* * *

27 Apps (6 SDKv2, 21 SDKv3, 5 updateable, 0 disabled/crashed)

17 Zones

11 Notifications

1 Variables (1 boolean (yes/no), 0 number, 0 string)

129 Flows (1 broken, 12 disabled)

7 Advanced flows (0 broken, 4 disabled)

----------------- Devices -------------------

1 Z-Wave nodes (0 router, 0 battery, 0 unreachable)

5 Zigbee nodes (1 router, 4 end device)

15 Virtual devices

1 Infrared (database) devices

44 Other devices

66 Total devices

——————————————————— ✅ Script Success

Thanks so much for your quick response (if I read more carefully, but I copied paste the script 😳) I could have known).

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 11, 2023, 1:24pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/23 "2023-03-11T13:24:43Z")

</div>

> [@Caseda](#):
>
> Ah, I didn’t even think of these, but those aren’t currently included indeed, not sure how easy it would be to include this.

I have a script to find BLL variables, ill try to add it later if you want.  
I’ll also, if i may, add VD en AVDs as virtual devices?!

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 1:26pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/24 "2023-03-11T13:26:20Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> I have a script to find BLL variables, ill try to add it later if you want.

Sure, go ahead

> [@Arie\_J\_Godschalk](#):
>
> I’ll also, if i may, add VD en AVDs as vietual devices?!

That is already included into the virtual devices 😛

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 11, 2023, 1:54pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/25 "2023-03-11T13:54:49Z")

</div>

> [@Caseda](#):
>
> That is already included into the virtual devices

Ah, sorry, i am in my phone and didn’t look well enough at the script.

What about device like from BLL (VDs for variables), chronograph, etc. They should be considert VDs aswell right?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 1:58pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/26 "2023-03-11T13:58:38Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> BLL (VDs for variables), chronograph

I didn’t know these could have (virtual) devices, learning everyday, i can add them too pretty quickly I guess.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 2:56pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/27 "2023-03-11T14:56:44Z")

</div>

So the Z-wave part is fixed now, that took way longer then i hoped for, but it has now more abilities too, as it will show you how many unsecure, secure (S0, S2 both types) and unknown nodes have too, the unknown nodes aren’t included into the actual z-wave node count, as these aren’t actual devices in Homey, they are there just for overview purposes.

There can be a small discrepancy between battery/router devices in the overview and your actual devices, as Homey doesn’t expose if a device is a routing device or not, especially for FLiRS devices as those aren’t even flagged as battery devices (which they are)…  
So I now check if it is a battery device, or has batteries in it to see if it is a battery device.  
This can cause for some device to be counted as battery while they aren’t (Aeotec siren 6 is a good example for this, as it does have a internal battery, but usually is connected to the mains).  
It will be kind of impossible to look at every possible option to manually exclude it from said list.

I’ve also added the chronograph and better logic virtual devices to the virtual devices count.

The new script can be found in the top post.  
And have updated my original results with these fixes, if you already posted your results i would recommend to update your original results instead of posting a new post.

---

<div class="post-metadata">

**Author:** ![Pa\_Heve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pa_heve/32/15318_2.png) [@Pa\_Heve](https://community.homey.app/u/Pa_Heve)\
**Post date:** [March 11, 2023, 5:34pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/28 "2023-03-11T17:34:54Z")

</div>

My results  
--------------- Homey Pro Overview --------------

Homey name: Homey

Homey version: 8.1.3

Homey model: Homey (Early 2016) (1 core(s))

Uptime: 932394 (10 days, 18 hours, 59 minutes, 54 seconds)

Update available: None

------------------ Main ---------------------

4 Users (1 owner, 0 manager(s), 2 user(s), 1 guest(s))

19 Apps (1 SDKv2, 18 SDKv3, 0 updateable, 0 disabled/crashed)

12 Zones

1116 Notifications

39 Variables (5 boolean (yes/no), 17 number, 17 string)

62 Flows (0 broken, 30 disabled)

4 Advanced flows (0 broken, 2 disabled)

----------------- Devices -------------------

15 Virtual devices

0 Infrared (database) devices

21 Other devices

14 Z-Wave nodes (11 Unsecure, 3 Secure (S0), 0 Secure (S2 Authenticated), 0 Secure (S2 Unauthenticated), 10 router, 4 battery, 3 unreachable, 0 Unknown node(s))

9 Zigbee nodes (8 router, 1 end device)

59 Total devices

———————————————————  
✅ Script Success

↩ Returned: “Overview finished”

---

<div class="post-metadata">

**Author:** ![johan\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_w/32/17556_2.png) [@johan\_W](https://community.homey.app/u/johan_W)\
**Post date:** [March 11, 2023, 5:50pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/29 "2023-03-11T17:50:02Z")

</div>

--------------- Homey Pro Overview --------------

Homey name: Homey  
Homey version: 8.1.3  
Homey model: Homey (Early 2016) (1 core(s))  
Uptime: 915402 (10 days, 14 hours, 16 minutes, 42 seconds)

Update available: None

------------------ Main ---------------------  
4 Users (1 owner, 0 manager(s), 2 user(s), 1 guest(s))  
44 Apps (4 SDKv2, 40 SDKv3, 1 updateable, 0 disabled/crashed)  
20 Zones  
155 Notifications  
41 Variables (6 boolean (yes/no), 18 number, 17 string)  
142 Flows (2 broken, 5 disabled)  
15 Advanced flows (0 broken, 0 disabled)

----------------- Devices -------------------

24 Virtual devices  
0 Infrared (database) devices  
20 Other devices  
1 Z-Wave nodes (0 Unsecure, 0 Secure (S0), 1 Secure (S2 Authenticated), 0 Secure (S2 Unauthenticated), 1 router, 0 battery, 0 unreachable, 0 Unknown node(s))  
80 Zigbee nodes (56 router, 24 end device)

118 Total devices

———————————————————  
✅ Script Success  
↩ Returned: “Overview finished”

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 8:23pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/30 "2023-03-11T20:23:25Z")

</div>

But with v1.2 of the script i’m a little ahead of you, the script now also shows the HomeyScript tokens and any Better Logic Variables if it is installed.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 11, 2023, 8:30pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/31 "2023-03-11T20:30:59Z")

</div>

Sorry m8, i am just getting behind my laptop, had it planned for monday or next week 🙂  
But i just PMed a small update:

```auto
await Homey.apps.getAppSettings({id: 'com.athom.homeyscript'})
  .then(result => log(result.tokens? Object.keys(result.tokens).length : 0 , 'Homey Script tokens') & log(result.scripts? Object.keys(result.scripts).length : 0 , 'Homey Script scripts'))
  .catch(err => {log('Failed: HomeyScript')})

I got an error because my tokens are null.
Also added count scripts to it, if you dont mind.
```

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 8:36pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/32 "2023-03-11T20:36:14Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> `I got an error because my tokens are null.`

A didn’t think/test that with 0 tokens, fix is implemented 👍🏻

> [@Arie\_J\_Godschalk](#):
>
> `Also added count scripts to it, if you dont mind.`

There are too many of these apps (4!), so i think that is going to get a bit too much.  
Feel free too add such for your own use of course.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [March 11, 2023, 8:42pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/33 "2023-03-11T20:42:50Z")

</div>

--------------- Homey Pro Overview --------------

Homey name: Homey Pro van Marcel

Homey version: 8.1.3

Homey model: Homey Pro (Early 2019) (2 core(s))

Uptime: 3162 (52 minutes, 42 seconds)

Update available: None

------------------ Main ---------------------

2 Users (1 owner, 0 manager(s), 0 user(s), 1 guest(s))

* * *

SDKv2 apps:

NEO Coolcam Homey Community Store

* * *

32 Apps (2 SDKv2, 30 SDKv3, 0 updateable, 0 disabled/crashed)

25 Zones

1572 Notifications

47 Variables (16 boolean (yes/no), 28 number, 3 string)

6 Flows (0 broken, 1 disabled)

32 Advanced flows (0 broken, 3 disabled)

29 Homey Script tokens

3 Better Logic Variables (0 boolean (yes/no), 3 number, 0 string)

----------------- Devices -------------------

5 Virtual devices

0 Infrared (database) devices

77 Other devices

17 Z-Wave nodes (17 Unsecure, 0 Secure (S0), 0 Secure (S2 Authenticated), 0 Secure (S2 Unauthenticated), 9 router, 8 battery, 2 unreachable, 0 Unknown node(s))

13 Zigbee nodes (6 router, 7 end device)

112 Total devices

——————————————————— ✅ Script Success

↩ Returned: “Overview finished”

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 11, 2023, 8:46pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/34 "2023-03-11T20:46:28Z")

</div>

> [@Caseda](#):
>
> There are too many of these apps (4!)

4 HomeyScript apps?

I mend, i added, next to the amount of HS tokens, the amount of HS scripts (data is already available where i placed it), it was in the part i send.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 8:50pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/35 "2023-03-11T20:50:29Z")

</div>

Aaah, I misunderstood my bad, yeah I saw that afterwards, not sure why I never thought of that one 😂 thanks you

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 11, 2023, 8:51pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/36 "2023-03-11T20:51:29Z")

</div>

Your welcome.

And what did you mean by 4 apps? The VDs?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [March 11, 2023, 8:54pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/37 "2023-03-11T20:54:01Z")

</div>

No I thought you meant count down apps like chronograph’s timers or countdown timers, technically there is even 5 with Flow Utilities also having those kind of options with timers.

---

<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:** [March 12, 2023, 2:08am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/38 "2023-03-12T02:08:18Z")

</div>

> [@Marcel\_Ubels](#):
>
> 1572 Notifications

@jero Number of notifications seems not limited imho? At least not to 100

---

<div class="post-metadata">

**Author:** ![Jumeira](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jumeira/32/69412_2.png) [@Jumeira](https://community.homey.app/u/Jumeira)\
**Post date:** [March 12, 2023, 7:11am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/39 "2023-03-12T07:11:56Z")

</div>

--------------- Homey Pro Overview v1.4 --------------

Homey name: Homey Pro  
Homey version: 8.1.3  
Homey model: Homey Pro (Early 2019) (2 core(s))  
Uptime: 28385 (7 hours, 53 minutes, 5 seconds)  
Update available: None

------------------ Main ---------------------

2 Users (1 owner, 0 manager(s), 1 user(s), 0 guest(s))  
23 Apps (2 SDKv2, 21 SDKv3, 0 updateable, 0 disabled/crashed)  
13 Zones  
32 Notifications  
4 Variables (0 boolean (yes/no), 4 number, 0 string)  
10 Flows (0 broken, 0 disabled)  
4 Advanced flows (0 broken, 0 disabled)  
Failed: Getting HomeyScript

----------------- Devices -------------------

8 Virtual devices  
0 Infrared (database) devices  
27 Other devices  
13 Z-Wave nodes (10 Unsecure, 1 Secure (S0), 2 Secure (S2 Authenticated), 0 Secure (S2 Unauthenticated), 10 router, 3 battery, 1 unreachable, 9 Unknown node(s))  
0 Zigbee nodes (0 router, 0 end device)  
48 Total devices

——————————————————— ✅ Script Success

↩ Returned: “Overview finished”

---

<div class="post-metadata">

**Author:** ![Niclas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niclas/32/13339_2.png) [@Niclas](https://community.homey.app/u/Niclas)\
**Post date:** [March 12, 2023, 10:48am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/40 "2023-03-12T10:48:55Z")

</div>

--------------- Homey Pro Overview v1.4 --------------

Homey name: Niclas Homey Pro

Homey version: 8.1.3

Homey model: Homey Pro (Early 2019) (2 core(s))

Uptime: 1015546 (11 days, 18 hours, 5 minutes, 46 seconds)

Update available: None

------------------ Main ---------------------

4 Users (1 owner, 1 manager(s), 2 user(s), 0 guest(s))

36 Apps (7 SDKv2, 29 SDKv3, 0 updateable, 0 disabled/crashed)

29 Zones

347 Notifications

61 Variables (0 boolean (yes/no), 60 number, 1 string)

514 Flows (0 broken, 9 disabled)

2 Advanced flows (0 broken, 0 disabled)

25 HomeyScript scripts (1 tokens)

----------------- Devices -------------------

28 Virtual devices

0 Infrared (database) devices

67 Other devices

33 Z-Wave nodes (32 Unsecure, 0 Secure (S0), 0 Secure (S2 Authenticated), 1 Secure (S2 Unauthenticated), 19 router, 14 battery, 0 unreachable, 0 Unknown node(s))

27 Zigbee nodes (6 router, 21 end device)

155 Total devices

——————————————————— ✅ Script Success

↩ Returned: “Overview finished”

[Previous page](https://community.homey.app/t/homey-pro-overview-script/77459.md?page=1)

[Next page](https://community.homey.app/t/homey-pro-overview-script/77459.md?page=3)
