{"action":"created","issue":{"url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/24","repository_url":"https://api.github.com/repos/01org/SmartHome-Demo","labels_url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/24/comments","events_url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/24/events","html_url":"https://github.com/01org/SmartHome-Demo/pull/24","id":176580420,"number":24,"title":"Enable light weight rules engine for the Smart Home sensors ","user":{"login":"nagineni","id":1140096,"avatar_url":"https://avatars.githubusercontent.com/u/1140096?v=3","gravatar_id":"","url":"https://api.github.com/users/nagineni","html_url":"https://github.com/nagineni","followers_url":"https://api.github.com/users/nagineni/followers","following_url":"https://api.github.com/users/nagineni/following{/other_user}","gists_url":"https://api.github.com/users/nagineni/gists{/gist_id}","starred_url":"https://api.github.com/users/nagineni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagineni/subscriptions","organizations_url":"https://api.github.com/users/nagineni/orgs","repos_url":"https://api.github.com/users/nagineni/repos","events_url":"https://api.github.com/users/nagineni/events{/privacy}","received_events_url":"https://api.github.com/users/nagineni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-13T08:27:33Z","updated_at":"2016-09-13T16:44:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/01org/SmartHome-Demo/pulls/24","html_url":"https://github.com/01org/SmartHome-Demo/pull/24","diff_url":"https://github.com/01org/SmartHome-Demo/pull/24.diff","patch_url":"https://github.com/01org/SmartHome-Demo/pull/24.patch"},"body":"This branch contains the changes needed for enabling the light weight rules engine for the Smart Home  gateway. The rules engine takes the rules written in JSON format as input. It evaluates payload data received from the sensors with each rule and triggers the registered action when the conditions are met.\r\n\r\nThe following rules are now included:\r\n1. Change RGB LED color based on motion detection\r\n2. Trigger fan ON/OFF based on the gas detection\r\n\r\nI also added an option (-r) to run the service only with the rules engine just in case if we don't want to start 3D model UI."},"comment":{"url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/comments/246745473","html_url":"https://github.com/01org/SmartHome-Demo/pull/24#issuecomment-246745473","issue_url":"https://api.github.com/repos/01org/SmartHome-Demo/issues/24","id":246745473,"user":{"login":"uhofemei","id":933047,"avatar_url":"https://avatars.githubusercontent.com/u/933047?v=3","gravatar_id":"","url":"https://api.github.com/users/uhofemei","html_url":"https://github.com/uhofemei","followers_url":"https://api.github.com/users/uhofemei/followers","following_url":"https://api.github.com/users/uhofemei/following{/other_user}","gists_url":"https://api.github.com/users/uhofemei/gists{/gist_id}","starred_url":"https://api.github.com/users/uhofemei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhofemei/subscriptions","organizations_url":"https://api.github.com/users/uhofemei/orgs","repos_url":"https://api.github.com/users/uhofemei/repos","events_url":"https://api.github.com/users/uhofemei/events{/privacy}","received_events_url":"https://api.github.com/users/uhofemei/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T16:44:56Z","updated_at":"2016-09-13T16:44:56Z","body":"Works for me too. I wish it were easier to update the 3D model."}}
{"actor":{"display_login":"uhofemei"}}