Every time the artwork is updated I write the JPG file locally with the same filename.
So I am trying to figure out how to trigger the media tile to refresh when this happens.
I was looking at this thread but I am not sure this will do it for me.
I did see a feature request for triggering changes through rules for a media tile. So I voted on that. But is there anyway to accomplish this now? Thanks.
All I got was the headphones icon. If you put the image address into a browser the artwork comes back fine. So wondering what I need to do from here? Thanks
Try a configuration like this (note I put âblankâ in the On). To toggle the update you would just need to select on with webCoRE or RM (or some other external trigger).
Thanks, I tried this out tonight. It got me almost there. Everything worked fine when I was testing on my desktop - using Safari on the Mac. However, on my touchscreens running Fully Kiosk I couldnât get the image to update unless I change pages. I took a quick look at the options in fully but none of the cache options (that I found) solved this. I am sure that there is an option that I am missing in the settings. Any thoughts? Thanks.
I am using Fully Kiosk 1.43-fire, and 1.43.1. Both are doing the same thing. There are literally 500 switches in Fully Kiosk so itâs quite possible that I have the wrong switch set?
I am triggering the change remotely through my connection to homeseer - which is where the images are being created. So upon image write, click ON button in Hubitat device. However, I have also tried manually pushing the ON button in hubitat and same behavior.
Some of the Fully Kiosk Versions may have a setting for determining how to handle mixed content. FKB Settings > Advanced Web Settings > Mixed Content Mode. Setting this to âAlways Allow Mixed Contentâ should allow HTTP images on an HTTPS page.
(1) Disable the âEnable Switch To act like Momentary buttonâ and save. Then (2) select âONâ, wait until you see the headphones in the tile (since âblankâ is not something it expects and you should see âblankâ in trackData), then (3) select âOFFâ and the image should appear after the trackData update.
If that works - we can slow down the momentary bounce.
Thanks - I am testing in Safari in a Mac and it is working fine. So I loaded up Chrome and it didnât work. I checked the console and got the following - not sure if that is helpful - but it is not displaying the image at all in chrome.
Perhaps I should store these files and serve them up with a https connection? I have never done that but I am sure I can figure it out?
I tried changing the setting as suggested in fully kiosk and it didnât make any difference.
That would probably work and you would need to get a SSL cert to move to https. Doing the self-cert route might still be probablematic on Chrome since they often flag this as well.
On FKB, update your Settings â Advanced Web Settings to allow mixed Content (Josh thought this might work in a comment above).
Sorry, I should have mentioned that. I did try the mixed content settings on Fully and it didnât work. I also tried playing the cache settings - telling it to never cache in the hopes that it would load the picture each time. Didnât work.
I am not using chrome - only using that for testing. In fully I donât know what the issue is - I am assuming it is the mixed mode as reported by chrome.
So I just got my Synology NAS online using Apache. Certificate is installed. FQDN is setup. So tonight I hope to start testing with this in the hopes that it will work. Stay tuned and thanks for the help!
ok, I got my https server up and running on my NAS - works fine - but image refresh still doesnât work.
Below is a link to the file I am testing with if it gives any clues? Ironically the whole time I was writing the post the image was updating in Safari!
I set Mixed Content Mode to always allow mixed content, I also played around with the cache settings and it didnât make any difference.
I am not getting any errors in Chrome console that I can see.
I saw that you are storing static images in Hubitat storage. Is there a way I could write these images to that location dynamically or some other location? Would that make a difference? Thanks.
Holy cow, it works! Doing the happy dance here. Tested in Chrome and Fully. I am even getting fancy and inserting this animated GIF in the on position so it displays while the image is changing.
That was more for experimenting but it worked well so will I will be playing around with that. Now I need to update my homeseer scripts to write out all of the images to my NAS and we will be good to go.
The SSL on the NAS turned out to be a lot easier than I thought. After wasting $20 with my domain registrar to get a personal certificate I discovered that Synology offers a free service to do this. Check it out:
Awesome, wow that was a drill. Not sure why I didnât have the cache problem the first time around. I updated the DTH to have a preference to put the random=X in the URI. With this change, you really do not need to enable the âonâ since it is changing the image which will trigger the tile update. However, I do like your transition GIF! Curious to see how you go.
@Bloodtick_Jones Been playing around with this and everything is working nicely. A question about the single tap and double tap. When I place images in the single tap and double tap and then single tap or double tap on the tile - for single tap I get a play transport icon but no image change; and double tap shows a pause transport icon and no image change. What is it supposed to do here? Thanks.
If you have the âToggle Switch when TileâŚâ is enable you would get the images in the âonâ and âoffâ.
If that is âoffâ and you have the âEnable image and text updateâŚâ enabled it should show the image that is showing in the âImage when Tile is single/double tappedâ fields.
Honestly, I built this for an entirely different purpose to show real time images from a DTH and SmartApp for Fully Kiosk Browser that will update images captured real time when triggered like a motion sensor. These settings are there for anyone that needs them.
I do know the âdouble tapâ does not work on a iPhone, but didnât chase it down why.
Post your preference configuration (hide the URLs) and I can troubleshoot if things are acting funny.
Thanks - everything is working fine for my application. I am manually controlling the on/off state so I can include the interim image. I was just curious about the other options and the other controls - mute, play, pause, etc. I am working on developing tiles that (in addition to displaying the coverart) also include audio controls for each channel, etc.