Timer Plans and Timers

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
kiwe
Posts: 2
Joined: Sunday 15 October 2017 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Timer Plans and Timers

Post by kiwe »

Hey everyone,

I just started working and experimenting with the great dzVents.

Now I have a idea for another script. For that I want to know, if it is possible to use the "Timer Plans" (for example to change the current plan via script)?

And in combination with that, is it possible to use the Timers of a specific device (for example of an SetPoint, switch, ...)

Maybe anyone have an tip?!
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Timer Plans and Timers

Post by bdormael »

kiwe wrote: Tuesday 24 October 2017 16:56 Hey everyone,

I just started working and experimenting with the great dzVents.

Now I have a idea for another script. For that I want to know, if it is possible to use the "Timer Plans" (for example to change the current plan via script)?

And in combination with that, is it possible to use the Timers of a specific device (for example of an SetPoint, switch, ...)

Maybe anyone have an tip?!
http://www.domoticz.com/wiki/Domoticz_A ... documented
User avatar
DewGew
Posts: 581
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Timer Plans and Timers

Post by DewGew »

You can change timer plan in dzVents with a json call like this:

Code: Select all

domoticz.openURL('http://127.0.0.1:8080/json.htm?type=command&param=setactivetimerplan&ActiveTimerPlan=0')
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest