Webcam setup but not showing in D2W
-
I got my webcam working, BIG thanks to @frank26080115 . But When trying to integrate it into D2W, I get the error on the "Job Status" page, "Your Duet rejected the HTTP request: page not found
Check that the SD card is mounted and has the correct files in its /www folder". I removed the SD card from the board and looked in the WWW folder, but I am not sure what exactly needs to be in there. It appears that everything else is as it should be. I can access the camera with the same ip address straight on the browser that I have entered in D2W Webcam integration. I also have "Embed Webcam Stream" checked.Thoughts?!
-
I can tell you what I have setup and working, in Settings-General under Webcam I have in Webcam URL
"http://192.X.X.X:XXXX/videostream.cgi?loginuse=yourlogin&loginpas=yourpassword"
Webcam update 5000ms and webcam image embeded in iframe selected.
My camera is a SanceUsing the http link in the browser should open the webcam if it does then it should work in D2W.
-
Mine is setup almost exactly the same. If you have a second, could you tell me what files are in your www folder on your sd card!?
Thanks!
-
Ok, I've moved beyond the first error to "10.X.X.X took too long to respond" I'm not sure what else to adjust. I've included a couple of image links to show what I am seeing.
Thanks!
-
If you enter http://10.0.1.21 into your browser address bar, do you get an image from the webcam?
-
I do!
-
This is what I have:
https://forum.duet3d.com/topic/10067/cheap-wifi-webcam-esp32-ov2640-camera
-
I'm not an expert on this, but have you tried checking "Do not append extra http qualifier"?
-
Have to take the card out but its late, but I would have what is default seeing I never controlled or changhed anything.
My camera needs to have the user name and password when I connect fron the D2W, does your camera ask for a user and password? -
No U or P. it's really simple. The thing is, if I just open up the IP in a browser window it works like a charm!
-
@dc42
Not that I can tell... -
@bearcattd said in Webcam setup but not showing in D2W:
@dc42
Not that I can tell...What I meant is, there is a checkbox in DWC webcam setup that you can either check or leave unchecked. Some cameras need it checked (i.e. enabled), some need it un-checked.
-
I'm bumping this thread because I am having the same issue (DWC 2.0.7)
The camera HTTP link is well formed, and I have tried all combinations of the "do not append..." and "embed webcam..." sliders. No image loads.
However, if I right-click that broken image icon and choose 'view image in new tab', boom, there is my image. Seems like an issue with DWC.
-
@CCS86 What is the webcam? What format is it outputting? What exactly are your DWC options?
-
@Phaedrux said in Webcam setup but not showing in D2W:
@CCS86 What is the webcam? What format is it outputting? What exactly are your DWC options?
It's an Amcrest 1P2M-841B and the secondary stream should be in JPG / MJPG format.
Here is the DWC webcam configuration page: