Please help
.
I have had a working domoticz on raspberry for some time now and use DzVents for programming.
I know the sites
https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting
and I did some googling but I can't find a way to write data from the script level to the relay.
I found that such a post:
http://192.168.1.xx:8080/json.htm?type=comman...idx=48&switchcmd=Set%30Level&level=30
should set me in relay selector type at level 30 to 30 but I don't know what syntax to use in dzVents. In general, how do you save your data in relays (dummy)?
And if someone will lean on this and have time maybe they can help me how to solve the following problems.
Is it possible to call a script with a second script and if so how?
Is it possible via the dzVents script to save and then retrieve data outside of domoticz?
kind regards

I have had a working domoticz on raspberry for some time now and use DzVents for programming.
I know the sites
https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting
and I did some googling but I can't find a way to write data from the script level to the relay.
I found that such a post:
http://192.168.1.xx:8080/json.htm?type=comman...idx=48&switchcmd=Set%30Level&level=30
should set me in relay selector type at level 30 to 30 but I don't know what syntax to use in dzVents. In general, how do you save your data in relays (dummy)?
And if someone will lean on this and have time maybe they can help me how to solve the following problems.
Is it possible to call a script with a second script and if so how?
Is it possible via the dzVents script to save and then retrieve data outside of domoticz?
kind regards