{"action":"created","issue":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/563","repository_url":"https://api.github.com/repos/ccrisan/motioneye","labels_url":"https://api.github.com/repos/ccrisan/motioneye/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/ccrisan/motioneye/issues/563/comments","events_url":"https://api.github.com/repos/ccrisan/motioneye/issues/563/events","html_url":"https://github.com/ccrisan/motioneye/issues/563","id":236489693,"number":563,"title":"Trigger recording from outside Motion(eye)","user":{"login":"antares2001","id":3571598,"avatar_url":"https://avatars0.githubusercontent.com/u/3571598?v=3","gravatar_id":"","url":"https://api.github.com/users/antares2001","html_url":"https://github.com/antares2001","followers_url":"https://api.github.com/users/antares2001/followers","following_url":"https://api.github.com/users/antares2001/following{/other_user}","gists_url":"https://api.github.com/users/antares2001/gists{/gist_id}","starred_url":"https://api.github.com/users/antares2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antares2001/subscriptions","organizations_url":"https://api.github.com/users/antares2001/orgs","repos_url":"https://api.github.com/users/antares2001/repos","events_url":"https://api.github.com/users/antares2001/events{/privacy}","received_events_url":"https://api.github.com/users/antares2001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-16T13:53:43Z","updated_at":"2017-06-29T18:40:41Z","closed_at":null,"body":"Hello @ccrisan \r\n\r\nafter a long time I've come back to give a try to Motion Eye and I like it a lot, when running on my Debian machine. Yet, since I am using more than a hand full of cameras, I cannot use software based motion detection as it is a) far too unreliable and b) it eats up all my CPU already with 2-3 cameras.\r\n\r\nHence, I've recently been playing with using my home automation motion sensors to trigger recording, by calling a URL. I've tried it with Zoneminder and it worked quite well, as they offer http URLs that can be used to start and stop recording (web-triggered recording they call it). Yet, Zoneminder was far too fat and the lack of recording movies instead of .jpgs makes it no feasible solution for me (hard disk runs full after a day of recording and the filesystem goes crazy).\r\n\r\nI'd like to use Motioneye for that purpose, but I've not been able neither by using Google nor Github search to find how to trigger recording externally.\r\n\r\nIs there any API to motioneye that allows it? Can I trigger and stop recording from a camera by calling an API? I've seen that I can see the stream of camera 1 via http://server:8081 - so a http://server:8081?recording=[start|stop] would be a great way to control recording.\r\n\r\nYet, I am afraid this is not the case, and hence I'd then add this as feature request which would make Motioneye really a superior system, that then can be integrated with more reliable motion sensors than software based motion-detection is (and this is also much more energy efficient and saves the environment :-))."},"comment":{"url":"https://api.github.com/repos/ccrisan/motioneye/issues/comments/312061378","html_url":"https://github.com/ccrisan/motioneye/issues/563#issuecomment-312061378","issue_url":"https://api.github.com/repos/ccrisan/motioneye/issues/563","id":312061378,"user":{"login":"frekel","id":31908,"avatar_url":"https://avatars0.githubusercontent.com/u/31908?v=3","gravatar_id":"","url":"https://api.github.com/users/frekel","html_url":"https://github.com/frekel","followers_url":"https://api.github.com/users/frekel/followers","following_url":"https://api.github.com/users/frekel/following{/other_user}","gists_url":"https://api.github.com/users/frekel/gists{/gist_id}","starred_url":"https://api.github.com/users/frekel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frekel/subscriptions","organizations_url":"https://api.github.com/users/frekel/orgs","repos_url":"https://api.github.com/users/frekel/repos","events_url":"https://api.github.com/users/frekel/events{/privacy}","received_events_url":"https://api.github.com/users/frekel/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T18:40:40Z","updated_at":"2017-06-29T18:40:40Z","body":"I second this request!"}}
{"actor":{"display_login":"frekel"}}