{"action":"closed","issue":{"url":"https://api.github.com/repos/cdjackson/HABmin2/issues/161","repository_url":"https://api.github.com/repos/cdjackson/HABmin2","labels_url":"https://api.github.com/repos/cdjackson/HABmin2/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/cdjackson/HABmin2/issues/161/comments","events_url":"https://api.github.com/repos/cdjackson/HABmin2/issues/161/events","html_url":"https://github.com/cdjackson/HABmin2/issues/161","id":150845308,"number":161,"title":"Rule created with HABmin uses postUpdate instead of sendCommand","user":{"login":"denniseffing","id":5879568,"avatar_url":"https://avatars.githubusercontent.com/u/5879568?v=3","gravatar_id":"","url":"https://api.github.com/users/denniseffing","html_url":"https://github.com/denniseffing","followers_url":"https://api.github.com/users/denniseffing/followers","following_url":"https://api.github.com/users/denniseffing/following{/other_user}","gists_url":"https://api.github.com/users/denniseffing/gists{/gist_id}","starred_url":"https://api.github.com/users/denniseffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniseffing/subscriptions","organizations_url":"https://api.github.com/users/denniseffing/orgs","repos_url":"https://api.github.com/users/denniseffing/repos","events_url":"https://api.github.com/users/denniseffing/events{/privacy}","received_events_url":"https://api.github.com/users/denniseffing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cdjackson/HABmin2/labels/Awaiting%20Feedback","name":"Awaiting Feedback","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-25T12:44:22Z","updated_at":"2016-06-19T09:09:38Z","closed_at":"2016-06-19T09:09:37Z","body":"So I stumbled upon inconsistency regarding the use of postUpdate and sendCommand.\r\nMy friend and I were testing HABmin with 2 seperate openHAB 2 instances (which use the same configuration and database) and got different results when creating the following rule:\r\n![rule](https://cloud.githubusercontent.com/assets/5879568/14783884/ea128ca0-0af2-11e6-9925-d6c7eac7b463.png)\r\n\r\nOn his system the output looked like this:\r\n![rule2](https://cloud.githubusercontent.com/assets/5879568/14783939/3ca6a58c-0af3-11e6-9985-6a99bf1fc3ab.png)\r\n\r\nOn **my** system the output was slightly different, HABmin used sendCommand **instead of** postUpdate. \r\nOur items Rocker and SmartPlugSwitch are both of type Switch and connected to physical devices via aleoncean EnOcean Binding, so \"sendCommand\" is what we really want.\r\n\r\nFor further testing, I decided to set up another openHAB 2 instance on my machine with the very same configuration and installed HABmin again, but to my surprise HABmin used \"postUpdate\" this time around. I tried to figure out the reason for this but came up with nothing.\r\n\r\nCan anyone tell me what is going wrong here? Example 2 on the GitHub page uses \"sendCommand\" too, while Example 1 doesn't.\r\n\r\nWe are using the latest stable release of HABmin 2 (v0.1.4, 2016-04-10T22:45:48) and openHAB v2.0.0b2\r\n\r\nAlso: There is another problem with the rule above, see #162 for more information.\r\n\r\n"}}
{"actor":{"display_login":"cdjackson"}}