Open Hades32 opened 3 years ago
I was wondering if this is even possible or if downloading via HTTPS would be too time-consuming and thus break the tags' protocol timing...
One could use the spiffs on the ESP as a cache for the image data if needed.
This feature is planed.
A general task handler with also some dynamic content as option or picture frame mode is a good solution for many different requests
@atc1441 I think you mentioned wanting to add a database of known activations. Is there a feature branch for this already? If I find time to work on this PR it would make sense to build it on top of such a database feature
No its not started at all. I tested a few different solutions for databases.
The winner is still a simple txt file which is loaded "manual" and parsed that way.
One other option was sqlite but that is hard to edit without an editor or only via the sql requests
FYI, it's not yet fully automatic (in the sense of polling on an interval), but it's working on my fork now:
It would be great if it was possible to configure per activation ID (and per color) a URL pointing to a BMP and a refresh interval.
The ESP could then grab these images in the defined interval, check if they changed (either via
ETag
,If-Modified-Since
or checksum) and send them to the device if they changed.This way it would be easy to host image creation on more powerful devices or in the cloud. We could even build parametrizable services that everybody can use - something like https://epaper.dev/date-news-weather?device=c74&color=b&city=munic,de which could compose images from some fragments and return them in a device-specific format