Hi All,
I’m running openhab 4.1 and until today i was showing in my sitemap that is displayed on the app a snapshot form a webcam.
I use this sitemap string:
Image url="http://172.24.85.103:8080/static/Screenshots/Garage.jpg"
recently i added a button to update the snapshot.
Image url="http://172.24.85.103:8080/static/Screenshots/Garage.jpg" refresh=5000
Switch item=SNAP_GARAGE_UPDATE mappings=[ON="Aggiorna"]
the address where is stored the snapshot is another openhab with an ultraslow mobile connection.
This setup works fine. Is possible to save bandwidth force the refresh only when i press the button using a rule?
I know that is not a big deal, i made some tests and using the actual sitemap and the image is updated only when is really visible on the app, if i scroll down the page until goes off screen is not downloaded anymore.
Thanks in advance Enrico.