How can I get a snapshot to post to my Weather Underground weather cam site?

With my current IP camera I can open the URL with " curl http://192.168.1x/cgi-bin/snapshot.cgi". Is there a similar way to obtain a single image from the Wyze? I don’t want to loose the rest of the excellent features of the Wyze.

I also have a weatherunderground account/station. I currently use the FTP feature on my foscam to upload to the weather underground servers for the daily timelapse compilation ( link - ). I would love to know if the wyze cam can work with the weather underground.

It works with the beta firmware using RTSP. I use ffmpeg to grab a single frame of the stream and then FTP it to Weather Underground. It runs every five minutes although WU seems a little flaky at the moment:

I have ffmpeg cmd line syntax impenetrable. Could you share yours?
Also, I think the RTSP firmware doesn’t include a number of the monitoring and playback features of the standard firmware. Is that true?

Sure. The ffmpeg command I use is:

ffmpeg -y -i rtsp:// -vframes 1 image.jpg

I then use wput to upload it to WU and have it run as a cron job every 5 minutes.

The beta firmware contains all the same features as the last released version but will branch off at that point. So it looks like we’ll keep at least some motion and playback capability.

I know the IP of my camera, but I don’t know the username and password.

Do you by any chance have the cronjob command you are using for wput?

Look here.

Appreciate the patience… In case anyone looks in the future, here’s the script I run to grab the RTSP stream and them put it up on Weather Underground:

ffmpeg y - rtsp:// vframes 1 image.jpg wput image.jpg

I then have Crontab set to:

*/5 * * * * /

That runs the script every five minutes although Weather Underground certainly won’t take the upload that often. Seems to actually take an upload a couple times an hour but it’s enough for what I need.


There are some dashes missing in your example, so here’s what I have in a windows command file (aka batch file) which is run every 10 minutes by task scheduler. Call it whatever you like, say FTP2WU.cmd:

Line 1:

{path to ffmpeg.exe}\ffmpeg -y -i rtsp://{wyze rstp username}:{wyze rstp password}@{IP of cam}:554/live -vframes 1 -vf “crop=640:480:800:400” {path to folder holding jpeg}\image.jpg

Line 2:
ftp -s:{path to folder holding FTP commands}\WUFTP.txt

Obviously “Line N:” doesn’t go into the command file
The -vf “crop…” segment can be left out. For more on resizing and cropping see

The WUFTP.txt file contains:

{WU camera name}
{WU camera key/password}
put {path to folder holding jpeg}\image.jpg

Thanks for the instructions. I was able to get ffmpeg to create the image.jpg and verified it looked ok and was able to upload to WU, but the image looks scrambled like this on WU:

Has anyone else had this issue or know how to resolve?

ok…well I’ll answer my own question in case it helps someone out in the future. If your image looks like mine above then you need to add a line that says “binary” in your FTP.TXT file. Apparently command prompt FTP defaults to ASCII. I also noticed that you need a delay after the ffmpeg command or else you may inadvertently upload a file that is half-baked.

Can my camera be connected to my weather underground weather station, if so how. Thanjs

Connected in what way?

@ke6bnl Use RTSP stream.

Read the whole topic from top to bottom. You don’t need the beta firmware anymore though. I’m using the released firmware and it works great. However it did break the time-lapse function. Works great for WU! Check it out:

In @ke6bnl’s defense I did merge their topic with this one. My apologies for the confusion. :slight_smile:

to view what is on the wyze cam onto weather underground

Hi @ke6bnl, I noticed you replied via email. You might want to check out the thread I merged your question with. :slight_smile:

1 Like

Where do I find the ‘Username’ and ‘Password’ to access my camera?
My login is my email address, so that can’t be my ‘Username’

rob@Robs-MBP:/Users/rob> ffmpeg -y -i rtsp:// -vframes 1 image.jpg
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.2.0/include/openjpeg-2.2 --enable-nonfree --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
[tcp @ 0x7f8be2c013a0] Connection to tcp:// failed: Connection refused
rtsp:// Connection refused