a quick and dirty python script to control a standing desk
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gabe Ortiz 5a8da37132 control is not always precise, add tolerance function 2 years ago
.gitignore Initial commit 2 years ago
LICENSE Initial commit 2 years ago
README.md add some relevant info 2 years ago
requirements.txt Create requirements.txt 2 years ago
standing.py control is not always precise, add tolerance function 2 years ago

README.md

upsy-desky-autostand

a quick and dirty python script to control a standing desk

Works with the Upsy Desky

Why

I wanted a script that raises and lowers my desk automatically to achieve my goal to stand at my desk a minimum amount of time with sitting breaks in between. But I find it really disruptive when this happens when I'm in a meeting so I added some functionality to only raise/lower my desk when I'm not in a meeting according to my Google Calendar (supports any publicly-readable ICS format calendar).

How

  • Modify the configuration parameters in standing.py
  • Run it in a cronjob that runs once a day at the start of your workday. Or run it manually, I'm not the boss of you.