@david4, if you are a bit handy there are some good options in this thread. Around post 30, there are some simpler options.
Power Circuit Monitoring for Power Loss