Skip to main content

Button Datapoint Action

  1. Navigate to HSYCO Manager

  2. Create a new project or open an existing one

  1. Click "add"

4. Add a "Button". This button will control a single dummy light

  1. Go back to "edit" mode

  1. Change the "Label" to "Dummy Light 1"

  1. Change the "Action" to "datapoint"

  1. Change the "Datapoint" to "dummy.light.1"

  1. Change the size of the button so that the "Label" is clearly visible

  1. You can align the button by clicking "Align" and then "Center Vertically" and moving it to the left or right

  1. Click "add"

12. Add another "Button". This will control a dummy dimmer light

  1. Go back to "edit" panel

  1. Change the "Label" to "Dummy Dimmer 1"

  1. Change the "Action" to "datapoint"

  1. Change the "Datapoint" to "dummy.dimmer.1"

  1. Change the size like before

  1. Align this button next to the other

  1. The page should look like this:

  1. Click "Save" to save the project

Tip: Done! This two buttons now control two different datapoints, a light ("dummy.light.1") and a dimmer ("dummy.dimmer.1") Now let's try them

  1. Click "Run" and then "Default"

  1. The page should be the same as the "Project Editor"

  1. Click the "Dummy Light 1" button

  1. As you can see, the "dummy.light.1" datapoint is now "On"

  1. Click the button again

  1. Now the light is back to "Off"

  1. Click and press the "Dummy Dimmer 1" button to open the little menu and change the intensity of the dimmer

  1. By changing the intensity the button shows that the dimmer is now "On" at 52%

  1. We can also turn the dimmer "Off" by setting the intensity to 0%