I´m working on this for days now, with no conclusion.
I´d like to send commands to my Arduino Gateway from Domotics, using my DzVents script.
As the commands won´t fit predefinded types, I´d like to use the v_var1 - 5 (as shown on the list on https://www.mysensors.org/download/serial_api_20#set,-req)
I found the json url commands
and also an example
(on https://forum.mysensors.org/topic/4933/using-the-selector-switch-in-domoticz-tutorial/2 ) :
Set f.e. to a virtual dimmer switch, I can now read the command on the Arduino sketch
message.type == V_PERCENTAGE
and get the value sended.
My problem is, I can´t find out why "param=switchlight" on Domotics results in "V_PERCENTAGE" on MySensors. And what I have to send to get the "V_VAR1".
Mayber there is also an easier way to send commands to MySensors - maybe send serial commands directly?
Gateway (and also Domoticz server) is an RPi3.