Logic Machine Forum
How to store user’s settings - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: How to store user’s settings (/showthread.php?tid=5409)



How to store user’s settings - sck - 07.05.2024

Hi! I would like to have a control page on mosaic or similar that lets me define the brightness of lights per room. From that page the user can establishes this parameter and from the wall switches I will read it and with one press it will establish the appropriate brightness. Can you recommend where to store that data? Virtual addresses for example?
Thanks !!


RE: How to store user’s settings - Daniel - 08.05.2024

You can just use a virtual object to store the brightness value. An event script attached to your wall switch object which will read your brightness and send it to your room object.


RE: How to store user’s settings - sck - 09.05.2024

(08.05.2024, 06:35)Daniel Wrote: You can just use a virtual object to store the brightness value. An event script attached to your wall switch object which will read your brightness and send it to your room object.

Thanks!