Greater Than the mean value

class knx_plugin.trigger.mean.GreaterThan

A trigger triggered when

  1. it has some ASAPs in common with the compared Description and

  2. the knx_stack.datapointtypes.DPT value contained into the trigger is greater than the mean value of knx_stack.datapointtypes.DPT values received from bus

The mean is calculated using last num of samples Descriptions.

Use it when changes has to be slow down otherwise use knx_plugin.trigger.definition.GreaterThan().

More high is num of samples more slow are changes.

DPT Value Lux

class knx_plugin.trigger.dpt_value_lux.Bright
DEFAULT_EVENTS = [<Event.Bright: 'Bright'>]
NUM_OF_SAMPLES = 50
DPT = {'addresses': [], 'fields': {'decoded_value': 45000}, 'name': 'DPT_Value_Lux', 'type': 'knx'}