# \[APP\]\[Pro\] Better Logic Library - For Users

**URL:** <https://community.homey.app/t/app-pro-better-logic-library-for-users/71876>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, logic, bll\
**Created:** [November 7, 2022, 10:13pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876 "2022-11-07T22:13:40Z")\
**Posts on this page:** 10\
**Page:** 14

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [October 9, 2026, 3:02pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/272 "2026-10-09T15:02:54Z")

</div>

Think I had the same issue.

 ![Screenshot 2026-10-09 at 18.00.24](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bf7c4632892da1bf8237c82973f3ec02d6ff5748.png)

However I did not send a diag before restarting and after a restart it is working.

---

<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:** [October 9, 2026, 3:17pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/273 "2026-10-09T15:17:38Z")

</div>

> [@OH2TH](#):
>
> Think I had the same issue.

Thanks for letting me know.

It happends sometimes after a reinstall/update that the api doesnt boot correctly.  
I have added many logging lines to see why that happends, because i never can reproduce the issue myself, so i need to solve this from the diagnostics.  
Since after any random restart solves the issue, its a bit difficult to find the exact reason (even debugging someone else homey wouldnt work, because as soon as its installed through the CLI the problem will also be solved).

I plan on taking out my old homey 2016 model or 2019 and see if i csn reproduce it on those slower system next week.

**If anyone has this issue: please send a diagnostic before restarting the app. Thanks!**

---

<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:** [October 9, 2026, 7:00pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/274 "2026-10-09T19:00:31Z")

</div>

I just completly rewrote the way BLL startsup.  
Reason was that it uses its own library through the API to startup and load its modules.  
This, completly randomly, sometimes made the app not start-up. And this creates issues for other Apps like Device Capabilities.

I rewrote this whole part, so BLL loads its module directly from the disk instead of going through its own API for those files.

This seems to work, because i now load everything directly on the app.init, instead of a part in a async method.  
This also increases the loading time from about 5-7 seconds to less then 1 second (on my HP at least). Plus, drivers/devices are now only loaded after the app itself is completly loaded and running.

The BLL Update is live.

@OH2TH and @Greuh

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [October 9, 2026, 9:13pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/275 "2026-10-09T21:13:25Z")

</div>

perfect. thanks a lot…

---

<div class="post-metadata">

**Author:** ![Patric\_Hedin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patric_hedin/32/56421_2.png) [@Patric\_Hedin](https://community.homey.app/u/Patric_Hedin)\
**Post date:** [October 10, 2026, 5:51am UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/276 "2026-10-10T05:51:01Z")

</div>

Since the last update (4.2.0) it is no longer possible to declare constants or variables (ie const, var, let) in an “Execute as Tag”:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/1/7129f1eb3407e08ed67a926515de8ee4432e9427.png)

---

<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:** [October 10, 2026, 6:16am UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/277 "2026-10-10T06:16:30Z")

</div>

@Patric_Hedin  
You can now again with 4.2.1.

---

<div class="post-metadata">

**Author:** ![Patric\_Hedin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patric_hedin/32/56421_2.png) [@Patric\_Hedin](https://community.homey.app/u/Patric_Hedin)\
**Post date:** [October 10, 2026, 6:46am UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/278 "2026-10-10T06:46:23Z")

</div>

Thanks a lot @Arie_J_Godschalk 🙏

And fixed on a saturday morning within an hour 😍

---

<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:** [October 10, 2026, 6:58am UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/279 "2026-10-10T06:58:44Z")

</div>

> [@Patric\_Hedin](#):
>
> And fixed on a saturday morning within an hour 😍

😉

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [October 14, 2026, 2:35pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/280 "2026-10-14T14:35:32Z")

</div>

Amazing, thanks!

Can you make this trigger work?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/209f4e61c45ca38d25d9d52605585e6b26617785.png)

---

<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:** [October 14, 2026, 2:36pm UTC](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/281 "2026-10-14T14:36:19Z")

</div>

> [@Rrrr](#):
>
> Can you make this trigger work?

It isn’t working?

Can you send me a PM?

[Previous page](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876.md?page=13)
