No description
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 99.6%
  • Dockerfile 0.4%
Find a file
2023-06-10 15:19:14 +02:00
.github/workflows crosscompile image for arm64/v8 2023-02-19 08:52:14 +01:00
.gitignore created .gitignore and added __PYCACHE__ 2023-02-21 20:52:49 +01:00
128x128.png Update Images 2023-06-10 15:19:14 +02:00
128x296.png Update Images 2023-06-10 15:19:14 +02:00
152x152.png Update Images 2023-06-10 15:19:14 +02:00
bmp2grays.py Update bmp2grays.py 2022-10-10 07:44:35 +02:00
config.yaml switch back to default ttyACM0 2023-02-21 21:43:10 +01:00
Dockerfile switch docker to alpine 2023-02-19 08:42:42 +01:00
README.md Update README.md 2023-02-19 08:29:40 +01:00
requirements.txt added pyyaml to requirements.txt 2023-02-21 20:49:43 +01:00
station.py Send always RickRoll as QR Code 2023-06-10 14:59:02 +02:00
timaccop.py Dont parse UART packet on wrong cheksum 2023-02-27 12:07:01 +01:00

epaper-station

Contains PC based controll software for epaper display protocol by @dmitrygr (http://dmitry.gr/index.php?r=05.Projects&proj=29.%20eInk%20Price%20Tags)

Dongle firmware

Display firmware

Install

apt install python3-serial python3-pycryptodome python3-pil

Run

python3 station.py

Docker

Build your own

docker build -t epaper-station:latest .
docker run --device=/dev/<tty>:/dev/<tty> -e EPS_PORT=/dev/<tty> epaper-station

Use prebuilt image

docker run --device=/dev/<tty>:/dev/<tty> -e EPS_PORT=/dev/<tty> ghcr.io/danielkucera/epaper-station:master

Usage

  • to pair a display, it has to be really really close (touching the adapter with left edge)
  • when the display "checks in", it will check the presence of <DISPLAY_MAC>.bmp(24bit With RED) or <DISPLAY_MAC>.png(Only Black White) in current dir, convert it to bmp and send to display
    • if the image doesn't change, the display will stay as is and checks back again in defined interval (checkinDelay)

Possible improvements

License

Copyright (c) 2022 Daniel Kucera

THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.

Permission is hereby granted to use or copy this program for any purpose, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice.