Hour Meter for Lights?

Discussion in 'General Discussion' started by Ingo, Mar 4, 2007.

  1. Ingo

    Ingo

    Joined:
    Dec 2, 2006
    Messages:
    290
    Likes Received:
    1
    Location:
    South Africa
    Wouldn't it be nice to have a register where you could read the operating hours of every channel. I just thought of it when reading the box of my LV downlighter. It says 3000 hours but who really knows??? Below is a quick attempt to capture some data but it will take up a lot of resources if you have many lights. It will probably be in the ballpark with hours measured but be aware that if HomeGate restarts it doesn't count the hours of a light that was on at that moment.

    once GetLightingState("Group 106 - Stairs") = ON then
    begin
    TimerStart(50);
    end;

    once GetLightingState("Group 106 - Stairs") = OFF then
    begin
    SetIntSystemIO("HourMeter", (GetIntSystemIO("HourMeter") + TimerTime(50)));
    TimerStop(50);
    ClearScreen; { Just so I can see that it actually works }
    DrawText (GetIntSystemIO("HourMeter"));
    end;
     
    Ingo, Mar 4, 2007
    #1
  2. Ingo

    Nobes

    Joined:
    Oct 7, 2004
    Messages:
    164
    Likes Received:
    1
    Location:
    Hobart
    Ingo,
    Off the track of your code but..

    I'm not sure if they measure things the same in South Africa (presume it is an international standard), but in Australia the rated life of a lamp is when 50% have failed.

    I was unaware of this until a few years ago we had a lot of lamps failing that ran 24hours. Apparently the manufacturers will test a type of lamp and when 50% fail that is the average lamp life. Note average being the operative word.
     
    Nobes, Mar 4, 2007
    #2
  3. Ingo

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    The Schedule Plus software has the ability to monitor the duration for which loads have been on. It can also raise an alarm when the duration exceeds some threshold for use for preventative maintenance.
     
    Darren, Mar 5, 2007
    #3
  4. Ingo

    Ingo

    Joined:
    Dec 2, 2006
    Messages:
    290
    Likes Received:
    1
    Location:
    South Africa
    Ahh... not being "Electrical" myself I wasn't sure how they measured it. I actually never bothered to check how often lamps fail until now.

    Darren, is that functionality not in HomeGate by any chance? Should I run Schedule Plus just for that capability or use up all my timer resources as previously posted?
     
    Ingo, Mar 5, 2007
    #4
  5. Ingo

    tobex

    Joined:
    Nov 3, 2006
    Messages:
    728
    Likes Received:
    0
    Location:
    Sydney, Australia
    What ever happened to the dark lamp test .... the one that gives off dark light.
     
    tobex, Mar 5, 2007
    #5
  6. Ingo

    JohnC

    Joined:
    Apr 6, 2005
    Messages:
    554
    Likes Received:
    1
    Location:
    Sydney
    What - this one... ?

    Read Report here :

    http://www.msu.edu/user/dynicrai/physics/dark.htm
     
    JohnC, Mar 8, 2007
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.