Skip to content

monitor your A/C and toaster from linux

Sorry to fool you, there's no great new linux script available, but instead it's a sad side-effect of the poor electrical wiring of my apartment that allows me to tell when the air-conditioner or toaster oven turns on in my apartment.  With a simple serial connection from a standard APC UPS, I get broadcast messages every time one of these devices puts a high-load on the apartment's power.  While it's a whimsical plus to note that the AC turns on every 7-12 minutes at 78 deg in an 83+ deg summer night, I must also mention that turning both the toaster and A/C on will result in an apartment-wide breaker trip.  Yay pre-war buildings in Harlem.


Broadcast Message from root@microscopic (somewhere) at 19:06 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 22:32 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 22:44 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 22:50 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 22:57 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 23:03 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 23:09 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 23:15 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 23:22 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...
Broadcast Message from root@microscopic (somewhere) at 23:28 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...

(morning toast)
Broadcast Message from root@microscopic (somewhere) at 7:49 ...
Warning power loss detected on UPS microscopic
Power has returned on UPS microscopic...

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*
CAPTCHA Image
*