Communication package for Epson Workforce printer
Project description
epsonprinter-api
This package can be used to scrape the ink levels from your Epson Workforce printer.
Usage:
Connection
Create the API object with the IP address of the printer, on connect the values are fetched from the printer. The protocol can be http or https. The default is http. We can verify (or not) the ssl certificate chain if the protocol is not http if we define the verify_ssl paramter.
api = EpsonPrinterAPI(<IP>, [[protocol={"http"|"https"}, [verify_ssl={False|True}]])
Fetches the latest values from the printer
Update values
api.update()
Get actual values
#regular colours
photoblack = api.getSensorValue("photoblack")
black = api.getSensorValue("black")
magenta = api.getSensorValue("magenta")
cyan = api.getSensorValue("cyan")
yellow = api.getSensorValue("yellow")
# Cleaning cardridge
clean = api.getSensorValue("clean")
Acknowledgments
Below are a list of resources that I used to assist with this project.
- This api wouldn't exist without the original author ThaStealth
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epsonprinter-api-1.0.1.tar.gz.
File metadata
- Download URL: epsonprinter-api-1.0.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69eabe95a7a86f9dfccab06063b56c2daaae9c999108e17fc865407f1d09d00f
|
|
| MD5 |
4b83a258aecc8d3a5fcf95e37fc01720
|
|
| BLAKE2b-256 |
e28fae639fc354bee06323e60a37c82a514f05f1fdb21657d3373cece4697f7f
|
File details
Details for the file epsonprinter_api-1.0.1-py3-none-any.whl.
File metadata
- Download URL: epsonprinter_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c80f1393f623d540b1b31351aa2df1fa7e1d3e7e06119005ae883a95dd2d66f
|
|
| MD5 |
6053b37822fd12339b5ec2715d42428d
|
|
| BLAKE2b-256 |
a58d6048959197646bd6f9894d021c2839072aefde978a8e03e0277e71266d70
|