FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: maci am 07 Januar 2023, 21:11:06

Titel: [gelöst] notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: maci am 07 Januar 2023, 21:11:06
Hallo,

Ich möchte eine notify Anweisung nur von 8:00 bis 18:00 Uhr ausführen lassen?
Wie könnte ich das machen?
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: MadMax-FHEM am 07 Januar 2023, 21:18:36
Attribut disabledForIntervals beim notify entsprechend setzen.
EDIT: korrigiert... 8)

EDIT:
Zitat von: Attribut-Hilfe
disabledForIntervals HH:MM-HH:MM HH:MM-HH:MM ...
Space separated list of HH:MM or D@HH:MM tupels. If the current time is between the two time specifications, the current device is disabled. Instead of HH:MM you can also specify HH or HH:MM:SS. D is the day of the week, with 0 indicating Sunday and 3 indicating Wednesday. Specifying the day for the "from" part does _not_ specify it for the "to" part, i.e. 1@00-24 will disable from monday to the end of the week, but not on sunday (as 1@00 is greater than any time on sunday). To specify an interval spawning midnight, you have to specify two intervals, e.g.:

    23:00-24:00 00:00-01:00

If parts of the attribute value are enclosed in {}, they are evaluated:

    {sunset_abs()}-24 {sunrise_abs()}-08

Gruß, Joachim
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: betateilchen am 07 Januar 2023, 21:23:31
Zitat von: MadMax-FHEM am 07 Januar 2023, 21:18:36
Attribut disableForIntervals beim notify entsprechend setzen.

Das Attribut heißt disabledForIntervals
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: taskkill am 07 Januar 2023, 21:42:09
"Ein Herz und eine Seele", Alfred lebt....
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: betateilchen am 07 Januar 2023, 21:45:31
Frau Suhrbier offenbar auch.
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: taskkill am 07 Januar 2023, 21:47:11
 :) :o
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: betateilchen am 07 Januar 2023, 21:51:02
https://amzn.eu/d/9E937oR
Titel: Antw:notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: taskkill am 07 Januar 2023, 21:52:04
 ;) ;D ;D
Titel: Antw:[gelöst] notify Anweisung nur in einem gewissen Zeitraum
Beitrag von: maci am 07 Januar 2023, 22:02:07
Danke, das wars  :)