VX scenario MS+CP+LS Node - beta
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.
Â
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.
Import the ready made flow using the instructions here: Importing a Node-RED flow or create a flow using the nodes shown below.
[{"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"],[]]}]
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].
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.
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].
Â
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. When the light sensor detects a light level below this target the light will switch on.
Â
The second mode is the Daylight harvesting mode. It’s a mode that adjusts lighting in real time to match the set target value.
The tolerance setting allows for the system to be less reactive to small, quick changes in the enviorment and provide a nicer experience.
The Min. and Max. value of light, this means that e.g. lights in some rooms might not turn off.
Â