run hour timer

Job ID: 34697712

Budget: $30 – $250 USD

i need a device that when it senses 110 volt power it will keep a running total of hours run , it will be on,off,on,off like the odometer in your car , only runs when power is sensed .
it needs to have a resettable alarm that will flash the display or a led at 500 hours, at 550 hours i want an audible alert [beep] that is continuous until reset. i can build it i just need the components required , the schematic and the code for arduino or rasberr pi