Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 93dd564

Browse files
committed
begin public release development
1 parent bcda115 commit 93dd564

4 files changed

Lines changed: 43 additions & 7 deletions

File tree

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"cSpell.words": [
33
"Diavolito",
4-
"Melozio"
4+
"Melozio",
5+
"Nespresso",
6+
"Nespresso's",
7+
"Vertuo",
8+
"Vertuoline",
9+
"barcodes"
510
]
611
}

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Nespresso Vertuo Barcode Generator
2+
This project aims to decode and generate printable barcodes for the Nespresso's Vertuoline machines. Of course the barcodes aren't guaranteed to work, and i'm not responsible for any broken machines. Though I can't fathom how you could possibly break one.
3+
4+
## Setup
5+
1. Download the latest version of python [here](https://www.python.org/downloads/). Or at least have version 3.7 or greater.
6+
2. Install Pillow through `pip install Pillow`
7+
18
### Helpful links
2-
https://www.reddit.com/r/nespresso/comments/d9xnv9/breaking_the_nespresso_vertuo_barcodes/
3-
https://www.reddit.com/r/nespresso/comments/okc1vx/breaking_the_nespresso_vertuo_barcodes_part_2/
9+
* https://www.reddit.com/r/nespresso/comments/d9xnv9/breaking_the_nespresso_vertuo_barcodes/
10+
* https://www.reddit.com/r/nespresso/comments/okc1vx/breaking_the_nespresso_vertuo_barcodes_part_2/

generator.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
1+
"""Used to generate a custom barcode.
2+
3+
This Script is used to generate a custom code that can be passed to
4+
the printer script.
5+
6+
Each code consist of 4 segments, 3 four characters and 1 six character.
7+
for example "1100 1101 0100 001101"
8+
"""
9+
10+
import argparse
111
from functools import partial
212

13+
"""
14+
The four segments are repeated for times with different separators in
15+
between. Though the separators are the same across pods.
16+
17+
for example, Melozio has the following code
18+
19+
01 1100 10 1101 10 0100 10 010110 01
20+
01 1100 10 1101 01 0100 01 010110 10
21+
01 1100 01 1101 10 0100 01 010110 01
22+
01 1100 01 1101 01 0100 01 010110 01
23+
01 1100 01 1101 01 0100 10 010110 10
24+
"""
25+
26+
327
# 4 segments in order, seperated by a space
428
SEGMENTS = "1100 1101 0100 001101"
529

notes/CustomBarcodes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Melozio Base
22

3-
Bar code 1, Change segment 1 to 1111 (Alto Dolce), untested
3+
Barcode 1, Change segment 1 to 1111 (Alto Dolce), untested
44
1111 1101 0100 010110
55
01111110110110010010010110010111111011010101000101011010011111011101100100010101100101111101110101010001010110010111110111010101001001011010
66

7-
Bar code 2, change segment 2 to 0100 (Alto Dolce), untested
7+
Barcode 2, change segment 2 to 0100 (Alto Dolce), untested
88
1100 0100 0100 010110
99
01110010010010010010010110010111001001000101000101011010011100010100100100010101100101110001010001010001010110010111000101000101001001011010
1010

11-
Bar code 3, change segment 3 to 1011 (Diavolito), tested
11+
Barcode 3, change segment 3 to 1011 (Diavolito), tested
1212
1100 1101 1011 010110
1313
01110010110110101110010110010111001011010110110101011010011100011101101011010101100101110001110101101101010110010111000111010110111001011010
1414

15-
Bar code 4, change segment 4 to 001101 (Diavolito), tested
15+
Barcode 4, change segment 4 to 001101 (Diavolito), tested
1616
1100 1101 0100 001101
1717
01110010110110010010001101010111001011010101000100110110011100011101100100010011010101110001110101010001001101010111000111010101001000110110

0 commit comments

Comments
 (0)