WyzeCamV2 used as an IP camera with Duet Wifi



  • Purchased dome of these beauties, https://www.amazon.ca/Wyze-Wireless-Camera-Android-Version/dp/B076H3SRXG/ref=sr_1_3?ie=UTF8&qid=1541290010&sr=8-3&keywords=wyze, for the house to replace my way more expensive - but dead - IP cameras. With the addition of a small/cheap 4-16GB SD card and an awesome hack from https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks, I can link them to my existing home PVR. I've used Sighthound for years https://www.sighthound.com/, but you don't need to have any software to use these cameras with with Duet Wifi. All you need to do is extract the folder 'firmware_mod' from the Dafang zip file to the root of your sd card. Edit the file \config\usb_eth_driver.conf.dist and add your SSID and password (only 2.4 Ghz). Rename \config\usb_eth_driver.conf.dist\ to \config\usb_eth_driver.conf. That sets up your Wi-Fi connectivity. Once you figure out the cameras IP just enter it into your browser http://www.xxx.yyy.zzz, you will be prompted for the user name 'root' and password 'ismart12' - all lowercase. You can, and should, change the password straight away. Monkey around with the settings but make sure under the camera controls you have RTSP h264 server running. Probably don't need to change much. Then go to your Duet W-Fi under Settings / User Interface enter this for the camera address https://www.xxx.yyy.zzz/cgi-bin/currentpic.cgi - replacing www.xxx.yyy.zzz with the camera IP. Set the web cam update interval to your liking, mine is set at 1 sec. Save your settings and when printing the job status window will update with an image from your camera based on the update interval you entered.
    The cameras will also work, generally, in low to no light, I forgot where i got the info but think it just needs a file in the config folder called 'autonight.conf.sw' and all it contains is '-S'


  • administrators

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

    Purchased dome of these beauties, https://www.amazon.ca/Wyze-Wireless-Camera-Android-Version/dp/B076H3SRXG/ref=sr_1_3?ie=UTF8&qid=1541290010&sr=8-3&keywords=wyze, for the house to replace my way more expensive - but dead - IP cameras. With the addition of a small/cheap 4-16GB SD card and an awesome hack from https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks, I can link them to my existing home PVR. I've used Sighthound for years https://www.sighthound.com/, but you don't need to have any software to use these cameras with with Duet Wifi. All you need to do is extract the folder 'firmware_mod' from the Dafang zip file to the root of your sd card. Edit the file \config\usb_eth_driver.conf.dist and add your SSID and password (only 2.4 Ghz). Rename \config\usb_eth_driver.conf.dist\ to \config\usb_eth_driver.conf. That sets up your Wi-Fi connectivity. Once you figure out the cameras IP just enter it into your browser http://www.xxx.yyy.zzz, you will be prompted for the user name 'root' and password 'ismart12' - all lowercase. You can, and should, change the password straight away. Monkey around with the settings but make sure under the camera controls you have RTSP h264 server running. Probably don't need to change much. Then go to your Duet W-Fi under Settings / User Interface enter this for the camera address https://www.xxx.yyy.zzz/cgi-bin/currentpic.cgi - replacing www.xxx.yyy.zzz with the camera IP. Set the web cam update interval to your liking, mine is set at 1 sec. Save your settings and when printing the job status window will update with an image from your camera based on the update interval you entered.
    The cameras will also work, generally, in low to no light, I forgot where i got the info but think it just needs a file in the config folder called 'autonight.conf.sw' and all it contains is '-S'

    Thanks for the details! I have added your instructions to the documentation at https://duet3d.dozuki.com/Wiki/How_to_include_a_web_camera_image_in_Duet_Web_Control.



  • My pleasure, glad I was able to Give rather than Receive for a change 😎

    This version of the hack also has an inbuilt 'Update' option that will check and automatically apply available updates. Simply go to the System menu, select Update and then click the Start button - the rest is automatic. Once completed the camera reboots automaticlaly



  • So... got a couple of Wyze cams, modified one, and they are GREAT!! Very good images.

    However, I've run into a little bit of trouble getting them to work with DWC. I'm 99% sure the problem I'm having is related to the id/password prompt. If I open the camera in a tab, supply user/pass, and THEN launch DWC in the same tab, it all works.

    Sometimes it appears to work, because of caching... but if you really reset everything, the ID/Pwd absolutely is required to make DWC work.

    Also... Chrome will not allow an embedded URL like: http://root:pass@bfdcam/cgi-bin/currentpic.cgi These work in the address bar, but will not work in a src="blah blah" in a page.

    So... what are people doing? Did I miss a setting?

    Thanks!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.