Here is the code snippet I have tried.
- Code: Select all
id_timer = 207309385 # Your timer ID
timerPlugin = indigo.server.getPlugin(u"com.perceptiveautomation.indigoplugin.timersandpesters")
if timerPlugin.isEnabled():
tmr = indigo.devices[id_timer]
TimerDelay = int(tmr.states['TimerStartValue'])
indigo.server.log("timer start value is " + ": " + str(TimerDelay))
Any suggestion are much appreciated.