Commit graph

10 commits

Author SHA1 Message Date
Ircama
ef9b215a30 modified: requirements.txt 2024-11-18 16:46:28 +01:00
github-actions[bot]
995d0b26c8 Revise version 2024-11-18 16:16:39 +01:00
Ircama
30ceceaa5b Fix text_console requirement in requirements.txt 2024-11-18 16:12:09 +01:00
Ircama
c692b22b71 Use ircama/just-the-docs. Add ET-4800 printer configuration
Automatically update version when pushing a tag

Update VERSION to v5.2.14

Update VERSION to v5.2.16

Better debugging

Update VERSION to v5.2.17

Fix bugs, improve prompts and add debug console (F7)

ref #42

Improved debug console

Update VERSION to v5.3.0

Usage of the text_console module

Update VERSION to v5.3.1
2024-11-18 16:08:57 +01:00
Ircama
4a65352c89 Process TOML format
Ref #32

Example:

Input file epson.toml

```
[[EPSON]]
rkey = 0x364A
wkey = "Bsboujgp"
wkey1 = "Arantifo"
models = ["ET-2850", "ET-2851", "ET-2853", "ET-2855", "L4260", "L4261", "L4263", "L4265", "L4266", "L4267", "L4268", "L4269", "Workforce ST-C2100"]
mem = [
{ addr = [0x1C,0x34,0x35,0x36,0x37,0xFF] , desc = "Waste counters (?)" , reset = [0x00,0x00,0x00,0x5E,0x5E,0x5E] },
{ addr = [0x2F] , desc = "Waste counter" },
{ addr = [0x30,0x31] , desc = "Waste counter" },
{ addr = [0x32,0x33] , desc = "Waste counter" },
{ addr = [0xFC,0xFD] , desc = "Waste counter" },
{ addr = [0xFE] , desc = "Waste counter" },
]
rlen = 2
wlen = 2
mem_high = 0x7FF
```

Command:

```
python3 parse_devices.py -T -c epson.toml -i -l 200
```

Conversion:
```
    PRINTER_CONFIG = {
        "ET-2850": {
            "read_key": [74, 54],
            "write_key": b"Arantifo",
            "raw_waste_reset": {28: 0, 52: 0, 53: 0, 54: 94, 55: 94, 255: 94, 47: 0, 48: 0, 49: 0, 50: 0, 51: 0, 252: 0, 253: 0, 254: 0},
            "alias": ["ET-2851", "ET-2853", "ET-2855", "L4260", "L4261", "L4263", "L4265", "L4266", "L4267", "L4268", "L4269", "Workforce ST-C2100"],
            "stats": {
                "Maintenance required level of 1st waste ink counter": [54],
                "Maintenance required level of 2nd waste ink counter": [55],
                "Maintenance required level of 3rd waste ink counter": [255],
            },
        }
    }
```
2024-10-21 06:45:53 +02:00
Ircama
350ca81474 Fix importing black when building exe with pyinstaller 2024-09-20 10:34:13 +02:00
Ircama
2b77c8065a Add black to requirements and improve UI
fix #22
2024-09-20 07:51:02 +02:00
Ircama
6c5a631d97 UI refinements 2024-07-27 16:36:43 +02:00
Ircama
eac2b41375 UI improvements 2024-07-27 13:53:03 +02:00
Mareks
befa212a4f
Add user interface (#6)
- Add user interface
- Add L386
- Fix pysnmp for newer python versions
- Add requirements.txt
- Add printer discovery script
- Add UI script
- Fix ping opening window in pyinstaller exe
- remove scapy from requirements.txt
- improve comment formatting
- scan all local ips
- Fix power off timer write function
- Update L386 config
2024-07-20 13:40:38 +02:00