Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old image afrer epaper reconnect #4

Open
pklosko opened this issue Jan 1, 2022 · 3 comments
Open

Old image afrer epaper reconnect #4

pklosko opened this issue Jan 1, 2022 · 3 comments

Comments

@pklosko
Copy link

pklosko commented Jan 1, 2022

Ahoj ,
kdyz vypnu RPi a zapnu jej cca za 4 hodiny (epaper ma po tu dobu "no image for long time"), tak se epaper po requestu chytne, ale zobrazi nejaky historicky obrazek - 2 dny stary
(Asi prvni co byl po jeho resetu pred temi 2 dny ???) a to i presto, ze station.py ma k dizpozici MAC.png z "RPi boot time+45sec" a v /tmp zaden bmp neni

@danielkucera
Copy link
Owner

No tu je dovod taky, ze display pri prvom checkine zobrazi posledny uspesny obrazok. Dmitry pouzival pre identifikaciu obrazku inkrementovane pocitadlo, ja pouzivam checksum ale asi to prerobim tiez na pocitadlo, asi odvodene z timestampu. Kazdopadne po tom ako sa "chyti" to tiez najprv zobrazi posledny obrazok a az za cas stiahne novy.

@danielkucera
Copy link
Owner

  • takze najvacsi checksum moze mat nejaky nahodny obrazok, nie ten historicky najnovsi.

@pklosko
Copy link
Author

pklosko commented Jan 3, 2022

pocitadlo bude asi i lepsi = usetri se cenne milisekundy NEpocitanim checksumu

danielkucera pushed a commit that referenced this issue Dec 26, 2022
Merge pull request #16 from atc1441/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants