ant-thomas / zsgx1hacks

Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
368 stars 101 forks source link

IR-Cut Digoo DG-W01f Camera #66

Open kaotix opened 6 years ago

kaotix commented 6 years ago

I tested this firmware a while back, confirmed all was working well, however I'm now having issues with the IR-Cut on the camera. Basically it's open (off?) all the time so the image, even in daylight, is always washed out and purple because the IR-cut isn't working.

I've tried using the following commands but they don't seem to do anything at all

gio -s 46 1 > /dev/null gio -s 46 0 > /dev/null

So maybe the gpio for IR-Cut on this camera is different or that's not the right command for this at all? Any help would be appreciated because right now the camera is pretty much useless due to the poor image quality.

Thanks

laserlance commented 3 years ago

Look in /home/hardinfo.bin and you may see something like this:

<?xml version="1.0" encoding="UTF-8"?>

0 0 1007 eyeplus_ipc_gks_001 RS GK7102 15_0x00000000_0_1 15_0x00000000_0_1 53_0x00000000_0_0 33_0x00000000_0_0 12_0x00000000_0_1 44_0x00000000_0_1 39_0x00000000_0_1 In this case, the IrCut I/Os are 44 and 39. To turn it off: gio -s 44 0 && gio -s 39 1 To turn it on: gio -s 44 1 && gio -s 39 0