Beispiel #1
0
 def __init__(self):
     self.triggers = [
         CronTrigger("0 */5 * * * ?"),
         ItemStateChangeTrigger("roomba_status"),
         ItemStateChangeTrigger("roomba_full"),
         ItemStateChangeTrigger("MowerStatus")
     ]
Beispiel #2
0
    def __init__(self):
        self.triggers = [
            ItemStateChangeTrigger("Heating_Auto_Mode"),
            CronTrigger("15 * * * * ?")
#            CronTrigger("*/15 * * * * ?")
        ]
        self.activeHeatingOperatingMode = -1
Beispiel #3
0
 def __init__(self):
     self.triggers = [
         #ItemStateChangeTrigger("Electricity_Meter_Supply"),
         #ItemStateChangeTrigger("Solar_Total_Yield"),
         # should be cron based, otherwise it will create until 3 times more values if it is based on ItemStateChangeTrigger
         CronTrigger("15 */5 * * * ?")
     ]
Beispiel #4
0
 def __init__(self):
     self.triggers = [
         #ItemStateChangeTrigger("Electricity_Current_Daily_Demand"),
         #ItemStateChangeTrigger("Electricity_Current_Daily_Supply"),
         #ItemStateChangeTrigger("Solar_Daily_Yield")
         # should be cron based, otherwise it will create until 3 times more values if it is based on ItemStateChangeTrigger
         CronTrigger("30 */5 * * * ?")
     ]
Beispiel #5
0
    def __init__(self):
        self.triggers = [
            ItemStateChangeTrigger("Electricity_Current_Consumption"),
            CronTrigger("0 */5 * * * ?")
        ]

        self.stack = []
        self.lastLimitationIncrease = 0
 def __init__(self):
     self.triggers = [
         CronTrigger("0 */5 * * * ?"),
         ItemStateChangeTrigger("Ventilation_Filter_Error_I"),
         ItemStateChangeTrigger("Ventilation_Filter_Error_E"),
         ItemStateChangeTrigger("Ventilation_Error_Message"),
         ItemStateChangeTrigger("Heating_Common_Fault"),
         ItemStateChangeTrigger("State_Server")
     ]
Beispiel #7
0
 def __init__(self):
     self.triggers = [
         ItemStateChangeTrigger("Solar_Annual_Yield"),
         ItemStateChangeTrigger("Electric_VZ_Jahreseinspeisung"),
         CronTrigger("1 0 0 * * ?")
     ]
Beispiel #8
0
 def __init__(self):
     self.triggers = [
         ItemStateChangeTrigger("Solar_Daily_Yield"),
         ItemStateChangeTrigger("Electric_VZ_Tageseinspeisung"),
         CronTrigger("1 0 0 * * ?")
     ]
Beispiel #9
0
 def __init__(self):
     self.triggers = [
         ItemStateChangeTrigger("Solar_Total_Yield"),
         CronTrigger("1 0 0 * * ?")
     ]
Beispiel #10
0
 def __init__(self):
     self.triggers = [CronTrigger("0 * * * * ?")]
Beispiel #11
0
 def __init__(self):
     self.triggers = [
         CronTrigger("0 5 0 * * ?"),
         ItemStateChangeTrigger("Rain_Garden_Counter"),
         ItemStateChangeTrigger("Regen_State_Garden")
     ]
Beispiel #12
0
 def __init__(self):
     self.triggers = [
         ItemStateChangeTrigger("Energy_Supply_Active"),
         CronTrigger("1 0 0 * * ?")
     ]
 def __init__(self):
     self.triggers = [
         CronTrigger("15 0 0 * * ?"),
         ItemStateChangeTrigger("Heating_Solar_Power")
     ]
Beispiel #14
0
 def __init__(self):
     self.triggers = [
         CronTrigger("0 */10 1 ? * MON,FRI"),
         CronTrigger("0 0 2 ? * MON,FRI")
     ]
 def __init__(self):
     self.triggers = [
         CronTrigger("0 1 5,8,20,23 * * ?"),
         ItemStateChangeTrigger("Attic_Light_Mode")
     ]
	def AddCronTrigger(self, cronExpression = EVERY_MINUTE, triggerName = ""):
		try:
			getLogger().info("Adding CronTrigger '{}' with schedule='{}'".format(triggerName, cronExpression))
			self._AddTriggerCore(CronTrigger(cronExpression, triggerName), triggerName)
		except:
			LogException()
Beispiel #17
0
 def __init__(self):
     self.triggers = [
         ItemStateChangeTrigger("Ventilation_Auto_Mode"),
         ItemStateChangeTrigger("State_Presence"),
         CronTrigger("0 */1 * * * ?"),
     ]
Beispiel #18
0
 def __init__(self):
     self.triggers = [CronTrigger("0 2,17,32,47 8-15 ? * MON-FRI")]
Beispiel #19
0
 def __init__(self):
     self.triggers = [
         CronTrigger("0 2,17,32,47 * * * ?"),
         ItemStateChangeTrigger("roomba_online"),
         ItemStateChangeTrigger("roomba_status")
     ]
 def __init__(self):
     self.triggers = [
         CronTrigger("15 0 0 * * ?"),
         ItemStateChangeTrigger("Heating_Burner_Hours")
     ]
 def __init__(self):
     self.triggers = [
         CronTrigger("0 2,17,32,47 * * * ?"),
         ItemStateChangeTrigger("MowerDuration"),
         ItemStateChangeTrigger("MowerStatus")
     ]