{"action":"created","issue":{"url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178","repository_url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks","labels_url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178/comments","events_url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178/events","html_url":"https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178","id":308169071,"number":178,"title":"Motion detection works, but doesn`t execute the script","user":{"login":"goermezer","id":19188171,"avatar_url":"https://avatars1.githubusercontent.com/u/19188171?v=4","gravatar_id":"","url":"https://api.github.com/users/goermezer","html_url":"https://github.com/goermezer","followers_url":"https://api.github.com/users/goermezer/followers","following_url":"https://api.github.com/users/goermezer/following{/other_user}","gists_url":"https://api.github.com/users/goermezer/gists{/gist_id}","starred_url":"https://api.github.com/users/goermezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goermezer/subscriptions","organizations_url":"https://api.github.com/users/goermezer/orgs","repos_url":"https://api.github.com/users/goermezer/repos","events_url":"https://api.github.com/users/goermezer/events{/privacy}","received_events_url":"https://api.github.com/users/goermezer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-03-23T20:28:44Z","updated_at":"2018-03-25T11:57:33Z","closed_at":null,"author_association":"NONE","body":"Impressive! Only 12 days to implement motion detection, which looks very promising.\r\n\r\nI understood that the intention of #176 was to call the script /system/sdcard/scripts/detectionOn.sh whenever motion was detected. That seems not to work at the moment. I created the script with following content:\r\n\r\n#!/bin/sh\r\n/system/sdcard/bin/curl --header \"Content-Type: text/plain\" --request PUT --data \"ON\" http://openhab/rest/items/motion/state\r\n\r\nIt is executable. Should it work like that?"},"comment":{"url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/comments/375964866","html_url":"https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178#issuecomment-375964866","issue_url":"https://api.github.com/repos/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/178","id":375964866,"user":{"login":"goermezer","id":19188171,"avatar_url":"https://avatars1.githubusercontent.com/u/19188171?v=4","gravatar_id":"","url":"https://api.github.com/users/goermezer","html_url":"https://github.com/goermezer","followers_url":"https://api.github.com/users/goermezer/followers","following_url":"https://api.github.com/users/goermezer/following{/other_user}","gists_url":"https://api.github.com/users/goermezer/gists{/gist_id}","starred_url":"https://api.github.com/users/goermezer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goermezer/subscriptions","organizations_url":"https://api.github.com/users/goermezer/orgs","repos_url":"https://api.github.com/users/goermezer/repos","events_url":"https://api.github.com/users/goermezer/events{/privacy}","received_events_url":"https://api.github.com/users/goermezer/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T11:57:33Z","updated_at":"2018-03-25T11:57:33Z","author_association":"NONE","body":"@herrxyz: Currently I`m testing it. If it works stable, I hope to get created a wiki item."}}
{"actor":{"display_login":"goermezer"}}