Skip to content
Countdown button with web page displaying current count implemented using Python and WebSockets
CSS Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
Button.py
README
Repository.py
apple-touch-icon-precomposed.png
apple-touch-icon.png
countdown.db
default.html
favicon.ico
websocketserver.py

README

Author: Alan Sellers
Contact: baalansellers@hotmail.com
More Info: http://alansellers.net/projects/the-button-websocket-raspberry-pi/

This is the second iteration of my button project.
The goal of the project is to create an interactive
system that displays a countdown for our current
sales goal of 20 contracts. 

The system is made up of a Raspberry Pi and a
Button. The RPi hosts a webserver capable of
serving websockets and hosts a web page that uses
a websocket for communication between a client
(someone viewing the countdown) and the RPi which
is also monitoring for Button presses. The count
is decremented on each button press and a message
is sent to all clients with the new "count" to be
displayed.
You can’t perform that action at this time.