Skip to content
A real implementation of the HTCPCP Protocol for use on a Raspberry Pi..
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
test Added test stubs Aug 29, 2015
.gitignore Change teapot error response to use Flask abort Sep 14, 2015 updated the contributing guidelines Sep 12, 2015
LICENSE Initial commit Aug 29, 2015 Add requirements and update the readme Sep 20, 2015
requirements.txt Add requirements and update the readme Sep 20, 2015 Add a raspberry controlled coffee pot interface Sep 14, 2015


A real implementation of the Hyper Text Coffee Pot Control Protocol. Get a cheap coffee pot, a programmable power strip, and a Raspberry Pi and you'll have your own HTCPCP server.


The goal of this project is to implement a complient HTCPCP server after the HTCPCP protocol.


The overall design will involve a Flask server that communicates with a coffeed daemon that actually controls the coffee/tea pot. Therefore, the Flask app should return responses immediately.

Design of the Flask app (at time or writing) is nearly complete and trivially implemented. Implementation of the coffeed daemon is in the brainstorming phase. Please checkout the issues for more information.


apt-get install wiringpi
pip install -r requirements.txt

Run the server

gunicorn --worker-class gevent server:app

The server will be running on port 8000, you can use a command like this to make brew requests:

curl -X BREW http://localhost:8000/teapot

What to help?

Check out our CONTRIBUTING guidelines.

You can’t perform that action at this time.