- Code: Select all
def actionControlSprinkler(self, action, dev):
- Code: Select all
delayAmount : 900:
description : "device - zone1" on
deviceId : 1757238557
multiplierVarId : None
replaceExisting : True
sprinklerAction : ZoneOn
textToSpeak :
zoneDurations : []
zoneIndex : 1
in the method I like to have the duration of the zone action.! is there anyway of getting that, besides going through the logfile:
- Code: Select all
Schedule rpi sprinkler
Sprinkler scheduled "rpi-14-sprinkler" zone durations: 5.00, 2.00, 5.00, 6.00, 4.00, 6.00, 3.00, 2.00, 8.00
Sprinkler turning "rpi-14-sprinkler" zone 1 on for 5.00 minutes
there is one prop in action : zoneDurations [] that is empty.
- how can that be set, and will it be used by the action
Have an rpi with pibecon setup that turns the relays on/off and has a display that shows zone info: accumulate time today, yesterday, this week, last week, this month, last month, active zone , rain amount .... date time, temp humidity ..
Only thing missing is the runtime time left for the current zone .
Thanks
Karl