{"action":"created","comment":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/51025723","id":51025723,"diff_hunk":"@@ -0,0 +1,348 @@\n+/**\n+ *  Navien Thermostat\n+ *\n+ *  Author: Navien Within\n+ *  Date: 2015-11-02\n+ */\n+metadata {\n+\tdefinition (name: \"Navien Room Controller\", namespace: \"smartthings\", author: \"Navien\") {\n+        capability \"Thermostat\"\n+        capability \"Polling\"\n+        capability \"Refresh\"\n+        \n+        command \"generateEvent\"\n+        command \"powerONOFF\"\n+        command \"setRoomTemp\"\n+        command \"setOndolTemp\"\n+        command \"controlMode1\"\n+        command \"controlMode2\"\n+        \n+        attribute \"setRoomSlider\",  \"NUMBER\"\n+        attribute \"setOndolSlider\", \"NUMBER\"\n+\t}\n+\n+  \t// simulator metadata\n+\tsimulator { }\n+\t\n+    //tiles(scale: 2) {\n+    tiles {\n+    \t/*\n+\t\tmultiAttributeTile(name: \"temperature\", type: \"thermostat\", canChangeIcon: true, canChangeBackground: true) {\n+\t\t\ttileAttribute(\"temperature\", key: \"PRIMARY_CONTROL\") {\n+                attributeState \"temperature\", label: '${currentValue}°', icon:\"st.Home.home1\", backgroundColor:\"#FFA81E\"\n+            }\n+            tileAttribute (\"statusText\", key: \"SECONDARY_CONTROL\") {\n+\t\t\t\tattributeState \"statusText\", label: 'statusText'\n+\t\t\t}\n+            tileAttribute(\"button\", key: \"VALUE_CONTROL\"){\n+                attributeState \"setUp\"\n+                attributeState \"setDown\"\n+            }\n+\t\t}\n+        */\n+        \n+        valueTile(\"thermostatStatus\", \"device.thermostatStatus\", width: 3, height: 2) {\n+\t\t\tstate \"전원 OFF\",       label:'${currentValue}', icon:\"st.Navien.bgs_power_off\",     backgroundColor:\"#BDBDBD\"\n+            state \"외출 ON\",        label:'${currentValue}', icon:\"st.Navien.bgs_out\",           backgroundColor:\"#FF8C17\"\n+            state \"실내난방\",       label:'${currentValue}', icon:\"st.Navien.bgs_indoor\",        backgroundColor:\"#FF8C17\"\n+            state \"온돌난방\",       label:'${currentValue}', icon:\"st.Navien.bgs_ondol\",         backgroundColor:\"#FF8C17\"\n+            state \"반복예약난방\",   label:'${currentValue}', icon:\"st.Navien.bgs_heating_again\", backgroundColor:\"#FF8C17\"\n+            state \"24시간예약난방\", label:'${currentValue}', icon:\"st.Navien.bgs_24heat\",        backgroundColor:\"#FF8C17\"\n+            state \"간편예약난방\",   label:'${currentValue}', icon:\"st.Navien.bgs_heat\",          backgroundColor:\"#FF8C17\"\n+            state \"온수전용\",       label:'${currentValue}', icon:\"st.Navien.bgs_water\",         backgroundColor:\"#FF8C17\"\n+            state \"빠른온수\",       label:'${currentValue}', icon:\"st.Navien.bgs_water_fast\",    backgroundColor:\"#FF8C17\"\n+\t\t}\n+        \n+        valueTile(\"temperature\", \"device.temperature\", width: 1, height: 1, inactiveLabel: false) {\n+            state \"OFF\",     label:'',                  unit:\"C\", icon:\"st.Navien.bg_recent_off\"\n+            state \"default\", label:'${currentValue}°', unit:\"C\", icon:\"st.Navien.bg_recent\"\n+\t\t}\n+        \n+        valueTile(\"hotWater\", \"device.hotWater\", width: 1, height: 1) {\n+        \tstate \"OFF\",     label:'',                  unit:\"C\", icon:\"st.Navien.bg_water_off\"\n+\t\t\tstate \"default\", label:'${currentValue}°', unit:\"C\", icon:\"st.Navien.bg_water\"\n+\t\t}\n+        \n+        standardTile(\"refresh\", \"device.refresh\", , width: 1, height: 1, inactiveLabel: false) {\n+\t\t\tstate \"default\", action:\"refresh.refresh\", icon:\"st.Navien.but_refresh\"\n+\t\t}\n+               \n+        valueTile(\"setRoomTemp\", \"device.setRoomTemp\", width: 1, height:1) {\n+        \tstate \"OFF\",     label:'',                  icon:\"st.Navien.bg_indoor_off\"\n+\t\t\tstate \"default\", label:'${currentValue}°', icon:\"st.Navien.bg_indoor\"\n+\t\t}\n+        \n+        controlTile(\"setRoomSlider\", \"device.setRoomSlider\", \"slider\", height: 1, width: 2, inactiveLabel: false, range:\"(10..40)\") {\n+\t\t\tstate \"default\", action:\"setRoomTemp\", backgroundColor:\"#F08C00\"\n+\t\t}\n+        \n+        valueTile(\"setOndolTemp\", \"device.setOndolTemp\", width: 1, height:1) {\n+        \tstate \"OFF\",     label:'',                  icon:\"st.Navien.bg_ondol\"\n+\t\t\tstate \"default\", label:'${currentValue}°', icon:\"st.Navien.bg_ondol_off\"\n+\t\t}\n+        \n+        controlTile(\"setOndolSlider\", \"device.setOndolSlider\", \"slider\", height: 1, width: 2, inactiveLabel: false, range:\"(40..83)\") {\n+\t\t\tstate \"default\", action:\"setOndolTemp\", backgroundColor:\"#F08C00\"\n+\t\t}\n+        \n+        standardTile(\"power\", \"device.power\", width: 1, height: 1, inactiveLabel: false) {\n+\t\t\tstate \"ON\",      label:'', action:\"powerONOFF\", icon:\"st.Navien.but_power\"\n+            state \"default\", label:'', action:\"powerONOFF\", icon:\"st.Navien.but_power_off\"\n+\t\t}\n+        \n+        standardTile(\"controlMode1\", \"device.controlMode1\", width: 1, height: 1, inactiveLabel: false) {\n+            state \"실내난방 ON\", label:'', action:\"controlMode1\", icon:\"st.Navien.but_indoor\"\n+            state \"온돌난방 ON\", label:'', action:\"controlMode1\", icon:\"st.Navien.but_ondol\"\n+            state \"default\",     label:'',                        icon:\"st.Navien.but_indoor_off\"\n+\t\t}\n+        \n+        standardTile(\"controlMode2\", \"device.controlMode2\", width: 1, height: 1, inactiveLabel: false) {\n+            state \"외출해제\", label:'', action:\"controlMode2\", icon:\"st.Navien.but_out_off\"\n+            state \"외출설정\", label:'', action:\"controlMode2\", icon:\"st.Navien.but_out\"\n+            state \"default\",  label:'',                        icon:\"st.Navien.but_out_dis\"\n+\t\t}\n+        \n+        valueTile(\"herotile\", \"device.herotile\", width: 3, height:1) {\n+\t\t\tstate \"default\", label:'', icon:\"st.Navien.bg_herotile\"\n+\t\t}\n+        \n+\t\tmain \"thermostatStatus\"\n+\t\tdetails([\"thermostatStatus\", \"temperature\", \"hotWater\", \"refresh\", \"setRoomTemp\", \"setRoomSlider\", \"setOndolTemp\", \"setOndolSlider\", \"power\", \"controlMode1\", \"controlMode2\", \"herotile\"])\n+\t}\n+}\n+\n+def powerONOFF()\n+{\n+\tlog.debug \"powerONOFF called\"\n+    def powerStatus = device.currentValue(\"power\")\n+    def results\n+    if(powerStatus == \"ON\")\n+    {\n+    \tresults = parent.childRequest(this, \"1\", \"33\", \"0\")\n+    }\n+    else if(powerStatus == \"전원 OFF\")\n+    {\n+    \tresults = parent.childRequest(this, \"1\", \"34\", \"0\")\n+    }\n+    generateEvent(results)\n+    log.debug \"powerONOFF ended\"\n+}\n+\n+def setRoomTemp(degrees)\n+{\n+    def degreesInteger = degrees as Integer\n+\tsendEvent(\"name\":\"setRoomSlider\", \"value\":degreesInteger)\n+    \n+    def status = device.currentValue(\"thermostatStatus\")\n+    if(status == \"실내난방\")\n+    {\n+    \tdef results = parent.childRequest(this, \"1\", \"44\", degreesInteger*2)\n+        generateEvent(results)\n+    }\n+}\n+\n+def setOndolTemp(degrees)\n+{\n+    def degreesInteger = degrees as Integer\n+\tsendEvent(\"name\":\"setOndolSlider\", \"value\":degreesInteger)\n+    \n+    def status = device.currentValue(\"thermostatStatus\")\n+    if(status == \"온돌난방\")\n+    {\n+    \tdef results = parent.childRequest(this, \"1\", \"36\", degreesInteger*2)\n+        generateEvent(results)\n+    }\n+}\n+\n+def controlMode1()\n+{\n+\tlog.debug \"controlMode1\"\n+\tdef control = device.currentValue(\"controlMode1\")\n+    controlMode(control)\n+}\n+\n+def controlMode2()\n+{\n+\tlog.debug \"controlMode2\"\n+    def control = device.currentValue(\"controlMode2\")\n+    controlMode(control)\n+}\n+\n+def controlMode(control)\n+{    \n+    if(control == \"실내난방 ON\")\n+    {\n+    \tlog.debug \"실내난방 ON : 제어\"\n+    \tdef value   = device.currentValue(\"setRoomSlider\")*2\n+    \tdef results = parent.childRequest(this, \"1\", \"43\", value)\n+        generateEvent(results)\n+        \n+    }\n+    else if(control == \"온돌난방 ON\")\n+    {\n+    \tlog.debug \"온돌난방 ON : 제어\"\n+\t\tdef value   = device.currentValue(\"setOndolSlider\")*2\n+        def results = parent.childRequest(this, \"1\", \"35\", value)\n+        generateEvent(results)\n+        \n+    }\n+    else if(control == \"외출해제\")\n+    {\n+    \tlog.debug \"외출해제 : 제어\"\n+        def results = parent.childRequest(this, \"1\", \"46\", \"0\")\n+        generateEvent(results)\n+        \n+    }\n+    else if(control == \"외출설정\")\n+    {\n+    \tlog.debug \"외출설정 : 제어\"\n+        def results = parent.childRequest(this, \"1\", \"46\", \"1\")\n+        generateEvent(results)\n+    }\n+}\n+\n+def refresh()\n+{\n+\tlog.debug \"refresh called\"\n+\tpoll()\n+\tlog.debug \"refresh ended\"\n+}\n+\n+void poll() {\n+\tlog.debug \"Executing 'poll' using parent SmartApp\"","path":"devicetypes/smartthings/navien-room-controller.src/navien-room-controller.groovy","position":212,"original_position":212,"commit_id":"8570c84d377431ff4cbb69d0034748ef37efc624","original_commit_id":"8570c84d377431ff4cbb69d0034748ef37efc624","user":{"login":"jasonbio","id":9797854,"avatar_url":"https://avatars.githubusercontent.com/u/9797854?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonbio","html_url":"https://github.com/jasonbio","followers_url":"https://api.github.com/users/jasonbio/followers","following_url":"https://api.github.com/users/jasonbio/following{/other_user}","gists_url":"https://api.github.com/users/jasonbio/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonbio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonbio/subscriptions","organizations_url":"https://api.github.com/users/jasonbio/orgs","repos_url":"https://api.github.com/users/jasonbio/repos","events_url":"https://api.github.com/users/jasonbio/events{/privacy}","received_events_url":"https://api.github.com/users/jasonbio/received_events","type":"User","site_admin":false},"body":"comment out logging in production","created_at":"2016-01-27T18:21:44Z","updated_at":"2016-01-27T18:21:44Z","html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465#discussion_r51025723","pull_request_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465","_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments/51025723"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465#discussion_r51025723"},"pull_request":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465"}}},"pull_request":{"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465","id":56847567,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465","diff_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465.diff","patch_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465.patch","issue_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/465","number":465,"state":"open","locked":false,"title":"MSA-835: Navien Room Controller","user":{"login":"SmartThings","id":11654461,"avatar_url":"https://avatars.githubusercontent.com/u/11654461?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThings","html_url":"https://github.com/SmartThings","followers_url":"https://api.github.com/users/SmartThings/followers","following_url":"https://api.github.com/users/SmartThings/following{/other_user}","gists_url":"https://api.github.com/users/SmartThings/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThings/subscriptions","organizations_url":"https://api.github.com/users/SmartThings/orgs","repos_url":"https://api.github.com/users/SmartThings/repos","events_url":"https://api.github.com/users/SmartThings/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThings/received_events","type":"User","site_admin":false},"body":"Submitting 'Navien Room Controller' for publication","created_at":"2016-01-22T05:10:55Z","updated_at":"2016-01-27T18:21:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30603d2beaba134db92ee757f0881b7b85c5f9ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465/commits","review_comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465/comments","review_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/465/comments","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/8570c84d377431ff4cbb69d0034748ef37efc624","head":{"label":"SmartThingsCommunity:MSA-835-1","ref":"MSA-835-1","sha":"8570c84d377431ff4cbb69d0034748ef37efc624","user":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":40212802,"name":"SmartThingsPublic","full_name":"SmartThingsCommunity/SmartThingsPublic","owner":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","description":"","fork":false,"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic","forks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/deployments","created_at":"2015-08-04T22:48:02Z","updated_at":"2016-01-27T17:52:27Z","pushed_at":"2016-01-27T17:14:10Z","git_url":"git://github.com/SmartThingsCommunity/SmartThingsPublic.git","ssh_url":"git@github.com:SmartThingsCommunity/SmartThingsPublic.git","clone_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic.git","svn_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","homepage":null,"size":4190,"stargazers_count":152,"watchers_count":152,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2990,"mirror_url":null,"open_issues_count":158,"forks":2990,"open_issues":158,"watchers":152,"default_branch":"master"}},"base":{"label":"SmartThingsCommunity:master","ref":"master","sha":"5eb33eca19cc9c3963230a18ac5a09178c506eb0","user":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":40212802,"name":"SmartThingsPublic","full_name":"SmartThingsCommunity/SmartThingsPublic","owner":{"login":"SmartThingsCommunity","id":7317431,"avatar_url":"https://avatars.githubusercontent.com/u/7317431?v=3","gravatar_id":"","url":"https://api.github.com/users/SmartThingsCommunity","html_url":"https://github.com/SmartThingsCommunity","followers_url":"https://api.github.com/users/SmartThingsCommunity/followers","following_url":"https://api.github.com/users/SmartThingsCommunity/following{/other_user}","gists_url":"https://api.github.com/users/SmartThingsCommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/SmartThingsCommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmartThingsCommunity/subscriptions","organizations_url":"https://api.github.com/users/SmartThingsCommunity/orgs","repos_url":"https://api.github.com/users/SmartThingsCommunity/repos","events_url":"https://api.github.com/users/SmartThingsCommunity/events{/privacy}","received_events_url":"https://api.github.com/users/SmartThingsCommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","description":"","fork":false,"url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic","forks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/forks","keys_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/teams","hooks_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/hooks","issue_events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/events{/number}","events_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/events","assignees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/assignees{/user}","branches_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/branches{/branch}","tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/tags","blobs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/refs{/sha}","trees_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/{sha}","languages_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/languages","stargazers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/stargazers","contributors_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contributors","subscribers_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscribers","subscription_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/subscription","commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/commits{/sha}","git_commits_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/git/commits{/sha}","comments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/comments{/number}","issue_comment_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/comments{/number}","contents_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/contents/{+path}","compare_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/merges","archive_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/downloads","issues_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues{/number}","pulls_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls{/number}","milestones_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/milestones{/number}","notifications_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/labels{/name}","releases_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/releases{/id}","deployments_url":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/deployments","created_at":"2015-08-04T22:48:02Z","updated_at":"2016-01-27T17:52:27Z","pushed_at":"2016-01-27T17:14:10Z","git_url":"git://github.com/SmartThingsCommunity/SmartThingsPublic.git","ssh_url":"git@github.com:SmartThingsCommunity/SmartThingsPublic.git","clone_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic.git","svn_url":"https://github.com/SmartThingsCommunity/SmartThingsPublic","homepage":null,"size":4190,"stargazers_count":152,"watchers_count":152,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2990,"mirror_url":null,"open_issues_count":158,"forks":2990,"open_issues":158,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465"},"html":{"href":"https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/465"},"issue":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/465"},"comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/issues/465/comments"},"review_comments":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465/comments"},"review_comment":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/pulls/465/commits"},"statuses":{"href":"https://api.github.com/repos/SmartThingsCommunity/SmartThingsPublic/statuses/8570c84d377431ff4cbb69d0034748ef37efc624"}}}}