Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Raspberry Pi Desk Controller

RPiDeskController

About

This project includes server- and client side code for controlling a height-adjustable desk (basically a relay board) via a web site hosted on the Raspberry Pi.

The client side code:

  • Uses knockoutjs for MVVM
  • Uses twitter bootstrap for simple markup
  • Uses jQuery, e.g., for async invocation of web-services on the RPi

The server side code:

  • Is based on Python CGI Scripts
  • Uses the gpio program "bundled" with WiringPi to interface with the GPIO pins

Demo

A screenshot of the client is seen here:

Raspberry Pi Desk Controller

Setup

Install the lighty (lighttpd) Web Server

See Mark Ingram's brilliant tutorial on this: http://markingramuk.wordpress.com/2012/08/12/accessing-gpio-from-a-web-server/

Install WiringPi

See the project page's guidlines: https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/

Setup a WiFi- or Ad-hoc Network

See my own tutorial on this: http://lcdev.dk/2012/11/18/raspberry-pi-tutorial-connect-to-wifi-or-create-an-encrypted-dhcp-enabled-ad-hoc-network-as-fallback/

Deploy Code

For instance:

  • Client-side code goes here: /var/www/rpidc
  • Server-side code goes here: /var/www/cgi-bin

About

Raspberry Pi Desk Controller

Resources

Releases

No releases published

Packages

No packages published

Languages