webui icon indicating copy to clipboard operation
webui copied to clipboard

Ingenic: /usr/sbin/daynight.sh doesn't check whether imp-control is in use

Open plush opened this issue 1 year ago • 1 comments

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] https://github.com/OpenIPC/webui/blob/45d30fba70aaf6a255143e0cd5326ac7156e2ceb/files/usr/sbin/daynight.sh#L39

plush avatar Feb 11 '24 21:02 plush

Good afternoon, thank you for your interest in the project. Unfortunately, we are forced to abandon the use of imp-control together with majestic since it uses a not entirely correct (albeit quite interesting) method of accessing the ISP. We are currently moving to using majestic-plugins, which are open source and located in a repository with the same name.

flyrouter avatar Feb 12 '24 08:02 flyrouter