News for hackers. Stuff that matters.
Re:Controlling the TP-LINK HS100 Wi-Fi smart plug (2017) by gravypod on Saturday December 01, 2018 @01:31AM (#18575553)
Would be cool to use this to manage power consumption of a home computer cluster. Turning off spare nodes when you're not home/not using them would probably save a lot of power.
Re:Controlling the TP-LINK HS100 Wi-Fi smart plug (2017) by ggeorgovassilis on Saturday December 01, 2018 @03:13AM (#18575857)
I use FHEM (https://fhem.de/) to run a periodic ARP scan for "known" mobile wlan. Once the last one logs off the wlan, FHEM switches secondary power sources and lights off after 15 minutes. When the devices log back in and there is insufficient natural lighting, it switches the lights back on.

Another, unrelated, automation step we implemented is an app checking alarms on our smartphones. When an alarm goes off, FHEM runs a script which switches lights on and reads aloud (with Festival) breaking news, the weather forecast and any interruptions on our daily commute.