Carlo Zottmann · @czottmann
787 followers · 2718 posts · Server norden.social

Problem: Qi-based iPhone desk charger is running all the time, whether the phone needs it or not. Bad for battery.

Over-engineered solution: Periodically run a workflow on the Mac which utilizes to get the phone's battery level, and control the smart plug that feeds the Qi charger's power brick. (Level == 100%: off, <= 70%: on.) Controlling is done via .

¯\_(ツ)_/¯

(Tried controlling my USB hub's ports w/ `uhubctl` but the hub wouldn't play ball.)

#shortcutsapp #airbuddy #apple #homeapp

Last updated 2 years ago