Solid-state hour meters

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
QcVictor
Normal user
Posts: 46
Joined: 23 Feb 2016, 00:47

Solid-state hour meters

#1 Post by QcVictor » 06 Apr 2017, 11:54

Hi Guys
I'm looking for Record and display information coming from my Solid-state hour meters on my heating system, In order to accumulate elapsed time one relay is switched on and fall off when no activity.
I successfully use switch input for get the signal but now I'm stuck now for made the conversion in counter hours:minutes and send this information to Domoticz.
Any clue ?
Regards
Vic

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Solid-state hour meters

#2 Post by Shardan » 06 Apr 2017, 13:54

Hello,

i'm not using domoticz, i just have an idea.
ESPEasy is not memory persistent at all so counters in the ESP-chip are lost on a power failure or reboot.
On top it isn't that easy to make ESPEasy count time without writing a plugin for that.

So if possible i'd just let the ESP send "on/off" state and let the computer with domoticz do the Job
if that is possible at all

I'm using FHEM and it's possible there by including your own perl code or external routines.
It's possible to save the values every x minutes to a file this way too, so it is not lost when rebooting for any reason.

Regards
Shardan
Regards
Shardan

QcVictor
Normal user
Posts: 46
Joined: 23 Feb 2016, 00:47

Re: Solid-state hour meters

#3 Post by QcVictor » 06 Apr 2017, 14:30

Tks Shardan for the quick reply, I "ll look for scripting in domoticz as you suggest, seems to be the easy way.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests