OpenIPC / device-mjsxj02hl

OpenIPC for Xiaomi MJSXJ02HL
https://openipc.org
MIT License
62 stars 11 forks source link

Dark mode image totally black #23

Closed gdbtg closed 10 months ago

gdbtg commented 10 months ago

Hello, I'm completely at ease with a completely black image when I'm in night mode. I have the impression that the infrareds are not triggered. When I switch from day mode to night mode, I can briefly see a decent image but then it disappears. I must be configuring something wrong. Could you please help me?

Here is my config : system: buffer: 1024 staticDir: /var/www/majestic isp: iqProfile: /etc/sensors/iq/f23.ini image: mirror: true flip: true rotate: none contrast: 50 hue: 50 saturation: 50 luminance: 50 osd: enabled: false template: "OpenIPC v.2.2 | %F %T %Z" nightMode: enabled: true irCutPin1: 70 irCutPin2: 68 backlightPin: 54 dncDelay: 6 nightAPI: false irSensorPinInvert: false irCutSingleInvert: false records: enabled: false path: /mnt/mmcblk0p1/%Y/%m/%d/%H/%M.mp4 maxUsage: 95 video0: enabled: true codec: h264 video1: enabled: false jpeg: enabled: true mjpeg: size: 640x360 fps: 5 bitrate: 2048 audio: enabled: true volume: 70 srate: 8000 codec: pcm outputEnabled: true speakerPin: 55 speakerPinInvert: false voiceEqualizer: common rtsp: enabled: true port: 554 hls: enabled: false youtube: enabled: false motionDetect: enabled: false visualize: true debug: true ipeye: enabled: false netip: enabled: false user: admin password: 12345 port: 34567 snapshots: true ignoreSetTime: false onvif: enabled: false watchdog: enabled: true timeout: 30

gdbtg commented 10 months ago

Theses settings solved the issue:

nightMode: enabled: true irCutPin1: 70 irCutPin2: backlightPin: 54 dncDelay: 5 nightAPI: false irSensorPinInvert: false irCutSingleInvert: false

Only one ircutpin Followed by: chmod +x /etc/init.d/S96autonight Reboot

Hope it can help.