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 that you accept these cookies being set.

How to store user’s settings
#1
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 !!
Reply
#2
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.
------------------------------
Ctrl+F5
Reply
#3
(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!
Reply
#4
(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.

Thanks!

Hi again, could you let me know the complete rage of the virtual objects? I haven´t seen it on the LM manual. Thanks!
Reply
#5
32/0/0-63/7/255
------------------------------
Ctrl+F5
Reply
#6
(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?
Reply
#7
It is most likely wrong DPT then the address, Mosaic widgets has predefined DPTs which can be linked.
------------------------------
Ctrl+F5
Reply
#8
(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!
Reply


Forum Jump: