I’m not sure the camera is sending any login info. That might be something I’ll have to work out.
As it currently works, the customer uses a static IP and types that into the web browser. Then the camera acts like a normal web server and puts up a page with a UserID/Password field. You enter your ID information and it gives you a web page with the video feeds from each camera.
So with the new plan (to avoid requiring a static IP) the questions I have are
- how to transmit the customers dynamic IP to MODx
- how to attach that IP to the proper MODx user account
- how to embed the camera’s web page into MODx (this one’s easy)
- and if possible how to send preset camera UserID/Password to the camera’s login page for auto login.
1 - So transmitting the dynamic IP to any place might will be our first hurdle. If the camera can’t send the IP then maybe someone makes a standalone hardware device that sits on the network to transmit the IP. And the least favorite option is to have another computer running to send out the data using one of the many available Windows utilities.
2 - Once we get the IP sent out to MODx I’m not sure how to tell MODx what to do with it. I assume the IP would be transmitted with some kind of user identification code. I don’t know how that normally works. Then MODx could match that up to the users account every 10 minutes or whatever.
Is this sort of method prone to getting hijacked somehow and a false IP inserted?
3 - Embedding a web page from the camera into MODx should be pretty easy.
4 - But to have an auto login option for the camera page based on predefined data in MODx might be the tricky part.
ZAP, did I negate anything you said with my expanded comments?