{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/960","repository_url":"https://api.github.com/repos/pimatic/pimatic","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/960/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/960/events","html_url":"https://github.com/pimatic/pimatic/issues/960","id":169603086,"number":960,"title":"[pimatic-shell-execute] Switch off action doesn't execute \"off\" command if ShellSwitch is off","user":{"login":"Wikibear","id":18314278,"avatar_url":"https://avatars.githubusercontent.com/u/18314278?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikibear","html_url":"https://github.com/Wikibear","followers_url":"https://api.github.com/users/Wikibear/followers","following_url":"https://api.github.com/users/Wikibear/following{/other_user}","gists_url":"https://api.github.com/users/Wikibear/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikibear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikibear/subscriptions","organizations_url":"https://api.github.com/users/Wikibear/orgs","repos_url":"https://api.github.com/users/Wikibear/repos","events_url":"https://api.github.com/users/Wikibear/events{/privacy}","received_events_url":"https://api.github.com/users/Wikibear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pimatic/pimatic/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-05T13:06:43Z","updated_at":"2016-08-06T08:43:31Z","closed_at":null,"body":"I don’t know if my issue is a bug or a feature.\r\nI use brennenstuhl gateway and some power switches. I use also hardkey wireless control from brennenstuhl to control some lights manually by hand. Before update to 0.9 i can use both: hardkey and software of pimatic to control light or switches. You can find a script here in forums to control brennenstuhl gateway with pimatic. That works very well. But not with all condition and rules.\r\n\r\nNow happens following issue:\r\n\r\nIf i switch with my hardkey my light on then pimatic dont switch light off if a rule set my powerswitch to off. The rule will start and you can see in log file that pimatic rule gets active but nothing happens.\r\nI think pimatic get a littlebit more smarter and don’t switch a button off its in off position. But thats stupid for me. If i switch my light on via hardkey then pimatic think its off. But its on. I have no chance to make a request of status. It’s not depended.\r\n\r\nQuestion: Is this a bug is this a feature? If this is a feature i must force the execute command that i get my power switch off if its off in pimatic.\r\n\r\nAgain: A button in off position can’t be switch off again if its in off mode. But then my script for this button will not execute.\r\n"},"comment":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/comments/238013174","html_url":"https://github.com/pimatic/pimatic/issues/960#issuecomment-238013174","issue_url":"https://api.github.com/repos/pimatic/pimatic/issues/960","id":238013174,"user":{"login":"michbeck100","id":5385572,"avatar_url":"https://avatars.githubusercontent.com/u/5385572?v=3","gravatar_id":"","url":"https://api.github.com/users/michbeck100","html_url":"https://github.com/michbeck100","followers_url":"https://api.github.com/users/michbeck100/followers","following_url":"https://api.github.com/users/michbeck100/following{/other_user}","gists_url":"https://api.github.com/users/michbeck100/gists{/gist_id}","starred_url":"https://api.github.com/users/michbeck100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michbeck100/subscriptions","organizations_url":"https://api.github.com/users/michbeck100/orgs","repos_url":"https://api.github.com/users/michbeck100/repos","events_url":"https://api.github.com/users/michbeck100/events{/privacy}","received_events_url":"https://api.github.com/users/michbeck100/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T08:43:31Z","updated_at":"2016-08-06T08:43:31Z","body":"Just remember that this bugfix prevents infinite loops when switching in some cases depending on the used plugin and in conjunction with pimatic-hap. So keep that in mind when using \"forceExecution\" "}}
{"actor":{"display_login":"michbeck100"}}