Smart Gun Safety Solutions have developed a wifi and web enabled gun safe. The safe can alert you via. email or SMS if the safe is opened or if its internal tilt switch is tripped. The safe is powered by AC but has a built in backup battery. A web interface allows you to view activity history.
I think this is an excellent idea.