# \[APP\]\[Pro\] Better Logic Library - Just some better logic, variable and library management

**URL:** <https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, bll\
**Created:** [December 16, 2018, 10:29pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568 "2018-12-16T22:29:57Z")\
**Posts on this page:** 20\
**Page:** 18

<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:** [June 22, 2023, 5:45am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/349 "2023-06-22T05:45:10Z")

</div>

Thanks for the donation 🙂

---

<div class="post-metadata">

**Author:** ![Pieter\_Pessers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieter_pessers/32/8848_2.png) [@Pieter\_Pessers](https://community.homey.app/u/Pieter_Pessers)\
**Post date:** [June 22, 2023, 6:24am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/350 "2023-06-22T06:24:27Z")

</div>

Your welcome. Thanks for your support.

---

<div class="post-metadata">

**Author:** ![ChrisG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chrisg/32/8825_2.png) [@ChrisG](https://community.homey.app/u/ChrisG)\
**Post date:** [June 22, 2023, 7:37am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/351 "2023-06-22T07:37:24Z")

</div>

GM Arie

Note, when opening the App Settings Page with the HP2023, only an “Error” message comes up…

Chris

---

<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:** [June 22, 2023, 8:27am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/352 "2023-06-22T08:27:14Z")

</div>

@cgHome Show me the error / printscreen please?

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [June 22, 2023, 9:27am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/353 "2023-06-22T09:27:42Z")

</div>

Sorry, is this for me?

---

<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:** [June 22, 2023, 9:28am UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/354 "2023-06-22T09:28:58Z")

</div>

No, sorry, my bad.

---

<div class="post-metadata">

**Author:** ![schmucke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/schmucke/32/79913_2.png) [@schmucke](https://community.homey.app/u/schmucke)\
**Post date:** [June 24, 2023, 8:35pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/355 "2023-06-24T20:35:25Z")

</div>

Hello @Arie_J_Godschalk,  
I have migrate from 2019 to '23 - now are insights will not be updatet.  
The value in BetterLogic ist changing, but nothin happened in insights.

---

<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:** [June 24, 2023, 8:44pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/356 "2023-06-24T20:44:18Z")

</div>

> [@schmucke](#):
>
> I have migrate from 2019 to '23 - now are insights will not be updatet.  
> The value in BetterLogic ist changing, but nothin happened in insights.

Yeah, i have reported this to Athom and waiting for a fix on it, it’s behond the scope of the app itself, it’s a bug om the HP2023.

---

<div class="post-metadata">

**Author:** ![schmucke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/schmucke/32/79913_2.png) [@schmucke](https://community.homey.app/u/schmucke)\
**Post date:** [June 24, 2023, 8:47pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/357 "2023-06-24T20:47:46Z")

</div>

Thank you very much \<3

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [June 27, 2023, 1:58pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/358 "2023-06-27T13:58:54Z")

</div>

Arie I sent you debug log - dc0c61f0-60dd-4bc8-afee-4d7f190d34b6 - not sure what you will see there, but basically I have enabled file server to replace another app and lower memory utilisation and as soon as I access Homey on the file server URL, it crashes.

`status	"ok"`

and after…

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/527d01995a346aad58fab110dd90d39173721d84.png)

Btw how to I upload files there? 😉 Is it possible to use it as MP3 storage to play then with Google Chromecast ?

---

<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:** [June 27, 2023, 6:47pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/359 "2023-06-27T18:47:34Z")

</div>

@Sharkys

Yes its possible, can you create a ticket, i’ll create a short manual how to do this with the betterlogiclibrary npm packages, it already contains all you need for it.  
I have it implemented in multiple apps, and there are multiple ways to upload a file.  
I just need to add it to the developer page.

Please let me know how you accessed it, so i can build in some response message for it.

---

<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:** [June 27, 2023, 6:58pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/360 "2023-06-27T18:58:03Z")

</div>

> [@Sharkys](#):
>
> Is it possible to use it as MP3 storage to play then with Google Chromecast

It is mend to serve short-living files, if you want to really store files, better use the MicroWebServer with the ftpclient for example.  
Altho, the ftp client uses very little MB/resources, and uses BLL 🙂

But please ket me know how you would want to use BLL’s fileserver for chromecast?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [June 27, 2023, 7:20pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/361 "2023-06-27T19:20:38Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> It is mend to serve short-living files

Yeah, I was thinking that’s maybe the primary purpose - eg. to download export and then close webserver.  
It’s also true it’s kind of hidden advanced functionality so **maybe it’s not worth to implement it** , after all I’m using MicroWebserver already…just I got the idea to get rid of one app, nothing more 😉

> [@Arie\_J\_Godschalk](#):
>
> how you would want to use BLL’s fileserver for chromecast?

I thought it would be possible the same way as MicroWebServer … ?

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/101f49802078aab4236d209e581329b83e644891.png)  
(not sure if eg. Cast Audio URL wouldn’t be faster but that do not work for some reason and is described also as known bug in MicroWebServer app)

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7ad830e3714e5bfb2caceb130378f006e364db98.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:** [June 27, 2023, 7:57pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/362 "2023-06-27T19:57:49Z")

</div>

> [@Sharkys](#):
>
> not sure if eg. Cast Audio URL wouldn’t be faster but that do not work for some reason and is described also as known bug in MicroWebServer app)

Install the FTP client app, create a FTP device (micro webserver will be found automaticly).  
Now use the ftp client flowcard to retrieve an URL to a file and cast that URL. It should work.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [June 27, 2023, 7:59pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/363 "2023-06-27T19:59:21Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Install the FTP client app

Thank you, but that will not help me with intention to lower nr. of app ;-))))

---

<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:** [June 27, 2023, 8:03pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/364 "2023-06-27T20:03:59Z")

</div>

Haha no, altho ftp client only uses 7mb memory on hp2019, its very lightweight.  
I can buildin a flowcard into BLL to retrieve a file from url and respond it through the buildin fileserver.  
Than you can use that MWS url, and you will get an BLL url (local and cloud) which you can than cast.  
It should work (ftp does the same) and all functionalities are there already and you would not need an extra app 🙂

---

<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:** [June 27, 2023, 8:08pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/365 "2023-06-27T20:08:19Z")

</div>

Perhaps you could test it once, to see if the url from ftp client does work to cast?  
If so, i can build it easily into BLL what you need.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [June 27, 2023, 8:09pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/366 "2023-06-27T20:09:53Z")

</div>

Thank you Arie, the question is - is it within intended scope of BLL ? I’m not sure… sound as good idea but question is if someone will be using it…

Re FTP, will check if I really understand what you mean. Problem is that kids are sleeping already so maybe tomorrow will be sound check 😉

Thank you for your support !

---

<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:** [June 27, 2023, 8:16pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/367 "2023-06-27T20:16:17Z")

</div>

> [@Sharkys](#):
>
> Thank you Arie, the question is - is it within intended scope of BLL ?

Well, yes, the idea of the BLL fileserver, is to make local/LAN files available for a short period with unique id/keys, that can be accessed locally but also through the cloud, thus you can access those files anywhere.  
Meaning, you can send files that are somehow connected to homey, to any device, even if that one is not on the LAN.

One of the big advantages is exporting excel files from f.i. Simple-LOG on the Homey Mobile App while you are on holidays, or when you want to send it to a cloud service.

Having a flowcard that transforms a local/lan url into a temporary keyed cloud url was always on my todo list, since that will allow sending files directly to another cloud service.

Plus, the whole system/ functionality is already there, i am just missing the flowcard for it 😉

---

<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:** [June 27, 2023, 8:22pm UTC](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568/368 "2023-06-27T20:22:54Z")

</div>

> [@Sharkys](#):
>
> Re FTP, will check if I really understand what you mean

Well, the FTP client will allow you to browse through the MWS and get an URL for any file. But that url is not the MWS url, but a FTP client url (it has a fileserver which was the basis for the BLL fileserver which i am already migrating to to make the ftp client use even less resources and the BLL fileserver is more advanced).  
If casting the mws file through the ftp client flowcard url does work, than i know for certain the to-create BLL flowcard will work also.

[Previous page](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568.md?page=17)

[Next page](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568.md?page=19)
