rhamer
16-07-2005, 09:14 AM
Does any body have an example of building a class from within a scenario? And also when do you run it.
I am finally finding time to recommission my Thinkboxx in my new house and I want to build the classic 'All Lights' class. I didn't do it this way in my old place, I just used a C-Bus area address.
I remembered if you build the class by hand using the GUI when the controller is reloaded it looses all the class elements. So you have to do it in a scenario.
I created a scenario called 'Build All Lights Class' and put stuff like this in it;
Add 'Bathroom 37 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 2 WIR 24 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 2 23 [Lighting]' to 'All C-Bus Lights'.
Add 'Bathroom Vanity S~01 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 3 25 [Lighting]' to 'All C-Bus Lights'.
etc.....
I then included this scenario in my always scenario so it would add the elements on startup.
That all worked ok, but then I noticed that Thinkboxx stopped doing anything else. It seemed to be hanging.
I removed the include from the always scenario and reloaded the controller and it works again.
So am I doing it correctly? I even read the Thinkboxx manual and I think I'm doing it right.
Any Ideas?
I am using V4.0.6
Regards
Rohan
I am finally finding time to recommission my Thinkboxx in my new house and I want to build the classic 'All Lights' class. I didn't do it this way in my old place, I just used a C-Bus area address.
I remembered if you build the class by hand using the GUI when the controller is reloaded it looses all the class elements. So you have to do it in a scenario.
I created a scenario called 'Build All Lights Class' and put stuff like this in it;
Add 'Bathroom 37 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 2 WIR 24 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 2 23 [Lighting]' to 'All C-Bus Lights'.
Add 'Bathroom Vanity S~01 [Lighting]' to 'All C-Bus Lights'.
Add 'Bedroom 3 25 [Lighting]' to 'All C-Bus Lights'.
etc.....
I then included this scenario in my always scenario so it would add the elements on startup.
That all worked ok, but then I noticed that Thinkboxx stopped doing anything else. It seemed to be hanging.
I removed the include from the always scenario and reloaded the controller and it works again.
So am I doing it correctly? I even read the Thinkboxx manual and I think I'm doing it right.
Any Ideas?
I am using V4.0.6
Regards
Rohan