# \[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:** 6

<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:** [October 9, 2023, 7:35am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/105 "2023-10-09T07:35:35Z")

</div>

It means the app is disabled or crashed, a device can still report to Homey (what the dev tools shows) even when an APP is disabled or even completely non existent.

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 9, 2023, 7:49am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/106 "2023-10-09T07:49:13Z")

</div>

There isn’t an app for this.  
It’s added through Homey’s way of Zigbee integration.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/be822e53ca64d5593be9c5d64479de90583bf795.png)

---

<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:** [October 9, 2023, 10:02am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/107 "2023-10-09T10:02:33Z")

</div>

Then the only option will be to contact Athom with the bug and restart Homey to see if that fixes it.  
I’m only retrieving the current state of devices, and if that device states it is unavailable, then it should be unavailable in your devices (Homey app or web app) too.

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [October 16, 2023, 9:18am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/108 "2023-10-16T09:18:56Z")

</div>

Yes. I will do that, but Athom takes over 3 weeks to reply now.  
Don’t know what happened to their support 😮

---

<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:** [October 16, 2023, 8:09pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/109 "2023-10-16T20:09:47Z")

</div>

v1.15 just released with just another small addition, all your insight entries, looks like I had way! more then I expected with 1358 different (“unique”) entries myself, even after a big clean-up 🤯.

### Changelog:

- v1.15 (October 16, 2023):
  - Added: Insight entries (boolean (yes/no) & numbers)

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [February 6, 2024, 4:47pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/110 "2024-02-06T16:47:16Z")

</div>

Hi,

Would it be possible to add a function like this:

“const showWifiDevices = true; // Names of all Wifi 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:** [February 6, 2024, 6:00pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/111 "2024-02-06T18:00:11Z")

</div>

If there was something like that possible I would, but Homey has no way of knowing which device is WiFi/LAN, there is no specific flag for that or something. (at least not 1 that all developers have used)

---

<div class="post-metadata">

**Author:** ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)\
**Post date:** [March 6, 2024, 9:29am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/112 "2024-03-06T09:29:23Z")

</div>

Thank you Caseda for sharing this Homeyscript, much appreciated.

---

<div class="post-metadata">

**Author:** ![Comgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/comgen/32/102270_2.png) [@Comgen](https://community.homey.app/u/Comgen)\
**Post date:** [March 6, 2024, 4:12pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/113 "2024-03-06T16:12:06Z")

</div>

//delete notifications - clear timeline

Homey.notifications.deleteNotifications();

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [March 27, 2024, 7:40pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/114 "2024-03-27T19:40:19Z")

</div>

Hello,

How can I get the output of this overview sent to email or something else?  
I would like to run this on weekly basis to check on 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 27, 2024, 8:02pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/115 "2024-03-27T20:02:58Z")

</div>

For that the code would need a pretty big change, don’t think I have time to change (/make a variant) the code for that in the few upcoming weeks though.

---

<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 28, 2024, 12:59am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/116 "2024-03-28T00:59:23Z")

</div>

Yes, you could run it in the Homeyscript flow card “Run code and return text tag”;  
Paste the script into the code field;  
Change the final `return` line to:

```auto
return other + 'Other devices' + allDevices + 'Total devices';

```

(Not tested, but it’s the principle)

That flowcard provides for a local tag, which holds the data the script returned;

That tag can then be used in a message app card of your choice, like, ‘Email Sender’

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [March 28, 2024, 7:08am UTC](https://community.homey.app/t/homey-pro-overview-script/77459/117 "2024-03-28T07:08:47Z")

</div>

It returns:

↩ Returned: “77Other devices99Total 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:** [May 6, 2024, 7:29pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/118 "2024-05-06T19:29:28Z")

</div>

I’ve updated the script because of the new moods that Homey Pro (early 2023) now has.

But also the latest update for HomeyScript updates the used Homey API, and that has a very small change for the zigbee module (`zigbee` vs `zigBee`, see the difference? 😉) which failed the zigbee part of the overview, so the script is now taking this into account that it will work on the older HomeyScript version as well as the new version.

In the mean time i’ve also added zone names as overview option (wanted the zones available for the Moods to make that overview more clear).  
And also the image count (with URLs if you enable it).  
the URLs overview will be only the latter part of the URL as the only full URL I can get is including the Cloud ID and I don’t want people sharing that, even if it is accidentally.

Changelog:  
v1.16

- Fixed: New API uses `zigbee` vs `zigBee`, now taking this into account
- Added: Zone names overview
- Added: Moods (Homey Pro (early 2023) only, not available for the older Homey Pros (yet?))
- Added: Images (Homey Pro (early 2023) only, missing scopes on the older Homey Pros)

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [May 10, 2024, 12:33pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/119 "2024-05-10T12:33:17Z")

</div>

still no option to get the output in a tag ☹

---

<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:** [May 10, 2024, 3:50pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/120 "2024-05-10T15:50:18Z")

</div>

Cause it won’t be an option, it will be an entirely new script, as the amount of changes necessary it will be easier to start pretty much a new.  
Not getting paid for it or anything, would do it out of the good of my heart, in my own free time, which I already lacked of the last 8/9 weeks.

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [May 10, 2024, 5:28pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/121 "2024-05-10T17:28:29Z")

</div>

If it helps I could donate some money for your time.

---

<div class="post-metadata">

**Author:** ![SingKT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/singkt/32/173226_2.png) [@SingKT](https://community.homey.app/u/SingKT)\
**Post date:** [May 10, 2024, 9:03pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/122 "2024-05-10T21:03:01Z")

</div>

Schon mal ChatGPT gebeten das Script entsprechend anzupassen?  
Sorry.  
Meant to say: have you tried ChatGPT to get the script altered according your wish?

---

<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:** [May 10, 2024, 9:26pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/123 "2024-05-10T21:26:09Z")

</div>

If you could please keep the conversation in English as much as possible, then more people will be able to participate. If you would rather not or can’t communicate in English then please check out Non-English boards/categories:

[Deutsch (German)](https://community.homey.app/c/deutsch)

But feel free to try it with ChatGPT or any other large language model “AI” (that doesn’t know the currently used API version).

---

<div class="post-metadata">

**Author:** ![SingKT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/singkt/32/173226_2.png) [@SingKT](https://community.homey.app/u/SingKT)\
**Post date:** [May 11, 2024, 8:17pm UTC](https://community.homey.app/t/homey-pro-overview-script/77459/124 "2024-05-11T20:17:22Z")

</div>

Sorry a second time. Just tried the PC version of ChatGPT 3.5. It wasn’t easy to make it understand what it should do. It provided on every try interesting solution snippets. Couldn’t get it to deliver a complete one. Some snippets did work well, some not so.

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

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