CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:third-party-tools:guidesigner-plugins:cbus-plugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:third-party-tools:guidesigner-plugins:cbus-plugin [2015/09/27 08:53]
dogs_au [Adding The Commands]
software:third-party-tools:guidesigner-plugins:cbus-plugin [2015/10/04 09:42] (current)
dogs_au [Items Not Working Properly]
Line 135: Line 135:
 {{ :​software:​third-party-tools:​guidesigner-plugins:​add.png |}} {{ :​software:​third-party-tools:​guidesigner-plugins:​add.png |}}
 } }
 +
 +
 ===== Adding The Commands ===== ===== Adding The Commands =====
  
Line 171: Line 173:
 **ADDING THE COMMANDS TO BUTTONS** **ADDING THE COMMANDS TO BUTTONS**
  
-Individual lights+**Individual lights**
  
 To make a light work, you will require a single button (on/off state) and a slider, the way the JS module is written you will require both the toggle and the ramp of the system for it to work. Even if you do not require the slider as the light you are trying to control is just on / off, a slider will be required, this can be placed on a cache page in your gui project and not ever brought to screen. To make a light work, you will require a single button (on/off state) and a slider, the way the JS module is written you will require both the toggle and the ramp of the system for it to work. Even if you do not require the slider as the light you are trying to control is just on / off, a slider will be required, this can be placed on a cache page in your gui project and not ever brought to screen.
Line 185: Line 187:
 NOTE: when selecting command make sure you use the "​toggle command"​ not the "​ramp"​ command. NOTE: when selecting command make sure you use the "​toggle command"​ not the "​ramp"​ command.
  
-Once you have selected the lighting command, the next step is to do the digital join, in this example we will use digital join 5001. The reason we have used 5001 is as follows:+Once you have selected the toggle ​lighting command, the next step is to do the __digital join__, in this example we will use digital join 5001. The reason we have used 5001 is as follows:
  
 The 5000 part of the address is the base address join we selected earlier in __Commandfusion Adding the Project - Lighting and Trigger base joins__ prior to adding the cbus to cbus system in commandfusion. The 5000 part of the address is the base address join we selected earlier in __Commandfusion Adding the Project - Lighting and Trigger base joins__ prior to adding the cbus to cbus system in commandfusion.
Line 195: Line 197:
 Slider Slider
  
-Below I have shown the slider ​command property, notice the (56,1)in the JavaScript box, we are only interested in the 1. This is the address we need for feedback and control, also notice that it is the same address as the toggle command property.+Below I have shown the ramp command property, notice the (56,1)in the JavaScript box, we are only interested in the 1. This is the address we need for feedback and control, also notice that it is the same address as the toggle command property
 + 
 +{{ :​software:​third-party-tools:​guidesigner-plugins:​ramp_command_properties.png |}} 
 + 
 +Next create your preferred slider, //Note:do not drag the command into the slider as it will automatically place the command into "​on-drag"​ in the sliders properties//​. For sliders we require the command to be in the "On Release"​ tab. Open the "On Release"​ tab and select your preferred command, in this example it will be "​-ramp- L1 PORCH LIGHTS -cbus56- -js-"​ 
 + 
 +NOTE: when selecting command make sure you use the "ramp command"​ not the "​toggle"​ command. 
 + 
 +Once you have selected the ramp lighting command, the next step is to do the __analogue join__, and "​Simulate Feedback"​ must be selected. In this example we will use digital join 5001. The reason we have used 5001 is as follows: 
 + 
 +The 5000 part of the address is the base address join we selected earlier in __Commandfusion Adding the Project - Lighting and Trigger base joins__ prior to adding the cbus to cbus system in commandfusion. 
 + 
 +The 0001 portion of the address is the address of the cbus light we are going to control, the address is shown in the above screen shot of the system command property. 
 + 
 +{{ :​software:​third-party-tools:​guidesigner-plugins:​ramp_button_properties.png |}} 
 + 
 +Lighting Level 
 + 
 +This is not actually required to make the cbus module module work, it is only a text of the light level. Earlier on in the __Commandfusion Adding the Project - Level and Display__ we selected the type of level shown, be it unit between 0-255 or percentage 0%-100%, which ever was selected will be the way it is shown with the light level on your device. 
 + 
 +{{ :​software:​third-party-tools:​guidesigner-plugins:​light_level.png |}} 
 + 
 +All that is required is to place a text box as shown above screenshot then place the number of your join into the serial join box, the number of the join will be the digital and analogue join of light that is to be controlled, in this example it is serial join 5001. 
 + 
 +**Scenes** 
 + 
 +Still to add to wiki 
 + 
 +__**Congratulations you are ready to upload.**__ 
 + 
 + 
 +===== Items Not Working Properly ===== 
 + 
 +**Broadcast** 
 + 
 +Broadcast does not automatically add, broadcast must be added manually. See "​system broadcast"​ in "​Commandfusion Systems and Cbus Toolbox"​ chapter. 
 + 
 +**Scenes** 
 + 
 +Scenes do not load from cbus project, have to be added manually, same format as ramp or toggle, javascript will be " cbus.scene(202,​3,​2);​ ", you will have to interrogate your cbus system in cbus toolkit or cbus piced. format breakdown is as follows "​202"​ this is scenes and will not change in commandfusion. "​3"​ is the trigger in cbus. "​2"​ is the action selector in cbus. Note when adding the join in commandfusion for feedback it will look like "​6003002"​. The "​6"​ is the base join you picked in joins in cbus toolbox for commandfusion. "​003"​ is the trigger. "​002"​ is the action selector.
software/third-party-tools/guidesigner-plugins/cbus-plugin.1443343991.txt.gz · Last modified: 2015/09/27 08:53 by dogs_au