This repository was archived by the owner on Aug 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "cSpell.words" : [
33 " Diavolito" ,
4- " Melozio"
4+ " Melozio" ,
5+ " Nespresso" ,
6+ " Nespresso's" ,
7+ " Vertuo" ,
8+ " Vertuoline" ,
9+ " barcodes"
510 ]
611}
Original file line number Diff line number Diff line change 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/
Original file line number Diff line number Diff line change 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
111from 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
428SEGMENTS = "1100 1101 0100 001101"
529
Original file line number Diff line number Diff line change 11Melozio 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
441111 1101 0100 010110
5501111110110110010010010110010111111011010101000101011010011111011101100100010101100101111101110101010001010110010111110111010101001001011010
66
7- Bar code 2, change segment 2 to 0100 (Alto Dolce), untested
7+ Barcode 2, change segment 2 to 0100 (Alto Dolce), untested
881100 0100 0100 010110
9901110010010010010010010110010111001001000101000101011010011100010100100100010101100101110001010001010001010110010111000101000101001001011010
1010
11- Bar code 3, change segment 3 to 1011 (Diavolito), tested
11+ Barcode 3, change segment 3 to 1011 (Diavolito), tested
12121100 1101 1011 010110
131301110010110110101110010110010111001011010110110101011010011100011101101011010101100101110001110101101101010110010111000111010110111001011010
1414
15- Bar code 4, change segment 4 to 001101 (Diavolito), tested
15+ Barcode 4, change segment 4 to 001101 (Diavolito), tested
16161100 1101 0100 001101
171701110010110110010010001101010111001011010101000100110110011100011101100100010011010101110001110101010001001101010111000111010101001000110110
You can’t perform that action at this time.
0 commit comments