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! RE: How to store user’s settings - sck - 09.08.2024 (09.05.2024, 09:35)sck Wrote:(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. Hi again, could you let me know the complete rage of the virtual objects? I haven´t seen it on the LM manual. Thanks! RE: How to store user’s settings - Daniel - 09.08.2024 32/0/0-63/7/255 RE: How to store user’s settings - sck - 09.08.2024 (09.08.2024, 13:15)Daniel Wrote: 32/0/0-63/7/255 Dear Daniel, thank you for your prompt response! I have created a new virtual address but I cannot use it on Mosaic since it does not appear there yet. What I have to do it to be able to use it there? RE: How to store user’s settings - Daniel - 09.08.2024 It is most likely wrong DPT then the address, Mosaic widgets has predefined DPTs which can be linked. RE: How to store user’s settings - sck - 09.08.2024 (09.08.2024, 13:44)Daniel Wrote: It is most likely wrong DPT then the address, Mosaic widgets has predefined DPTs which can be linked. thanks! |