Right now there is no direct way to do it, widget objects have only a bit status. Our scenes can be triggered from a bit object but how do you know if a scene is still active? You could monitor all status objects and update it via a script.
(09.01.2023, 13:43)Daniel Wrote: Right now there is no direct way to do it, widget objects have only a bit status. Our scenes can be triggered from a bit object but how do you know if a scene is still active? You could monitor all status objects and update it via a script.
I´m using scene to select which adress is send to the bus on event and the feedback in visu would be fine.
select=grp.getvalue("32/1/3")
if (select == 0)
then
elseif (select == 1)
then
grp.write("1/0/1", event.getvalue())
elseif (select == 2)
then
grp.write("1/0/2", event.getvalue())
elseif (select == 3)
then
grp.write("1/0/1", event.getvalue())
grp.write("1/0/2", event.getvalue())
end
You can make 3 bit objects and on press of one to true you trigger your first scene and write false to other two. Do the same with all three. 3 event scripts and you done.