{"action":"created","issue":{"url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/132","repository_url":"https://api.github.com/repos/bwssytems/ha-bridge","labels_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/132/comments","events_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/132/events","html_url":"https://github.com/bwssytems/ha-bridge/issues/132","id":162654179,"number":132,"title":"Logic in commands sent","user":{"login":"wookienow","id":16532418,"avatar_url":"https://avatars.githubusercontent.com/u/16532418?v=3","gravatar_id":"","url":"https://api.github.com/users/wookienow","html_url":"https://github.com/wookienow","followers_url":"https://api.github.com/users/wookienow/followers","following_url":"https://api.github.com/users/wookienow/following{/other_user}","gists_url":"https://api.github.com/users/wookienow/gists{/gist_id}","starred_url":"https://api.github.com/users/wookienow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wookienow/subscriptions","organizations_url":"https://api.github.com/users/wookienow/orgs","repos_url":"https://api.github.com/users/wookienow/repos","events_url":"https://api.github.com/users/wookienow/events{/privacy}","received_events_url":"https://api.github.com/users/wookienow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bwssytems/ha-bridge/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"bwssytems","id":13528314,"avatar_url":"https://avatars.githubusercontent.com/u/13528314?v=3","gravatar_id":"","url":"https://api.github.com/users/bwssytems","html_url":"https://github.com/bwssytems","followers_url":"https://api.github.com/users/bwssytems/followers","following_url":"https://api.github.com/users/bwssytems/following{/other_user}","gists_url":"https://api.github.com/users/bwssytems/gists{/gist_id}","starred_url":"https://api.github.com/users/bwssytems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwssytems/subscriptions","organizations_url":"https://api.github.com/users/bwssytems/orgs","repos_url":"https://api.github.com/users/bwssytems/repos","events_url":"https://api.github.com/users/bwssytems/events{/privacy}","received_events_url":"https://api.github.com/users/bwssytems/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwssytems","id":13528314,"avatar_url":"https://avatars.githubusercontent.com/u/13528314?v=3","gravatar_id":"","url":"https://api.github.com/users/bwssytems","html_url":"https://github.com/bwssytems","followers_url":"https://api.github.com/users/bwssytems/followers","following_url":"https://api.github.com/users/bwssytems/following{/other_user}","gists_url":"https://api.github.com/users/bwssytems/gists{/gist_id}","starred_url":"https://api.github.com/users/bwssytems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwssytems/subscriptions","organizations_url":"https://api.github.com/users/bwssytems/orgs","repos_url":"https://api.github.com/users/bwssytems/repos","events_url":"https://api.github.com/users/bwssytems/events{/privacy}","received_events_url":"https://api.github.com/users/bwssytems/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-06-28T10:34:09Z","updated_at":"2016-09-20T21:25:01Z","closed_at":null,"body":"Hi,\r\nYou mention. Multiple Command Sending on your web page. (see below) the image shows logic.\r\n\r\nIs there a way to build logic in what is sent.\r\ni.e. For Dim commands\r\ncount = intensity.math\r\nwhile (count>0)\r\n{\r\n{\"device\":\"26936994\",\"button\":\"VolumeUp\"}\r\ncount= count -1\r\n}\r\n\r\n\r\n\"Multiple command sending....\r\nNew! Any type of custom command can be built within one bridge device. Such as executing multiple UDP calls in once command or TCP calls or HTTP calls or a mixture of the three. Execution calls can be bundled together too.\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/comments/248439209","html_url":"https://github.com/bwssytems/ha-bridge/issues/132#issuecomment-248439209","issue_url":"https://api.github.com/repos/bwssytems/ha-bridge/issues/132","id":248439209,"user":{"login":"cjeri","id":22331663,"avatar_url":"https://avatars.githubusercontent.com/u/22331663?v=3","gravatar_id":"","url":"https://api.github.com/users/cjeri","html_url":"https://github.com/cjeri","followers_url":"https://api.github.com/users/cjeri/followers","following_url":"https://api.github.com/users/cjeri/following{/other_user}","gists_url":"https://api.github.com/users/cjeri/gists{/gist_id}","starred_url":"https://api.github.com/users/cjeri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjeri/subscriptions","organizations_url":"https://api.github.com/users/cjeri/orgs","repos_url":"https://api.github.com/users/cjeri/repos","events_url":"https://api.github.com/users/cjeri/events{/privacy}","received_events_url":"https://api.github.com/users/cjeri/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T21:25:01Z","updated_at":"2016-09-20T21:25:01Z","body":"Been trying to use the above to work, but have failed miserably.\r\n\r\nMy steps:\r\n1) Created a couple devices with Global Cache IR codes running on JSON. e.g. \"ButtonA\", \"LightsB\" - using the same names above for simplicity sake\r\n2) Added a manual command called \"TEST\", and included the following under the \"On URL\":\r\n{\"item\":\"http://bridge_ipa_and_port/api/userxxx/lights/ButtonA/state\"},{\"item\":\"http://bridge_ipa_and_port/api/userxxx/lights/LightB/state\"}]\r\n3) Included the following HTTP VERB \"PUT\", Content Type: application/json:\r\n{\"on\":true}\r\n4) Saved the command and tested: no result\r\n\r\nI know the individual buttons (i.e. ButtonA, LightB) are fine, as they do trigger an IR command. However, I may be doing something wrong with the multiple command structure. Any help / changes I need to make? What should I replace the \"userxxx\" with? \r\n\r\nThanks,\r\nCJ"}}
{"actor":{"display_login":"cjeri"}}