-
Notifications
You must be signed in to change notification settings - Fork 80
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
Feature request: Control tags simultaneously with the same input #92
Comments
I just saw that I can store a JSON URL in the TAG. |
OK, I found it. You have to put it in the www folder. |
Ok, I found the Problem. The Minimum time interval time is 10 Minutes. Is it possible to enter lower values? For example. check every 10 seconds? Would be very important to me. |
You can send a refresh after Uploading a New Image or json |
?cmd=refresh This can you do with curl. I don't know the right way to do it with jsonupload. |
My structure looks like this: |
I have three thoughts on this:
|
Point 2. The picture does not change every 10 seconds. More like every 15 minutes and even just for a few hours. After that, they won't be needed again for a few weeks. Point 3. That would of course be the very best idea if the same thing is to be displayed on all tags. |
By the time the log says "new image is the same as current or already pending image. not updating tag", the image is already rendered from the json (which takes a few seconds). If you can pull the image from your webserver (instead of misusing the esp32 as a proxy webserver ;-) ), you could make use of the 'If-Modified-Since'-header. The esp32 sends this header, filled with the last time the image was fetched. Your webserver could then send a http 304 if your image hasn't changed since that last time. This way, you can still do fast polling, but without unnecessary image rendering. Or, like mentioned, use http POST to push changed. I will start working on the 'mirror tag contents from another tag', I estimate to finish that in 1-2 weeks. |
Great, thanks for the info. I will then wait for your implementation with the Master / Slave |
A request. Is it possible with the Master Slave implementation that the transmission "optional" works simultaneously? Even if this function requires a lot of battery capacity, no problem. The tags are only used temporarily (no long-term use) |
The current protocol doesn't allow for some kind of broadcasting the content. So it has to be send individually. |
OK, understood. I'm definitely looking forward to the master/slave implementation :-) |
done! You can check it out: |
Thanks alot. How can I install it? Unfortunately, my case is glued and I can't get to the RST button on the esp. Unfortunately, only OTA is then possible. |
If you plan to ever do some development yourself, you can install vscode and platformio, and compile the source. Using the usb-c port, you can program the esp32-s2 in your access point without pressing any of the buttons (that's only needed the first time when you start with an ompty esp32-s2). |
Yesterday I switched to 0.8. But could not find a display a copy on the content card. Today, I switched back to 0.7. (Completely reinstalled). But apparently no OTA update is currently possible anymore. Is this known? The system means the .bin file is missing. |
what is the exact message you're getting? |
About 'But could not find a display a copy on the content card' -> look in the /www folder. If you see two files 'content_cards.json', and 'content_cards.json.gz', delete 'content_cards.json' and leave the .gz one (you can do that with all duplicate files). I could not automatically delete it, because of the risk of bricking if the update was stopped halfway (the delete process runs before the download process). Next release these files will be automatically deleted. |
It works... did you do something? It didn't work all day... |
I check it |
Hm :-( For some reason the updated file didn't end up in the release. Use this one attached. |
Works, Thanks :-) |
In my usecase, all tags should display the same thing. At the moment I can only control one tag with the JSON template upload.
Can this be implemented or is there already a way?
The text was updated successfully, but these errors were encountered: