Fri Jan 10 09:54:10 EST 2025
Discussion
The UniFi G4 Pro PoE Doorbell light sensor faults when the sun shines diretly into the camera. In my case this is close to sundown in the winter. A small piece of translucent tape over the sensor prevents the fault and does not greatly impact the camera IR/Night switching. A restart of the doorbell resolves the issue until the next sunset.
- The button LED ring flashes white when the doorbell is in this fault condition.
- The display and path/package light do not operate in the fault condition.
-
'HW: light sensor issue' is logged in the camera
hw/rma.log
file when the fault occurs. - The hw/rma.log file does not exist until the system detects the fault. There is no timestamp in the file but the last file modification timestamp shows the time of the fault.
-
The camera detects the fault in the
/bin/check_hw_issues.sh
script. -
The
check_hw_issues.sh
script triggers the/usr/local/bin/testLed.sh
script. -
The
testLed.sh
script strobes the white LED ring around the button. -
Accessing the camera with ssh and looking for the
testLed.sh
script with theps
command is a method to identify the fault without physically looking at the camera. - It would be nice if UniFi revised their software to report this issue in the controller system alarms so the operator could be notified. Currently no system alarms are generated by this fault so the controller does not know there is a problem and no notification is generated.
- It would be nice if UniFi revised their software to restart the light sensor driver or restart the camera some time after a light sensor issue to cure the problem.
Speculation
-
The light sensor uses the
i2c
driver -
The PIR motion sensor is probably an
i2c
device and therefore out of service when the light sensor faults. This would prevent the display and path light from operating.