• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Adding Camera Duet2 Wifi RSTP problems & Chrome

Scheduled Pinned Locked Moved
Duet Web Control
8
30
1.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Phaedrux Moderator
    last edited by 15 Dec 2020, 17:27

    Probably, though there are alternatives to motion.

    You might also be able to find a plugin/extension for chrome to bring back RTSP, but haven't tried it myself.

    Z-Bot CoreXY Build | Thingiverse Profile

    1 Reply Last reply Reply Quote 0
    • undefined
      uneumann36
      last edited by 16 Dec 2020, 09:42

      Thank you for all information.

      So i am not a computer expert.
      I play with this more then a week without function.

      Does anybody know how to adjust my mofified Wyze Cam or Chrome Browser or DWC that this work?

      May step by step?
      Or is there no possibility to get this working?

      Thank´s

      1 Reply Last reply Reply Quote 0
      • undefined
        uneumann36
        last edited by 16 Dec 2020, 17:25

        It would be great if someone has an idea how to solve this.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 16 Dec 2020, 18:21

          What version of DWC are you using? Someone else just reported some problems in the recent betas as well.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            uneumann36
            last edited by 16 Dec 2020, 18:22

            Hi
            i use Duet Web Control 2.0.7

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 16 Dec 2020, 18:27

              Unfortunately I'm not familiar with the Wyze cams or how they are functioning, but since you are using an older DWC I would think that the methods posted above would still work.

              Have you tested in firefox to confirm if it's working there?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                uneumann36
                last edited by 16 Dec 2020, 18:28

                Yeah Firefox is also not working.

                1 Reply Last reply Reply Quote 0
                • undefined
                  chrishamm administrators
                  last edited by chrishamm 16 Dec 2020, 18:34

                  RTSP isn't supported by modern browsers, so DWC doesn't support it either. You need to use mjpg or something else.

                  Duet software engineer

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    uneumann36
                    last edited by 16 Dec 2020, 19:58

                    Ok, sorry for the question,
                    But how to do?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      uneumann36
                      last edited by 17 Dec 2020, 17:28

                      I hope someone has an idea

                      undefined 1 Reply Last reply 17 Dec 2020, 18:11 Reply Quote 0
                      • undefined
                        Phaedrux Moderator @uneumann36
                        last edited by 17 Dec 2020, 18:11

                        @uneumann36 well @DIY-O-Sphere says he has it working still, so I think there's something you're missing from the modification to the wyze cam. I don't have one myself, so I'm not much help, but it does appear to work for some.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 19 Dec 2020, 15:02 Reply Quote 0
                        • undefined
                          Mac3D-FPV
                          last edited by 18 Dec 2020, 12:21

                          I was able to get the Wyzecam V2 with the Dafang firmware working to provide a video feed in DWC using the Safari browser. The video is choppy, but sufficient to monitor the progress of a print. In the Dafang firmware, I changed the Codec for RTSP Server to "MPJEG" (MPJEG is probably a typo in the Dafang firmware) and the video size to 1280x720 (larger and smaller sizes also worked). I then assigned a fixed IP address to the Wyzecam on my router. In DWC, under Setting, General, Webcam, I inserted the Webcam URL as "http://xxx.xxx.x.xx/cgi-bin/currentpic.cgi" (where xxx.xxx.x.xx is the fixed IP address I assigned), set the Webcam update interval to 500ms, repeated the above URL exactly under URL to open when Webcam image is clicked, and turned off both "Do not append extra HTTP qualifier when reloading images" and "Embed webcam image in iframe." Hope this helps.

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            DIY-O-Sphere @Phaedrux
                            last edited by DIY-O-Sphere 19 Dec 2020, 15:02

                            @uneumann36

                            Now I also got it working in Chrome, but only on my PC. On my mobile the cam snap is displayed now , but will not be updated.
                            It's a little tricky. Seach for "dafang hack disable https"

                            (UTC+1)

                            undefined 1 Reply Last reply 19 Dec 2020, 18:47 Reply Quote 0
                            • undefined
                              uneumann36 @DIY-O-Sphere
                              last edited by 19 Dec 2020, 18:47

                              @DIY-O-Sphere
                              Sounds good.
                              Where to search?

                              undefined 1 Reply Last reply 19 Dec 2020, 23:05 Reply Quote 0
                              • undefined
                                DIY-O-Sphere @uneumann36
                                last edited by 19 Dec 2020, 23:05

                                @uneumann36

                                Editing the lighttpd.conf file found in /system/sdcard/config/lightpd.conf and commenting out the following lines:

                                Code

                                #$HTTP["scheme"] == "http" {
                                #    # capture vhost name with regex conditiona -> %0 in redirect pattern
                                #    # must be the most inner block to the redirect rule
                                #    $HTTP["host"] =~ ".*" {
                                #        url.redirect = (".*" => "https://%0$0")
                                #    }
                                #}
                                

                                Then reboot the camera.
                                Now in DWC change the link to http://xxx.xxx.x.xx/cgi-bin/currentpic.cgi

                                (UTC+1)

                                1 Reply Last reply Reply Quote 1
                                • undefined
                                  widjit
                                  last edited by 22 Jan 2021, 04:44

                                  I had a little trouble getting this up and running but now that I have read and re-read I caught a few things maybe possibly update the wiki camera section with making sure "Embed Webcam Stream" and " Do not append extra HTTP qualifier " are un-checked. Those were the two things holding me back. I did update the lighttpd.conf file so you do not have to use the "user:pass" portion of the address. Another note is using the cgi-bin/currentpic.cgi isn't using RTSP, it is using a static image that is updated at whatever frame rate you have set in the Dafang firmware and the duet grabs whichever frame happens to be the most current still image which is currentpic.cgi when it does its update at your specified interval.

                                  undefined 1 Reply Last reply 7 Feb 2021, 08:08 Reply Quote 1
                                  • undefined
                                    Nathan116 @widjit
                                    last edited by 7 Feb 2021, 08:08

                                    @widjit where do you set the auto-update/refresh value? I can view a still image using the cgi-bin/currentpic.cgi address, but it does autorefresh or anything, I have to keep manually clicking the refresh button, which is incredibly annoying and useless. It sounds like, for you, it autoupdates with a choppy video, which is better than just 1 still image

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Nathan116
                                      last edited by 7 Feb 2021, 20:06

                                      Alright, so I realized that the "update" y'all are talking about is in the DWC settings tab, not the Camera's settings tab 🤦. I have set my update interval anywhere between the default 5000ms (so 5 seconds) and 10ms, but it's definitely not updating that quickly at either setting. 10ms is like 1 sec and 5000ms is like a solid 10-15 seconds...

                                      Is there any hope of getting an ffmpeg "output" straight from the Wyze Cam? I mean, the RTSP is nice, but there's no browser that can view that stream, so it's also kinda useless for our application (I realize that these cameras are initially intended to be security cameras and the RTSP works for that application). Would it be too difficult (I'm sure it would and personally wouldn't even know where to start) to merge the ffmpeg pi program into the dafang hack?

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        uneumann36
                                        last edited by 18 Feb 2021, 17:29

                                        Gentleman
                                        I would keep up this issue again.

                                        First, yes i got my wyzecam running on DWC.
                                        But it works only (on Chrome) when i open the camera tap via seperate tap and write passwort and so on, to see the live stream.
                                        Then it is also working on DWC.

                                        So i am a bit fustratet,

                                        Question : Do anyone know a camera who works from the beginning without problems in DWC ?
                                        No matter what kind or costs?

                                        Or is this the problem of the Browser or both?

                                        Regards
                                        Uwe

                                        undefined 1 Reply Last reply 18 Feb 2021, 20:34 Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator @uneumann36
                                          last edited by 18 Feb 2021, 20:34

                                          @uneumann36 said in Adding Camera Duet2 Wifi RSTP problems & Chrome:

                                          Question : Do anyone know a camera who works from the beginning without problems in DWC ?
                                          No matter what kind or costs?

                                          My preferred cam setup is a raspberry pi zero W running MotionOS with the pi cam module. It works great.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • undefined anamit117 referenced this topic 2 Jul 2022, 01:37
                                          • undefined anamit117 referenced this topic 2 Jul 2022, 01:37
                                          • undefined anamit117 referenced this topic 2 Jul 2022, 01:39
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA