platypush.message.event.sensor

class platypush.message.event.sensor.SensorDataAboveThresholdEvent(data, *args, **kwargs)[source]

Event triggered when a sensor’s read goes above a configured threshold

__init__(data, *args, **kwargs)[source]
Parameters:data – Sensor data
class platypush.message.event.sensor.SensorDataBelowThresholdEvent(data, *args, **kwargs)[source]

Event triggered when a sensor’s read goes below a configured threshold

__init__(data, *args, **kwargs)[source]
Parameters:data – Sensor data
class platypush.message.event.sensor.SensorDataChangeEvent(data, source: Optional[str] = None, *args, **kwargs)[source]

Event triggered when a sensor has new data

__init__(data, source: Optional[str] = None, *args, **kwargs)[source]
Parameters:data – Sensor data