This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

Storage tab
#1
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
Reply
#2
+1 here too
Reply
#3
+2 here Smile
Reply
#4
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
Reply
#5
(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
Reply
#6
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
Reply
#7
Sample Storage viewer app attached.

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

Attached Files
.zip   storage.zip (Size: 8.56 KB / Downloads: 29)
Reply
#8
(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.
Reply
#9
(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
Reply
#10
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.
Reply
#11
It is a known bug in beta FW that you are using, already fixed in current version.
Reply
#12
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>
Reply
#13
(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
Reply
#14
Patience Smile
I'll update the example next week.
Reply
#15
(11.03.2016, 08:04)admin Wrote: Patience Smile
I'll update the example next week.

thanks Big Grin
Reply
#16
Sorry for the delay, example updated with delete feature.

Attached Files
.zip   storage.zip (Size: 8.97 KB / Downloads: 34)
Reply
#17
(05.04.2016, 12:10)admin Wrote: Sorry for the delay, example updated with delete feature.

Very good function. Thanks adminWink
Reply
#18
You can now install this app directly from our store if you are running the latest FW Wink
Reply
#19
where do i find the app store ?
Reply
#20
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
Reply


Forum Jump: