OpenIPC / webui

OpenIPC web interface.
https://openipc.org
MIT License
44 stars 40 forks source link

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

Open plush opened 6 months ago

plush commented 6 months ago

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

flyrouter commented 6 months ago

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.