openfang
openfang copied to clipboard
SXJ02ZM: Add fixes for filter, yellow led, night mode
Signed-off-by: Yevhen Fastiuk [email protected]
Device: Mi Home Security Camera Basic 1080P (SXJ02ZM) (mijia.camera.v3)
This PR contains the next items:
- Add HTTP actions to enable/disable night-mode
- Fix filter pins for SXJ02ZM camera (It is reversed for this cam at least)
- Add nvram state for yellow led.
Usage:
- Enable/disable night-mode
curl -k "https://<camera-ip>/cgi-bin/action.cgi?cmd=night-mode-on"
curl -k "https://<camera-ip>/cgi-bin/action.cgi?cmd=night-mode-off"
- Change yellow led state to off (1 for on)
nvram set 2860 yellow_led_state 0