{"action":"opened","issue":{"url":"https://api.github.com/repos/jeedom/issues/issues/151","repository_url":"https://api.github.com/repos/jeedom/issues","labels_url":"https://api.github.com/repos/jeedom/issues/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/jeedom/issues/issues/151/comments","events_url":"https://api.github.com/repos/jeedom/issues/issues/151/events","html_url":"https://github.com/jeedom/issues/issues/151","id":196500350,"number":151,"title":"[SCRIPT] Probléme sur toujours répéter valeur avec un script PHP","user":{"login":"tocks53","id":7701808,"avatar_url":"https://avatars.githubusercontent.com/u/7701808?v=3","gravatar_id":"","url":"https://api.github.com/users/tocks53","html_url":"https://github.com/tocks53","followers_url":"https://api.github.com/users/tocks53/followers","following_url":"https://api.github.com/users/tocks53/following{/other_user}","gists_url":"https://api.github.com/users/tocks53/gists{/gist_id}","starred_url":"https://api.github.com/users/tocks53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocks53/subscriptions","organizations_url":"https://api.github.com/users/tocks53/orgs","repos_url":"https://api.github.com/users/tocks53/repos","events_url":"https://api.github.com/users/tocks53/events{/privacy}","received_events_url":"https://api.github.com/users/tocks53/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T19:29:30Z","updated_at":"2016-12-19T19:29:30Z","closed_at":null,"body":"Version de jeedom : beta 19/12/2016\r\n\r\nBonjour,\r\n\r\nJe rencontre un soucis de répétition de valeur avec un script en php dans le plugin script\r\n\r\nLe soucis ne ce présente que avec le Type script : script\r\n\r\nNous sommes au moins 2 à reproduire le soucis.\r\n\r\nNous avons testé avec deux scripte différents:\r\n\r\nen sh : \r\n\r\n[http://pix.toile-libre.org/upload/original/1482175523.png](url)\r\n\r\nen php : \r\n\r\n[http://pix.toile-libre.org/upload/original/1482175593.png](url)\r\n\r\nLe plugin script récupére bien les valeurs : \r\n\r\n`[2016-12-19 20:21:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:21:05][DEBUG] : Result : 12345\r\n[2016-12-19 20:22:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:22:05][DEBUG] : Result : 12345\r\n[2016-12-19 20:23:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:23:05][DEBUG] : Result : 12345\r\n[2016-12-19 20:24:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:24:05][DEBUG] : Result : 12345\r\n[2016-12-19 20:25:06][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:25:06][DEBUG] : Result : 12345\r\n[2016-12-19 20:26:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:26:05][DEBUG] : Result : 12345\r\n[2016-12-19 20:27:05][DEBUG] : Execution de : /var/www/html/plugins/script/core/ressources/tscript.sh 2>&1\r\n[2016-12-19 20:27:05][DEBUG] : Result : 12345\r\n`\r\n\r\n\r\nMais dans la partie historique nous n'avons que une seul valeur.\r\nDans l'export en csv, nous n'avons pas non plus la répétition des mêmes valeurs.\r\n\r\nVous pouvez également allez voire sur le fofo : [https://www.jeedom.com/forum/posting.php?mode=edit&f=109&p=413083](url)"}}
{"actor":{"display_login":"tocks53"}}