{"action":"created","issue":{"url":"https://api.github.com/repos/alexylem/jarvis/issues/410","repository_url":"https://api.github.com/repos/alexylem/jarvis","labels_url":"https://api.github.com/repos/alexylem/jarvis/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/alexylem/jarvis/issues/410/comments","events_url":"https://api.github.com/repos/alexylem/jarvis/issues/410/events","html_url":"https://github.com/alexylem/jarvis/issues/410","id":205408399,"number":410,"title":"J'ai un soucis avec les Hooks... J'ai deux Raspberry Jarvis...","user":{"login":"Jean-Bernard-Hallez","id":23117522,"avatar_url":"https://avatars.githubusercontent.com/u/23117522?v=3","gravatar_id":"","url":"https://api.github.com/users/Jean-Bernard-Hallez","html_url":"https://github.com/Jean-Bernard-Hallez","followers_url":"https://api.github.com/users/Jean-Bernard-Hallez/followers","following_url":"https://api.github.com/users/Jean-Bernard-Hallez/following{/other_user}","gists_url":"https://api.github.com/users/Jean-Bernard-Hallez/gists{/gist_id}","starred_url":"https://api.github.com/users/Jean-Bernard-Hallez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jean-Bernard-Hallez/subscriptions","organizations_url":"https://api.github.com/users/Jean-Bernard-Hallez/orgs","repos_url":"https://api.github.com/users/Jean-Bernard-Hallez/repos","events_url":"https://api.github.com/users/Jean-Bernard-Hallez/events{/privacy}","received_events_url":"https://api.github.com/users/Jean-Bernard-Hallez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-02-05T07:38:18Z","updated_at":"2017-02-07T18:59:06Z","closed_at":null,"body":"Bonjour... suite à la mise à jour je n'ai pas d'amélioration des hooks:\r\n\r\nVoici mes hooks pour vous expliquer le problème:\r\n\r\n**entering_cmd**\r\n$verbose && jv_debug \"DEBUG: entering_cmd hook\"\r\n/home/pi/jarvis/plugins/jarvis-essai/essai.sh\r\ngpio mode 2 out    \r\ngpio mode 0 out \r\ngpio write 2 1\r\ngpio write 0 1\r\n\r\nsleep 0.2\r\ngpio write 2 0\r\ngpio write 0 0\r\n   \r\nsleep 0.2\r\ngpio write 2 1\r\ngpio write 0 1\r\n\r\nsleep 0.2\r\ngpio write 2 0\r\ngpio write 0 0\r\n\r\nsleep 0.2\r\ngpio write 2 1\r\ngpio write 0 1\r\n\r\n**exiting_cmd**\r\n$verbose && jv_debug \"DEBUG: exiting_cmd hook\"\r\ngpio mode 2 out \r\ngpio mode 0 out \r\ngpio write 2 0\r\ngpio write 0 0\r\n\r\n**program_exit**\r\n$verbose && jv_debug \"DEBUG: program_exit hook\"\r\n(( $1 )) && say \"J'ai rencontré une erreur, relancez-moi!\"\r\ngpio write 0 0\r\ngpio write 2 0\r\ngpio write 3 0\r\n\r\n**program_startup**\r\n$verbose && jv_debug \"DEBUG: program_startup hook\"\r\ngpio mode 3 out \r\ngpio write 3 1\r\n\r\nMon jarvis est composé de 2 leds pour les yeux et 1 pour le Nez, cette dernière doit resté allumé tant que jarvis fonctionne.\r\n\r\nMon soucis c'est que lorsque j'ai une commande dans mon crontab comme ceci:\r\n`7-21    *       *       1-5       ~/jarvis/jarvis.sh -x \"quelle heure est-il?\"0`\r\ntoutes les heures il m'annonce l'heure...\r\n\r\nMais dès que c'est fait... la led du nez s’éteint comme si jarvis ne fonctionnait plus alors qu'il tourne encore...\r\n\r\nj'ai le plugin UI & API.\r\n"},"comment":{"url":"https://api.github.com/repos/alexylem/jarvis/issues/comments/278104893","html_url":"https://github.com/alexylem/jarvis/issues/410#issuecomment-278104893","issue_url":"https://api.github.com/repos/alexylem/jarvis/issues/410","id":278104893,"user":{"login":"alexylem","id":11017174,"avatar_url":"https://avatars.githubusercontent.com/u/11017174?v=3","gravatar_id":"","url":"https://api.github.com/users/alexylem","html_url":"https://github.com/alexylem","followers_url":"https://api.github.com/users/alexylem/followers","following_url":"https://api.github.com/users/alexylem/following{/other_user}","gists_url":"https://api.github.com/users/alexylem/gists{/gist_id}","starred_url":"https://api.github.com/users/alexylem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexylem/subscriptions","organizations_url":"https://api.github.com/users/alexylem/orgs","repos_url":"https://api.github.com/users/alexylem/repos","events_url":"https://api.github.com/users/alexylem/events{/privacy}","received_events_url":"https://api.github.com/users/alexylem/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T18:59:06Z","updated_at":"2017-02-07T18:59:06Z","body":"Le jarvis de JB peut-être discuté sur le ticket dédié: #413 "}}
{"actor":{"display_login":"alexylem"}}