Is there a way to run dzVEnts scripts manually? Or to force a script to be executed?
If I for example have a script that run every minute
on = {
timer = {
'every minute'
}
},
During development and debugging I don't want to wait one minute for the script to be executed.
Run dzVents script manually [Solved]
Moderator: leecollings
-
- Posts: 327
- Joined: Thursday 15 November 2018 21:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Netherlands
- Contact:
Re: Run dzVents script manually
You can use a dummy switch or another switch.
I have a dedicated Xioami button for debugging and add it to the "on device" list when I work on that script.
I have a dedicated Xioami button for debugging and add it to the "on device" list when I work on that script.
-
- Posts: 34
- Joined: Thursday 07 May 2015 16:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Assen
- Contact:
Re: Run dzVents script manually [Solved]
I use this for manual activate the switch with device idx 50
Code: Select all
{
on =
{
timer =
{
'every minute', -- just an example to trigger the request
},
devices =
{
50, -- Just an on Switch to activated the script manualy for testing.
},
httpResponses =
{
scriptVar, -- must match with the callback passed to the openURL command
},
Pi3, Pi4, Pi4 for Testing, Dashticz, RFXtrx433, Nest: "Thermostat V2, V3, Hello". Honywell Lyric T6R, RFXCom, KaKu, HUE, P1, Open Zwave USB,
Who is online
Users browsing this forum: No registered users and 1 guest