Logic Machine Forum
Storage tab - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Storage tab (/showthread.php?tid=230)

Pages: 1 2


Storage tab - rocfusion - 28.02.2016

Hi,

I think it would be useful when there is an additional tab which shows which variables have been saved to storage.  Maybe allow them to be edited.  Literally like the objects tab.  At present when I am developing a script that stores something to storage,  I would have to write the stored variable to the log.  Although its quite workable to do it this way,  it is time consuming.

Thanks,


Roger


RE: Storage tab - Peter - 28.02.2016

+1 here too


RE: Storage tab - gjniewenhuijse - 29.02.2016

+2 here Smile


RE: Storage tab - admin - 29.02.2016

This can be implemented as a separate App. A version where you can only view storage variables is very easy to do. We can help a little bit if somebody is up to do it Wink


RE: Storage tab - gjniewenhuijse - 29.02.2016

(29.02.2016, 09:32)admin Wrote: This can be implemented as a separate App. A version where you can only view storage variables is very easy to do. We can help a little bit if somebody is up to do it Wink


no problem, i can give it a try.. where to start, i have the sample app up and running? Smile


RE: Storage tab - gjniewenhuijse - 01.03.2016

where to find more information / more sample apps?
I see only a sample widget, but some info is missing about:
- how to add a icon a startpage
- how to add lua code to the html file to get the storage vars


RE: Storage tab - admin - 02.03.2016

Sample Storage viewer app attached.

Follow this guide on how to upload it to your LM:
http://forum.logicmachine.net/showthread.php?tid=180


RE: Storage tab - gjniewenhuijse - 02.03.2016

(02.03.2016, 08:14)admin Wrote: Sample Storage viewer app attached.

Follow this guide on how to upload it to your LM:
http://forum.logicmachine.net/showthread.php?tid=180

great... thanks.


RE: Storage tab - buuuudzik - 02.03.2016

(02.03.2016, 08:14)admin Wrote: Sample Storage viewer app attached.

Follow this guide on how to upload it to your LM:
http://forum.logicmachine.net/showthread.php?tid=180

It worksWink If you can, it will be perfect if there will be some ability to edit this variables, but it is very good improvement also nowWink


RE: Storage tab - gjniewenhuijse - 02.03.2016

Maybe any idea why this example is very slow at loading from the mainmenu (more then 1 minute for 20 storage items)?

-In safari (ios) its slow every time
-In google chrome (windows) only the first load time

When i call http://myLM4/apps/data/storage/ directly, its not slow.


RE: Storage tab - admin - 02.03.2016

It is a known bug in beta FW that you are using, already fixed in current version.


RE: Storage tab - gjniewenhuijse - 02.03.2016

Is it possible to execute code on the server, like storage.delete('abc'), when a button/link is clicked.

Something like: <a href="javascript:alert(\''+item[ 0 ]+'\')">delete</a>


RE: Storage tab - gjniewenhuijse - 10.03.2016

(02.03.2016, 15:30)gjniewenhuijse Wrote: Is it possible to execute code on the server, like storage.delete('abc'), when a button/link is clicked.

Something like: <a href="javascript:alert(\''+item[ 0 ]+'\')">delete</a>

UP


RE: Storage tab - admin - 11.03.2016

Patience Smile
I'll update the example next week.


RE: Storage tab - gjniewenhuijse - 11.03.2016

(11.03.2016, 08:04)admin Wrote: Patience Smile
I'll update the example next week.

thanks Big Grin


RE: Storage tab - admin - 05.04.2016

Sorry for the delay, example updated with delete feature.


RE: Storage tab - buuuudzik - 06.04.2016

(05.04.2016, 12:10)admin Wrote: Sorry for the delay, example updated with delete feature.

Very good function. Thanks adminWink


RE: Storage tab - admin - 15.07.2016

You can now install this app directly from our store if you are running the latest FW Wink


RE: Storage tab - duvelken - 15.07.2016

where do i find the app store ?


RE: Storage tab - admin - 15.07.2016

Go to the main page, click user icon, provide admin password then click plus icon in the top right corner. There you can manage and install new apps. Assuming you are running latest firmware of course Smile