notify only if between sunrise and sunset

Begonnen von VVlasy, 23 März 2015, 19:17:02

Vorheriges Thema - Nächstes Thema

VVlasy

So, I am here again, with another request for help.

alarm_on_rollo notify Alarm:on { fhem("Rollo_All up") if(*) }

In the * space, I need to input to only execute only after sunrise and before sunset.

This was my idea (not tested tho) :

{ fhem("Rollo_All up") if($sunrise $sunset) }

rudolfkoenig


VVlasy

I guess I am doing it wrong:

alarm_on_rollo notify Alarm:on { fhem("Rollo_All up") if(!isday()) }

Is not working

rudolfkoenig

I guess you are right. Any idea what "Rollo_All up" as a FHEM command should do? Did you tried it in the command-input?
Btw. you can test just the command part of the notify by entering it directly in the FHEM command input, I guess you get a more detailed error message then.

VVlasy

#4
alarm_on_rollo notify Alarm:on { fhem("set Rollo_All up") if(!isday()) }

I forgot set, my bad.

EDIT: Even after adding set, it still doesnt work, when I enter it into the cmd line no error pops up and nothing happens.