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

    WyzeCamV2 used as an IP camera with Duet Wifi

    Scheduled Pinned Locked Moved
    General Discussion
    17
    36
    5.1k
    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.
    • Fodenundefined
      Foden @Danal
      last edited by

      @danal Noticed that myself awhile back but didn't see your post until now. My fix, workaround really is to open a browser and go to the cameras IP. It will prompt for username & password and then show you what it sees. No surprise there, however - go back to the web page your Duet is on and you will be happy to see the camera view will now miraculously work!

      Danalundefined 1 Reply Last reply Reply Quote 1
      • Dougal1957undefined
        Dougal1957 @Danal
        last edited by Dougal1957

        @Foden My IP cam will open directly from DWC and DWC (run in chrome) does pass the username and password across ok. My string for it is

        "http://192.168.0.108:14332/videostream.cgi?loginuse=xxxxxxxxxx&loginpas=xxxxxxxxxxx&resolution=64"

        Chrome does seem to pass the arguments slightly differently to other browsers.

        note I Have a Sannce cam not the Wyse but the usr/pass should work the same shouldn't it?

        HTH

        Doug

        Danalundefined 1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal @Foden
          last edited by

          @foden said in WyzeCamV2 used as an IP camera with Duet Wifi:

          @danal Noticed that myself awhile back but didn't see your post until now. My fix, workaround really is to open a browser and go to the cameras IP. It will prompt for username & password and then show you what it sees. No surprise there, however - go back to the web page your Duet is on and you will be happy to see the camera view will now miraculously work!

          Yep, I got that to work.

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal @Dougal1957
            last edited by

            @dougal1957 said in WyzeCamV2 used as an IP camera with Duet Wifi:

            @Foden My IP cam will open directly from DWC and DWC (run in chrome) does pass the username and password across ok. My string for it is

            "http://192.168.0.108:14332/videostream.cgi?loginuse=xxxxxxxxxx&loginpas=xxxxxxxxxxx&resolution=64"

            Fantastic, I will give that a try.

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • Gencabundefined
              Gencab
              last edited by Gencab

              was fiddling around and noticed you can snag the stream from Octopi in to DWI. Simply add /webcam/?action=stream to the end of your Octopi address.
              example:192.168.123.99/webcam/?action=stream

              1 Reply Last reply Reply Quote 0
              • dickie3126undefined
                dickie3126
                last edited by dickie3126

                @dc42 said in WyzeCamV2 used as an IP camera with Duet Wifi:

                the file \config\usb_eth_driver.conf.dist

                Does anyone have any detailed instructions on what to put in the file \config\usb_eth_driver.conf.dist? I know I need to add SSID and password. I just don't know the format.

                Fodenundefined 1 Reply Last reply Reply Quote 0
                • Fodenundefined
                  Foden @dc42
                  last edited by

                  @dc42 There is a mistake in my notes. The line "Edit the file \config\usb_eth_driver.conf.dist and add your SSID and password (only 2.4 Ghz)." is incorrect. It should be "Rename \config\wpa_supplicant.conf.dist to \config\wpa_supplicant.conf and add to it your SSID and password (only 2.4 Ghz)."

                  1 Reply Last reply Reply Quote 0
                  • Fodenundefined
                    Foden @dickie3126
                    last edited by

                    @dickie3126 sorry - There is a mistake in my notes. The line "Edit the file \config\usb_eth_driver.conf.dist and add your SSID and password (only 2.4 Ghz)." is incorrect. It should be "Rename \config\wpa_supplicant.conf.dist to \config\wpa_supplicant.conf and add to it your SSID and password (only 2.4 Ghz)."

                    1 Reply Last reply Reply Quote 0
                    • lvnonaundefined
                      lvnona
                      last edited by

                      I dont understand how to leave proper forum comment if my 2 previous writing your system marked as spam!???

                      JoergS5undefined 1 Reply Last reply Reply Quote 0
                      • JoergS5undefined
                        JoergS5 @lvnona
                        last edited by

                        @lvnona I had the same problem when I found two typos and corrected them in short intervals. Waiting a bit, it was possible to save then. spam may mean protection against those broadcasted messages.

                        1 Reply Last reply Reply Quote 0
                        • Maboverundefined
                          Mabover
                          last edited by

                          I wanted to share that I found a way to allow no login access to the still image webpage when using the Dafang Hacks firmware on a Wyze Camera V2

                          You will need to either ssh into your camera or take out the sd card and modify the lighttpd.config file
                          If accessing via ssh you will need to use vi, or if modifying via the sd card on your computer use a file editor like notepad++.

                          path via ssh: /system/sdcard/config/lighttpd.conf
                          path via sd card: \config\lighttpd.conf

                          once you have opened the file find the following line, should be line 40

                          $HTTP["url"] !~ "^/.well-known/(.*)" {
                          

                          and change it to the following

                          $HTTP["url"] !~ "^/cgi-bin/currentpic.cgi|/.well-known/(.*)" {
                          

                          save the file and reboot if accessing via ssh or reinstall the sd card in the camera and plug it back in. You should now be able to access the following link via your browser with out logging into the camera web interface

                          http://xxx.xxx.xxx.xxx/cgi-bin/currentpic.cgi
                          (replace the xxx.xxx.xxx.xxx) with your camera ip address or camera host name.

                          Once you have confirmed that this works you can place the link into the duet web control settings under the web camera config section in the setting page.

                          What this change does is specifically exempt the path to the currentpic.cgi webpage page from being protected via the login prompt. The rest of the web interface is still protected by the login prompt.

                          Please note that I have not validated if this change compromises the security of the default config Dafang Hacks firmware, so proceed at your own risk.

                          1 Reply Last reply Reply Quote 2
                          • Danalundefined
                            Danal
                            last edited by

                            YAY!!! I have two of those gathering dust, for just this reason.

                            YAY!!!

                            Delta / Kossel printer fanatic

                            1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal
                              last edited by

                              Mine apparently had old firmware, the config\lighttpd.conf file didn't have anything resembling the above. I did discover 'autoupdate.sh' while poking around. If anyone finds their file to be not as described, try this:

                              You may or may not wish to use the -f (force) option.

                              ssh root@192.168.x.x                            default password is 'ismart12'
                              cd /system/sdcard
                              ******* edit autoupdate.sh with vi and remove *.user and autoupdate.sh from the filter *********
                              ./autoupdate.sh -d /system/sdcard -f -v
                              

                              Check your /system/sdcard/config/wpa_supplicant.conf and adjust for your network, if required. Mine was OK.

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal
                                last edited by

                                And, after all of that, NO JOY. However:

                                ssh root@192.168.x.x                            default password is 'ismart12'
                                cd /system/sdcard
                                cp lighttpd.conf.dist lighttpd.conf
                                

                                And then the described edits, and a reboot, and VIOLA! The currentpic URL no longer requires a password.

                                WOO HOO

                                Delta / Kossel printer fanatic

                                1 Reply Last reply Reply Quote 0
                                • Thaliosundefined
                                  Thalios
                                  last edited by

                                  Just bought 2 WyzecamV2 just for this.

                                  Turns out I can't connect to them (either of them).

                                  The app works well, I see the RTSP feed via VLC, but I cannot connect to it through either ssh or www (http://xxx.xxx.xxx.xxx nor https://xxx.xxx.xxx.xxx)

                                  Any idea? I did extract all files to a microSD, edited the files on it as per instructions (wpa file, not the network).

                                  as mentioned, works well in the app, VLC, even coupled to my Synology NAS, but can'T get it to work...

                                  Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                                  Heavily modified Ender 3 Pro (Duet 3 6HC)
                                  Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                                  CR-10S Pro V2 (Duet 3 Mini 5+)
                                  and a bunch of SLA printers..

                                  1 Reply Last reply Reply Quote 1
                                  • Danalundefined
                                    Danal
                                    last edited by Danal

                                    It is hard to tell from your description, are you confident you got the firmware change to "take"? Do you see a web page with admin/ismart12 as the uid/pwd? (or root/ismart12, I don't remember)

                                    Delta / Kossel printer fanatic

                                    1 Reply Last reply Reply Quote 0
                                    • Thaliosundefined
                                      Thalios
                                      last edited by

                                      I do not see that at all. Seems like the firmware didn't update. How do you update this firmware exactly? Is there a special procedure? I updated via the usb card to the latest official first thing, then updated to the second "official" with RTSP.

                                      Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                                      Heavily modified Ender 3 Pro (Duet 3 6HC)
                                      Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                                      CR-10S Pro V2 (Duet 3 Mini 5+)
                                      and a bunch of SLA printers..

                                      1 Reply Last reply Reply Quote 0
                                      • Danalundefined
                                        Danal
                                        last edited by

                                        https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/install_cfw.md

                                        https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks

                                        Delta / Kossel printer fanatic

                                        1 Reply Last reply Reply Quote 0
                                        • Thaliosundefined
                                          Thalios
                                          last edited by

                                          I gave up on it for the moment.

                                          I was able to get it installed, but it is VERY unstable. The video would turn off randomly, and the only way to turn it back on was to go in the video settings, and select another format 2-3 times, then it would MAYBE come back. then if you reboot, it might work, or not.

                                          Same thing on 2 cameras. Reinstalled the firmware with RTSP for now until they have a more stable version.

                                          Railcore II 300ZL with lots of upgrades (Duet 3 6HC)
                                          Heavily modified Ender 3 Pro (Duet 3 6HC)
                                          Heavily modified Tronxy X5SA-500 Pro with Chimera+ and dual bondtech (Duet 3 6HC)
                                          CR-10S Pro V2 (Duet 3 Mini 5+)
                                          and a bunch of SLA printers..

                                          Fodenundefined 1 Reply Last reply Reply Quote 0
                                          • Fodenundefined
                                            Foden @Thalios
                                            last edited by

                                            @Thalios I used the Dafang hacks on multiple Wyze v2 without any problems and had them running that way for ages. Have switched all bar the one I use on my HEVO back to stock firmware as I'm using a different DVR. Hope you have better luck when you retry

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA