1
votes

I have a IP camera in homenetwork. I can control it by web access. I want to send a request from arduino program (in the same homenetwork) that will control ptz of camera. How can I find the link - part of script ... to turn camera on preset position? Arduino + ethernet schield is controled from web server out of my homenetwork and I want to use it to control ptz of camera.

1
what security has the camera? https? login and password authentication?Juraj
It is HTTP with login and password. Is possible to set "visitor" account, too.Kamera Prvá
can you add to question the http request you want to make from Arduino? use F12 tool of the browser to get the request line, request headers and request body. Body only if it is a POST request.Juraj
I have poor experiences with this, can you explain me how to get request line ...Kamera Prvá
pozerám, si zo Slovenska, kde ťa môžem kontaktovať v slovenčine?Kamera Prvá

1 Answers

0
votes

Request headers:

Host: --- ip --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:63.0) Gecko/20100101 Firefox/63.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: sk,cs;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://--- ip ---/monitor2.htm Authorization: Basic YWRtaW46SGVzbG9AMTIz Connection: keep-alive Cookie: noshow=0; browser=1 Upgrade-Insecure-Requests: 1

How can I ad it to arduino skatch? Thanks