Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.42 KB

timer.rst

File metadata and controls

70 lines (43 loc) · 1.42 KB

Timers

The shc.timer module provides two different kinds of timer objects to be used in SHC configuration: "Schedule Timers" are Subscribable objects, that publish a None value regularly, based on some configurable schedule, e.g. with a fixed interval, a pattern of allowed datetime values or some amout of time after application startup. They are usually used to trigger a Logic Handler <base.logic-handlers> on a regular base. "Delay Timers" on the other hand, take a subscribable object and re-publish its published values after a certain delay time (following different rules)

Schedule Timers

Once

Every

At

EveryNth

_random_time

Convenience Timer Decorators

once

every

at

Delay Timers

TOn

TOff

TOnOff

TPulse

Delay

Helper Classes

TimerSwitch

RateLimitedSubscription

Ramp Generators

AbstractRamp

IntRamp

FloatRamp

HSVRamp

RGBHSVRamp

RGBWHSVRamp

FadeStepRamp