Needed: Code help - Alert me if power usage is high during a specific timeframe

  • Thread starter Thread starter Cire
  • Start date Start date
  • Tagged users Tagged users None

Cire

Community Member
View Badges
Joined
Nov 2, 2017
Messages
60
Reaction score
29
Location
Ithaca New York
What state or country do you live in
New York
Rating - 0%
0   0   0
Hi All,

I have a Kessil AP700 running my reef. I want to write code to tell me if my light is on in the middle of the night judging from power usage. The light turns off at 10PM and back on at 10:15 am. If it's drawing anything MORE than 30 Watts during this time period I want to know. I've gotten OK with the coding, but have not used time as a parameter. Any help would be appreciated.

In case you're interested in elaboration: I had a power outage while I was gone on vacation once. When I got home I noticed my lighting schedule had shifted. I assume this is because the AP700 was out cold. Turned back on and just went into a default mode which lit the tank during night hours. I do know if there is a power outage as I get an alert. And next time this happens I will know to check to see how the light is functioning once power is restored. However I would love for there to be a specific alert should the light be drawing more watts than usual during OFF hours so that I can manually shut the light down and alleviate any potential issues. Thanks for any help.
 
What kind of controller are you using?
 

TOP 10 Trending Threads

IF ONE SYSTEM FAILED WHILE YOU WERE AWAY, WHICH WOULD WORRY YOU MOST?

  • Power or backup power

    Votes: 5 25.0%
  • Heating or cooling

    Votes: 1 5.0%
  • Auto top-off

    Votes: 3 15.0%
  • Return pump or water circulation

    Votes: 1 5.0%
  • Dosing or automated testing

    Votes: 0 0.0%
  • Plumbing, overflow, or leaks

    Votes: 3 15.0%
  • Tank sitter or remote monitoring

    Votes: 1 5.0%
  • Electrical failure of some sort

    Votes: 0 0.0%
  • Seam or structure failure

    Votes: 3 15.0%
  • Something else (tell us in the comments)

    Votes: 3 15.0%
Back
Top
Home
Post thread…
Market
What's new