openipcamera / openipc-firmware

OpenIPC Firmware for Wyze Cameras
https://openip.cam
886 stars 128 forks source link

Officially Supporting Wyze Cam v2 #14

Open aaronsilber opened 6 years ago

aaronsilber commented 6 years ago

Wyze Labs has stopped selling the Wyze Cam v1 and has started accepting pre-orders for the Wyze Cam v2. As of today they have stated that they are "expected to ship in 4-6 weeks." Until someone gets a Wyze Cam v2 in their hands and tests this on it, we can only speculate if the current Chinese base firmware will work on the updated hardware.

Wyze Cam v2 pre-order: https://www.wyzecam.com/product/wyze-cam-v2/

It doesn't sound like much is different, just a few sensor and software upgrades, as well as tweaking the camera's exterior appearance.

It would be great to test and officially support the Wyze Cam v2 once they ship, as you can no longer buy the v1 cams from Wyze Labs.

openipcamera commented 6 years ago

I have a feeling this will work out of the box. I have my order in and will confirm.

ccaum commented 6 years ago

Unfortunately it doesn't appear to work. Got mine yesterday and can't get it to work. The Wyzecam never joins the network I configured it to. In step 4 in the installation instructions, the camera never gives a Chinese voice prompt. The logs are not text (base64 encoded?), so I'm not sure how to debug this.

bgulla commented 6 years ago

+1 doesn't work.

derspion318 commented 6 years ago

+1 doesn't work

eebrains commented 6 years ago

+1 hoping someone figures this out... my v2's want RTSP 😁

MatthewNinety commented 6 years ago

It works in the V2 alpha release on my Wyzecam V2!

ccaum commented 6 years ago

I can confirm the firmware runs, but that's about it (for me). The v4l2rtspserver starts, but never serves on port 544. When I start the server manually, I get the following errors printed to the console forever. Also, the cgi-bin/status endpoint returns 404.

[ERROR] /home/osboxes/SRC/Xiaomi-Dafang-Software/v4l2rtspserver-master/src/ALSACapture.cpp:113
    Error converting to MP3
[ERROR] /home/osboxes/SRC/Xiaomi-Dafang-Software/v4l2rtspserver-master/src/ALSACapture.cpp:113
    Error converting to MP3
[ERROR] /home/osboxes/SRC/Xiaomi-Dafang-Software/v4l2rtspserver-master/src/ALSACapture.cpp:113
    Error converting to MP3
[ERROR] /home/osboxes/SRC/Xiaomi-Dafang-Software/v4l2rtspserver-master/src/ALSACapture.cpp:113
    Error converting to MP3
ccaum commented 6 years ago

Nevermind. I see I'm supposed to just use http://IP/ to configure the camera and RTSP is listening on port 8554, not 554. All is working!

waspinator commented 6 years ago

what is the model number of the V2? I have an old version with model number iSC5.

svtcontour commented 6 years ago

Does it matter what firmware the Wyze V2 has? Mine was recently updated to 4.9.1.60. I've tried the Alpha V2 on several different cards. I get the yellow light / then blue / then it stays on yellow forever. Camera even starts to get hot. I unplug and reboot, goes back to OE firmware.

openipcamera commented 6 years ago

@svtcontour it should not matter as the first step is literally reflashing the firmware... @waspinator V2 says Wyze V2 on it.

ccaum commented 6 years ago

The only problem I’m running into is audio not working. It’s not coming through on the rtsp stream nor by running the ossplay command. The audio kernel module is loaded. Not sure what else to check.

derspion318 commented 6 years ago

Anyone else having an issue with the "Auto Night Mode"?

ccaum commented 6 years ago

@derspion318 I am. Just noticed it last night.

PH89 commented 6 years ago

@derspion318 I can confirm Auto Night Mode is not working for me also. @ccaum Audio playback and recording is also not working.

In general the is a problem with IR-Cut also, it can't be disabled. I guess GPIO pin 25 isn't the right pin since its not writable. According to : https://github.com/openipcamera/openipc-firmware/blob/37e84143d3ee61072b02b0d4b9b736d0a52d0c94/firmware_mod/v2/scripts/common_functions.sh#L116

echo 1 > "/sys/class/gpio/gpio25/value"  # disable ir-cut
sh: write error: Operation not permitted