Page 1 of 1

MySensors set and send V_VAR

Posted: Saturday 08 October 2016 20:12
by eric_smid
MySensors has variables V_VAR1 till V_VAR5.
In the current Domoticz implementation the variables are stored in the database, when a node sends them to the gateway.
The node can request the variables later.
I want to use these variables as configuration parameters for the node.
Is it possible to add an option to view and change the variables and add a button to send the variables to the node?

For example:
I have a node connected to my doorbell. When the doorbell button is pressed, a message is send to the gateway and a relay is activated for period of time, to let the bell ring.
I want to add the following configuration parameters:
V_VAR1: set the number of rings
V_VAR2: to set the ring time
V_VAR3: set the pause between rings