{"comment":{"url":"https://api.github.com/repos/ccrisan/motioneye/comments/18190407","html_url":"https://github.com/ccrisan/motioneye/commit/834a68233f8c162b0c77049cbd177ee053876f27#commitcomment-18190407","id":18190407,"user":{"login":"ChriZathens","id":8545172,"avatar_url":"https://avatars.githubusercontent.com/u/8545172?v=3","gravatar_id":"","url":"https://api.github.com/users/ChriZathens","html_url":"https://github.com/ChriZathens","followers_url":"https://api.github.com/users/ChriZathens/followers","following_url":"https://api.github.com/users/ChriZathens/following{/other_user}","gists_url":"https://api.github.com/users/ChriZathens/gists{/gist_id}","starred_url":"https://api.github.com/users/ChriZathens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChriZathens/subscriptions","organizations_url":"https://api.github.com/users/ChriZathens/orgs","repos_url":"https://api.github.com/users/ChriZathens/repos","events_url":"https://api.github.com/users/ChriZathens/events{/privacy}","received_events_url":"https://api.github.com/users/ChriZathens/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"834a68233f8c162b0c77049cbd177ee053876f27","created_at":"2016-07-11T07:17:21Z","updated_at":"2016-07-11T07:17:21Z","body":"My camera is a PTZ camera (Dlink DCS-5010L)\r\nYou can configure different predefined positions (presets) which are given specific numbers and clicking to that number will move the camera directly to that specified position and you don't have to move it there manually using the directional arrows.\r\nFor example, my camera has its home position towards the center of the room. If I want to check what is happening on the far right corner of the room, I will have to tilt it using the right arrow. But I have created a preset (preset number 2 in this case) which sends the camera directly to the desired position.\r\nI can do this with curl, using the following:\r\n/usr/bin/curl --user user:password --user-agent \"motioneye\" --data \"PanTiltPresetPositionMove=2\" http://camera_ip/pantiltcontrol.cgi\r\nATM I use the alarm_off action button to go directly there. It works beautifully,however I have to remember that alarm_off is actually \"tilt far right\".\r\n"}}
{"actor":{"display_login":"ChriZathens"}}