/standing-desk

Raspberry Pi controller for my standing desk

Primary LanguagePython

A Raspberry Pi controller for my Conset 501-49 standing desk:

Image of controller

It includes:

This controller measures the height of the table from the floor via the distance center and uses the on-board relay to control the desk's motor to move up/down. Redis is used for sending commands to the relay script, meaning it can also be controller via Homebridge/Apple home (see the homebridge-standing-desk plugin repo).

Setup

Install Redis:

sudo apt-get install redis
sudo update-rc.d redis-server defaults

Install Python deps:

pip install -r requirements.txt

Install supervisord

sudo apt-get install supervisor

And add the configuration file:

sudo cp ./etc/supervisor.conf /etc/supervisor/conf.d/standing-desk.conf