Skip to content

Instantly share code, notes, and snippets.

@csev1755
Last active March 21, 2024 14:52
Show Gist options
  • Save csev1755/e60abe15d8708e0d2b0a592e808b2022 to your computer and use it in GitHub Desktop.
Save csev1755/e60abe15d8708e0d2b0a592e808b2022 to your computer and use it in GitHub Desktop.
Notes on Wyze Cam v2 for OpenIPC

Installation

SoC: Ingenic T20 - OpenIPC (NOR 16M, Ultimate, Wireless only, SD card slot)

After installation, run:

fw_setenv wlandev rtl8189ftv-t20-wyze-v2

Auto nightmode

There is no GPIO light sensor, will need to follow this guide: https://github.com/OpenIPC/wiki/blob/master/en/auto-night-mode-without-light-sensor.md

You might also want to modify the autonight.sh script to use the digital gain value instead of the analog gain. I found that the analog gain value very quickly capped at 128 even in a moderately lit room which led to the IR LEDs turning on unnecessarily.

Replace:

isp_again=$(echo "${metrics}" | awk '/^isp_again/ {print $2}' | grep . || echo 0)

With:

isp_again=$(echo "${metrics}" | awk '/^isp_dgain/ {print $2}' | grep . || echo 0)
@csev1755
Copy link
Author

@flyrouter I can't seem to get that to work after setting those values in the Majestic configuration and ensuring the custom autonight service is disabled. I've also confirmed the analog gain is now being shown in the metrics, it seems like the max darkness value is 128 which can be simulated by just putting your hand near to the camera; very sensitive. I might switch the autonight script back to using analog values just to try it out and update the notes with what I find out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment