alex9849/CocktailPi
Tentang
The webinterface and controlling software for a diy raspberry-pi based cocktail making machine
Pengembangan web dan aplikasiYang dapat Anda lakukan
- Add and edit recipes, categories and collections directly in the UI
- Dedicated touchscreen UI for the machine, plus a full admin UI for desktop and mobile
- Virtual stirring for evenly mixed drinks
- DC pumps, stepper pumps and load-cell controlled valves – mixable in one machine
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- Mengumpulkan riwayat
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
CocktailPi
Open source software for your Raspberry Pi cocktail machine.
Manage recipes, control your pumps and mix drinks from a touchscreen, a browser or your phone.
📖 Documentation · 🍹 Live demo · 💬 Discord
CocktailPi is not only a piece of software – it's a cocktail mixing machine controlled by a Raspberry Pi. The Pi drives multiple pumps, each with an ingredient assigned. Users pick a recipe in the web UI, and if all ingredients are available, CocktailPi mixes it.
Admins can create users with different roles and permissions. Users can create their own recipes, organise them into categories and collections and share them with others. Recipes consist of production steps – ingredients in the same step are dispensed at the same time, and steps can be reordered via drag & drop.
✨ Features
- Add and edit recipes, categories and collections directly in the UI
- Dedicated touchscreen UI for the machine, plus a full admin UI for desktop and mobile
- Virtual stirring for evenly mixed drinks
- DC pumps, stepper pumps and load-cell controlled valves – mixable in one machine
- Up to 153 pumps using I²C GPIO expanders (no software limit)
- Automatically detects which recipes can be made with the current ingredients
- Prompts to add ingredients by hand that you own but that aren't connected to a pump
- Written production steps, ingredient substitution and per-order adjustments
- Manual pump control (e.g. for cleaning)
- Multiple users and roles
- Event system – run Python scripts or play sounds on events
- Multiple UI languages (German, English, Danish, Spanish, French)
- …and much more
📸 Impressions
Click on a screenshot to open it in full resolution.
Touchscreen UI
| Ordering | Customising an order |
|---|---|
![]() |
![]() |
| Production in progress | Collections |
![]() |
![]() |
Administration UI
| Recipes | Recipe details |
|---|---|
![]() |
![]() |
| Pump management | Ingredients |
![]() |
![]() |
More screenshots
![]() Prompt to add an ingredient by hand |
![]() Ingredients (touchscreen) |
![]() Pump setup |
![]() GPIO / expanders |
![]() Glasses |
![]() System settings |
![]() User management |
![]() Login |
Try it yourself: demo.cocktailpi.org – user Admin, password 123456
🚀 Installation
Requirements: Raspberry Pi 3, 4 or 5 with Raspberry Pi OS Lite (64-bit) and a user named pi
(set it in the Raspberry Pi Imager settings together with SSH).
SSH into your Pi and run:
sudo -i
wget https://raw.githubusercontent.com/alex9849/CocktailPi/refs/heads/master/script/installer/installer.sh -O cocktailpi-installer.sh && chmod +x cocktailpi-installer.sh && ./cocktailpi-installer.sh
The installer asks for your language and whether to also set up the touchscreen UI. It installs all dependencies and the latest release, and starts CocktailPi as a service.
Afterwards open http://<your-pi>/ and log in with admin / 123456.
To update, simply run the installer again.
Forgot your password?
Reset it on the Pi (as root, in the CocktailPi directory; the server may keep running):
cd /root/cocktailpi
java -jar cocktailpi.jar user list # all users, their role and whether they are locked
java -jar cocktailpi.jar user reset-password <username> # asks for the new password
java -jar cocktailpi.jar user unlock <username>
For scripts, reset-password also takes --password <new password>.
➡️ Step-by-step guide, touchscreen resizing and pump setup: Installation docs
Just want to play around? Run the demo with Docker
docker run -p 8080:8080 alex9849/cocktailpi
Open http://localhost:8080. The Docker image runs in demo mode without GPIO access.
🔧 Build the hardware

CocktailPi switches pumps via a relay board (or stepper drivers / valves) connected to the Raspberry Pi's GPIOs. You can build your machine however you like – the only requirement is a Raspberry Pi.
| Basic setup | With reverse pumping | Complex setup |
|---|---|---|
![]() |
![]() |
![]() |
Blueprints, parts list and a comparison of pump types: Hardware docs
⭐ Support the project
Developing CocktailPi took a lot of time, and there are still many features I want to build. The software doesn't send any data to me or third parties, so I don't get any feedback about who is using it. If you like the project, please give it a star on GitHub – that's how I know people use it.
You can also support the development via PayPal.
💬 Community & support
Questions, want to share your setup or just talk about cocktail machines? Join the Discord server or open an issue.
📄 License
CocktailPi is licensed under the Apache License 2.0.
Jelajahi proyek terkait
Memuat…



















