Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The VX scenario node is a multifunctional adjastable node in beta testing. You can select up to 5 groups to be controlled simultaneously, and each group/sensor/button can only be used once in a VX scenario node.

There are three functions which can be used in this node:

  • MS - Motion Sensor,

  • CP - Control Panel,

  • LS - Light Sensor.

They can be used in the following configurations:

  • one mode - MS or CP,

  • two modes - MS+CP, MS+LS, CP+LS,

  • three modes - MS+CP+LS.

The Light sensor node can’t be used on its' own.

image-20240216-112341.png

In the next sections of this article we will show you what a flow with this node will look like, talk about each of the modes and how to set them up.

Info

Import the ready made flow using the instructions here: Importing a Node-RED flow or create a flow using the nodes shown below.

Code Block
[{"id":"5a5ab95e.aef4e8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"7d064c8a.b56674","type":"vertex cluster","z":"5a5ab95e.aef4e8","rate":90,"x":570,"y":340,"wires":[]},{"id":"b244392d.97a3f8","type":"VX scenario MS+CP+LS","z":"5a5ab95e.aef4e8","version":1,"name":"","out_target":["ea849cbef749d1ad0077319c4eb903f6"],"in_lightsensor":"00024F2AE6FEB58E4F","in_sensors":["00024F2AE6FEB58E4F"],"in_panels":["00AB80CFBEEDB9F26E"],"ms_level_on":"60","ms_level_standby":10,"ms_level_off":0,"ms_time_hold":60,"ms_time_standby":10,"ms_time_dead":10,"ls_mode_dh":true,"ls_target":"30","ls_tolerance":50,"ls_limit_min":0,"ls_limit_max":100,"cp_feedback_enabled":false,"cp_schema":"[100, \"UP\", 0, \"DOWN\"]","cp_schema_type":"cp_scenario","x":350,"y":340,"wires":[["7d064c8a.b56674"],[]]}]
image-20240216-112540.png

Motion sensor settings

When selecting the MS mode these are the settings that will appear.

  • Target settings - select up to five groups you want to control [1].

  • Triggers settings - select motion sensors [2] that will be triggering selected groups.

  • Motion sensor settings.
    Choose the scenes you want to be called in ON/STANDBY/OFF scenarios [3]. Here you can select groups you have made in the MUI Creating lighting scenes.
    Set the hold, standby and dead times [4].

image-20240216-122747.png

Control panel settings

When selecting the CP mode these are the settings that will appear.

  • Target settings - select up to five groups you want to control [5].

  • Triggers settings - select control panels [6].

  • Panel Settings let you choose a preset button scheme and decide on whether or not you want visual feedback [7] (available only when pushbuttons have LEDs).
    Choose the control panel type (4B - for buttons etc.) and basic function (direct - direct value etc.).
    To check and edit the preset settings click the arrow and choose JSON [8]. Now you can change the parameters value if needed.

image-20240216-134231.png

Light sensor settings

Light sensor settings are an additional option you can choose alongside MS, CP, pot both, but they will not work separatly. In this example we will show you how the settings panel works with both MS and LS.

The light sensor setting will show up in the Triggers settings [9].

image-20240216-134724.png

Under the Motion sensor settings you will find the Light Sensor Settings. You can choose only one of the modes at a time.

The first mode you can use is the Twighlight sensor. The only thing that is needed to be set is a target value, under which . When the light sensor detects a light level below this target the light will turn switch on.

image-20240216-140344.png

The second mode is the Daylight harvesting mode.

image-20240216-140614.png