FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Thema gestartet von: fatman am 11 Dezember 2015, 15:21:16

Titel: WeekdayTimer current value
Beitrag von: fatman am 11 Dezember 2015, 15:21:16
In WeekdayTimer, I am missing the current value of the timer independent of its active/inactive state (usually the current value is a state itself, but if the timer is inactive or window is open, state is not the current value but some text string).
It can be fixed very simply, search for two new lines marked as # HB in the file attached.
Sorry for my English.
Hynek Baran
Titel: Antw:WeekdayTimer current value
Beitrag von: Dietmar63 am 14 Dezember 2015, 19:31:13
@Rudi:
i'll check it
Titel: Antw:WeekdayTimer current value
Beitrag von: Dietmar63 am 14 Dezember 2015, 19:35:36
checked
will be in the next release - with some other minor changes
Titel: Antw:WeekdayTimer current value
Beitrag von: fatman am 14 Dezember 2015, 23:05:14
Ok, thanks!
Btw, there is another mirror issie: The service cannot be activated/inactivated (cf. "at" or "notify").
Sincerely HB
Titel: Antw:WeekdayTimer current value
Beitrag von: Dietmar63 am 15 Dezember 2015, 00:02:29
Zitat von: fatman am 14 Dezember 2015, 23:05:14
Ok, thanks!
Btw, there is another mirror issie: The service cannot be activated/inactivated (cf. "at" or "notify").
Sincerely HB

i dont realy understand. What do you mean?
Titel: Antw:WeekdayTimer current value
Beitrag von: fatman am 15 Dezember 2015, 15:16:45
See for example http://fhem.de/commandref.html#notify (http://fhem.de/commandref.html#notify):
Set
...
    inactive
    Inactivates the current device. Note the slight difference to the disable attribute: using set inactive the state is automatically saved to the statefile on shutdown, there is no explicit save necesary.