Nice idea! As you’re already there, you might just try it yourself. With following replacement in your rule you would convert the static snapshot URI (Surveillance_Snapshot_Uri_Static
) into a new dummy item (Surveillance_Snapshot_Live_Uri_Static
):
Surveillance_Snapshot_Live_Uri_Static.postUpdate(
Surveillance_Snapshot_Uri_Static.state.toString.replace("entry.cgi", "SurveillanceStation/videoStreaming.cgi").replace(".Camera", ".VideoStream").replace("version=8", "version=1").replace("GetSnapshot", "Stream&format=mjpeg")
)
I’m looking forward to your feedback.