06.09.2019, 20:13
(06.09.2019, 19:01)Jayce Wrote: Hello,I guess i understand what you mean. Just add additional icons. And add on value and off value.
in my visualization I have a simple button, that changes 1 byte (scale 0-100%) value of dim light. The button has a nice bulb-like icon. Is it possible so that when the value of said object is 0%, the bulb shows as OFF (icon of bulb not shining) and as soon as I turn the value to 1 or more the icon changes to active state (icon of bulb shining as if it was ON).
I feel like this is super simple but I can't figure it out. When I change the value to 1 or more right now, the icon stays off since I can only choose one default icon in visualization parameters. I had an idea of a resident script that checks if the light is set to 1 or more every let's say 5 seconds, if it is it simply turns on group address of some flag object, then I tried to link that flag object as status of the main 1 byte function but obviously I can't use 1 bit object as status of 1 byte object. Any ideas how can I accomplish this? Thank you in advance for any advice.
If it is wrong i guess brighter guys will answer later.