{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1545","repository_url":"https://api.github.com/repos/openhab/openhab2-addons","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1545/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1545/comments","events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1545/events","html_url":"https://github.com/openhab/openhab2-addons/issues/1545","id":194162017,"number":1545,"title":"EXEC not working","user":{"login":"htrampe","id":15726273,"avatar_url":"https://avatars.githubusercontent.com/u/15726273?v=3","gravatar_id":"","url":"https://api.github.com/users/htrampe","html_url":"https://github.com/htrampe","followers_url":"https://api.github.com/users/htrampe/followers","following_url":"https://api.github.com/users/htrampe/following{/other_user}","gists_url":"https://api.github.com/users/htrampe/gists{/gist_id}","starred_url":"https://api.github.com/users/htrampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htrampe/subscriptions","organizations_url":"https://api.github.com/users/htrampe/orgs","repos_url":"https://api.github.com/users/htrampe/repos","events_url":"https://api.github.com/users/htrampe/events{/privacy}","received_events_url":"https://api.github.com/users/htrampe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-07T20:36:02Z","updated_at":"2016-12-08T10:22:11Z","closed_at":"2016-12-07T22:03:34Z","body":"Hi! I'am using the latest openhab2-beta4-release and installed the EXEC-Binding 2.0 Snapshot by HABmin. I insert the code for a switch-Item. The item is visibly in the basic ui. But when iam clicking on it its not working. I can fired it up with openhab-user by using the terminal. So what's wrong? Biggest Problem: in the openhab2.log-file is nothing saved for the exec-binding. Also when iam writing a wrong path the log-file does not give any information. Can someone help? THX!"},"comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments/265705568","html_url":"https://github.com/openhab/openhab2-addons/issues/1545#issuecomment-265705568","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1545","id":265705568,"user":{"login":"htrampe","id":15726273,"avatar_url":"https://avatars.githubusercontent.com/u/15726273?v=3","gravatar_id":"","url":"https://api.github.com/users/htrampe","html_url":"https://github.com/htrampe","followers_url":"https://api.github.com/users/htrampe/followers","following_url":"https://api.github.com/users/htrampe/following{/other_user}","gists_url":"https://api.github.com/users/htrampe/gists{/gist_id}","starred_url":"https://api.github.com/users/htrampe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htrampe/subscriptions","organizations_url":"https://api.github.com/users/htrampe/orgs","repos_url":"https://api.github.com/users/htrampe/repos","events_url":"https://api.github.com/users/htrampe/events{/privacy}","received_events_url":"https://api.github.com/users/htrampe/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T10:22:11Z","updated_at":"2016-12-08T10:22:11Z","body":"No, sorry - nothing happened. I installed latest version (snapshot), installed the EXEC-Binding with HAbmin, make shure that i can execute the script as openhab-user (su openhab) but nothing happens. Here is my item-content:\r\n`Group funksteckdosen\r\n\r\nSwitch FS_SZ_lampe { exec=\">[ON:/etc/openhab2/scripts/brennstuhl_switch.sh 1 4 10000] >[OFF:/etc/openhab2/scripts/brennstuhl_switch.sh 0 4 10000]\" }\r\n`\r\nHere is my Script:\r\n`\r\n#!/bin/bash\r\ngpio -1 mode 0 out\r\n\r\nif [ \"$1\" == 1 ]; then\r\n        #gpio -1 write 11 1\r\n        ssh root@192.168.178.150 \"/usr/local/bin/send $3 $2 1\"\r\nelse\r\n        #gpio -1 write 11 0\r\n        ssh root@192.168.178.150 \"/usr/local/bin/send $3 $2 0\"\r\nfi\r\n\r\n`\r\n"}}
{"actor":{"display_login":"htrampe"}}