There is a comment in usr/sbin/daynight.sh that says it should check whether imp-control is in use [1]. However, the check is not implemented and the script unconditionally tries to access an imp-control server at localhost:4000. At least for my Ingenic camera (Wyze v3), no such server is running and the script fails to read the current gain value.
[1]
|
# For Ingenic we need to check whether the imp-control system is used or not |