I have a windows edge thing, but hopefully somebody can help me here.
On my dashboard i made a button which transfers me to a live view of a camera which is in domoticz.
But instead of opening the live view, windows edge wants to download the view.
This is not what i am looking for, i want it to view, not download.
Does somebody know how to setup, that windows edge will view the live view?
Windows edge, wants to download live view camera
Moderator: leecollings
-
- Posts: 531
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Windows edge, wants to download live view camera
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
-
- Posts: 272
- Joined: Sunday 11 May 2014 11:09
- Target OS: Windows
- Domoticz version: 2023.1+
- Location: NL
- Contact:
Re: Windows edge, wants to download live view camera
This is not only in edge browser. You linked to a snapshot or something like that making the browser trying to download it.hoeby wrote: ↑Sunday 05 May 2019 14:44 I have a windows edge thing, but hopefully somebody can help me here.
On my dashboard i made a button which transfers me to a live view of a camera which is in domoticz.
But instead of opening the live view, windows edge wants to download the view.
This is not what i am looking for, i want it to view, not download.
Does somebody know how to setup, that windows edge will view the live view?
I made a template (HTML) for this purpose for my camera and placed it in Domoticz\www\templates
That way it becomes available in one of the tabs in dutch called "eigen". that page contains the live view with fast snapshots not a stream.
Code: Select all
<p align="center">
<a href="https://xx.xx.xx.xx:xxxx/camsnapshot.jpg?idx=7"><img id="camfeed7" src="https://xx.xx.xx.xx:xxxx/camsnapshot.jpg?idx=1&count=167?t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 750)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 10000)' style="border: 1px solid rgb(30, 40, 50); width: 83%; max-width: 96%;"></a>
</p>
The script is refreshing the snapshot every 750 mS and timehouts after 10000 mS
The idx is logical , first one=1 second=2, but if you want to check you can inspect the code of the camera view in domoticz

Hope it points you into a working solution. The nice thing is you do not need to put in credentials but using the domoticz logon mechanism.
I even redirect depending on the Ip calling it e.g. local or external acces.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
-
- Posts: 531
- Joined: Saturday 02 June 2018 11:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2022.1
- Location: Echt, Netherlands
- Contact:
Re: Windows edge, wants to download live view camera
I view the camera not with a domoticz link.
But i managed the problem.
When i want to view the camera with IFrame, then it wants to download.
I changed it to IMG URL, than it works.
But i managed the problem.
When i want to view the camera with IFrame, then it wants to download.
I changed it to IMG URL, than it works.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Who is online
Users browsing this forum: No registered users and 1 guest