Its been a while since i have been tinkering with idea to use the PHP for advance configuration of Routers, NAS and any device on the LAN / WAN using http1.1 on Port 80 forwarded to Synology NAS Webserver..
am able to achieve the following
1. reboot the NAS, Router etc based on Events in the Cameras
2. Reconfigure the NAS, Router based on specific Events