FHEM Forum

FHEM => English Corner => Thema gestartet von: andyclimb am 16 November 2014, 16:09:36

Titel: calculate time on?
Beitrag von: andyclimb am 16 November 2014, 16:09:36
Good afternoon all,

I would like to calculate the amount of time that a dummy variable has the value 'on'.

I suspect that using the user readings option, but I'm a bit stuck.  I've had a few attempts but nothing has worked too well.

any help appreciated.

Andrew
Titel: Antw:calculate time on?
Beitrag von: rudolfkoenig am 16 November 2014, 16:56:45
I think you are looking for the HourCounter (http://fhem.de/commandref.html#HourCounter) module.
Titel: Antw:calculate time on?
Beitrag von: andyclimb am 16 November 2014, 17:52:09
Fantastic, thank you.

I've been using them for a couple of years now, and spent a long time with it over that period, but so much has been added recently that i've missed a lot of the new features.