Camera snapshot on demand only

Hello is there a way to do the following thing :

  • I’ve go a webcam snapshot url I don"t want to poll on interval becasue this cam is on battery and it will drain to much if doing so.
  • I want a tile when i click on it, it opens a local url that’s is currently returning a snapshot of this webcam

or may be a rule when clicking on a tile switch will trig (show-camera , hide-camera) ?

Thanks in advance.