at genau zu jeder vollen Stunde erzeugen ...

Begonnen von ritchie, 18 November 2013, 17:45:56

Vorheriges Thema - Nächstes Thema

ritchie

Hallo Zusamen,

wie erzeuge ich eigentlich einen at zu jeder vollen Stunde /halben Stunde genau !

define evtRoutineEveryHour at +*01:00:00 { .... }

startet zwar jede Stunde, aber nicht synchron zu jeder zeitlichen Stunde. Also um 17:00, 18:00, 19:00, ....

Gruss R.
IPU662  Ipfire & Fhem (Homematic + MAX) - Produktiv
Cubietruck (1Wire - USB) - Produktiv

justme1968

attr evtRoutineEveryHour alignTime 00:00

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

ritchie

#2
Hi,

habe ich doch glatt gerade in der Doku. gefunden.


Attributes

    disable
    Can be applied to at/watchdog/notify/FileLog devices.
    Disables the corresponding at/notify or FileLog device. Note: If applied to an at, the command will not be executed, but the next time will be computed.

    skip_next
    Used for at commands: skip the execution of the command the next time.

    alignTime
    Applies only to relative at definitions: adjust the time of the next command execution so, that it will also be executed at the desired alignTime. The argument is a timespec, see above for the definition.
    Example:
        # Make sure that it chimes when the new hour begins
        define at2 at +*01:00 set Chime on-for-timer 1
        attr atr2 alignTime 00:00


Danke

für jede halbe Stunde wäre es dann:

attr evtRoutineEveryHalfHour alignTime 00:30


Gruss R.
IPU662  Ipfire & Fhem (Homematic + MAX) - Produktiv
Cubietruck (1Wire - USB) - Produktiv