Author Topic: Logging digital input transitions  (Read 535 times)

nick

  • Full Member
  • ***
  • Posts: 174
Logging digital input transitions
« on: October 05, 2009, 05:51:16 PM »
The logging is a great feature but there is one thing that it can't do that I would like to do.  I would like to log the time that a digital input changes state. 

Currently you can log the state of the digital input every ten minutes.  This means if a state change lasts less than ten minutes you could miss it, and it is not useful if you want to measure the duration of a state change.

As an example, I am monitoring how much energy my hot water heater uses.  I want to know every time the burner turns on, and how long it stays on for.  Time of day is important because I want to match up usage with solar availability.

If you put the same limit on it as the current limit -- 144 events per day -- I can't imagine it would require more resources.


zero*gx

  • Full Member
  • ***
  • Posts: 116
    • zero*gx
Re: Logging digital input transitions
« Reply #1 on: October 05, 2009, 07:21:19 PM »
you could create something that charts the time of incoming emails.

then use a digital input messaging widget to send an email whenever the state changes.

i use this action with a buzzer hooked up to a digital output, with a wire going to digital input. it sends me an email anytime the buzzer is activated.
zero*gx | imagineering solutions

iobridge

  • Administrator
  • Hero Member
  • *****
  • Posts: 669
    • ioBridge Support
Re: Logging digital input transitions
« Reply #2 on: October 06, 2009, 12:00:35 AM »
Data Logging Digital Input times is a great idea. You can take the time something is on and figure out power usage. Time on x power draw = power consumption

We will take a look Nick.

ioBridge Support
Community Team