Jump to content

GMD99

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by GMD99

  1. I realize that this is a very old thread (2015!) but I am trying to access some of the parameters on my Hikvision cameras and having trouble! I can use the following line in a browser and get the proper reply: http://usename:password@address:port/ISAPI/Smart/LineDetection/1 Here is the reply... <LineDetection> <id>1</id> <enabled>true</enabled> <normalizedScreenSize> <normalizedScreenWidth>1000</normalizedScreenWidth> <normalizedScreenHeight>1000</normalizedScreenHeight> </normalizedScreenSize> <LineItemList size="1"> <LineItem> <id>1</id> <enabled>false</enabled> <sensitivityLevel>60</sensitivityLevel> <directionSensitivity>any</directionSensitivity> <CoordinatesList> <Coordinates> <positionX>645</positionX> <positionY>109</positionY> </Coordinates> <Coordinates> <positionX>28</positionX> <positionY>365</positionY> </Coordinates> </CoordinatesList> </LineItem> </LineItemList> <isSupportMultiScene>false</isSupportMultiScene> <recogRuleType>vectorMode</recogRuleType> </LineDetection> However, when I try this same command from a terminal session on my Windows 10 PC, or a PuTTY session on my Raspberry PI i get this response: <!DOCTYPE html> <html><head><title>Document Error: Unauthorized</title></head> <body><h2>Access Error: 401 -- Unauthorized</h2> <p>Authentication Error</p> </body> </html> I recognize that I am running into an authorization issue... but can anyone shed light on why this is happening?
×