{"action":"created","comment":{"url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/comments/86092962","pull_request_review_id":6767767,"id":86092962,"diff_hunk":"@@ -0,0 +1,345 @@\n+var inherits = require('util').inherits;\n+\n+module.exports = function (HAPnode, config, functions) {\n+    var Accessory = HAPnode.Accessory;\n+    var Service = HAPnode.Service;\n+    var Characteristic = HAPnode.Characteristic;\n+    var uuid = HAPnode.uuid;\n+    var debug = HAPnode.debug;\n+\n+    var module = {};\n+\n+    module.newDevice = function (device, tempDisplayUnit) {\n+        var temperatureDisplayUnit = tempDisplayUnit;\n+        var Thermostat = {\n+            device_url: function(request_type){\n+                host = 'http://'+config.veraIP+':3480/data_request'\n+                return host+'?id='+request_type+'&DeviceNum='+device.id\n+            },\n+\n+            remoteRequest: function(url, params, callback){\n+                debug(\"Requesting: %s\", url);\n+                //HAPnode.request.debug = true\n+                return HAPnode.request({\n+                    method:'GET',\n+                    uri: url,\n+                    qs: params,\n+                    resolveWithFullResponse: true\n+                }).then(callback.bind(this)).catch(function(e){\n+                    debug(e.error);\n+                    debug(e.options);\n+                    debug(e.response);\n+                });\n+            },\n+\n+            getVeraVariable: function(serviceId, variable, callback){\n+                var url = this.device_url('variableget');\n+                var params = {serviceId: serviceId, Variable: variable}\n+                return this.remoteRequest(url, params, callback);\n+            },\n+\n+            executeVeraAction: function(params){\n+                var url = this.device_url('action');\n+                var callback = function(){};\n+                return this.remoteRequest(url, params, callback);\n+            },\n+\n+            getCurrentHeatingCoolingState: function(){\n+                var serviceId = 'urn:upnp-org:serviceId:HVAC_UserOperatingMode1';\n+                var variable = 'ModeStatus';\n+                var callback = function (response){\n+                    if (response.statusCode === 200){\n+                        var vera_state = response.body;\n+                        var state;\n+                        switch(vera_state){\n+                            case \"Off\":\n+                            case \"InDeadBand\":\n+                                state = Characteristic.CurrentHeatingCoolingState.OFF;\n+                                break;\n+                            case \"HeatOn\":\n+                            case \"AuxHeatOn\":\n+                            case \"EconomyHeatOn\":\n+                            case \"EmergencyHeatOn\":\n+                            case \"EnergySavingsHeating\":\n+                            case \"BuildingProtection\":\n+                                state = Characteristic.CurrentHeatingCoolingState.HEAT;\n+                                break;\n+                            case \"CoolOn\":\n+                            case \"AuxCoolOn\":\n+                            case \"EconomyCoolOn\":\n+                                state = Characteristic.CurrentHeatingCoolingState.COOL;\n+                                break;\n+                            default:\n+                                null;\n+                        }\n+\n+\n+                        debug(\"Current Heating cooling state for Thermostat #%s is %s\", device.name, state);\n+                        return state;\n+                    }\n+                    else\n+                    {\n+                        debug(\"Error while getting the current heating cooling state for %s\", device.name);\n+                        return null;\n+                    }\n+                }\n+\n+                return this.getVeraVariable(serviceId, variable, callback);\n+            },\n+\n+            getTargetHeatingCoolingState: function(){\n+                var serviceId = 'urn:upnp-org:serviceId:HVAC_UserOperatingMode1';\n+                var variable = 'ModeTarget';\n+                var callback = function (response){\n+                    if (response.statusCode === 200){\n+\n+                        var vera_state = response.body;\n+                        var state;\n+                        switch(vera_state){\n+                            case \"Off\":\n+                                state = Characteristic.TargetHeatingCoolingState.OFF;\n+                                break;\n+                            case \"HeatOn\":\n+                            case \"AuxHeatOn\":\n+                            case \"EconomyHeatOn\":\n+                            case \"EmergencyHeatOn\":\n+                            case \"BuildingProtection\":\n+                                state = Characteristic.TargetHeatingCoolingState.HEAT;\n+                                break;\n+                            case \"CoolOn\":\n+                            case \"AuxCoolOn\":\n+                            case \"EconomyCoolOn\":\n+                                state = Characteristic.TargetHeatingCoolingState.COOL;\n+                                break;\n+                            case \"AutoChangeOver\":\n+                            case \"EnergySavingsMode\":\n+                                state = Characteristic.TargetHeatingCoolingState.AUTO;\n+                                break;\n+                            default:\n+                                null;\n+                        }\n+\n+\n+                        debug(\"Target Heating cooling for Thermostat #%s is %s\", device.name, \"0\");\n+                        return state;\n+                    }\n+                    else\n+                    {\n+                        debug(\"Error while getting the Target Heating cooling for %s\", device.name);\n+                        return null;\n+                    }\n+                }\n+\n+                return this.getVeraVariable(serviceId, variable, callback);\n+            },\n+\n+            setTargetHeatingCoolingState: function(value){\n+                var serviceId = 'urn:upnp-org:serviceId:HVAC_UserOperatingMode1';\n+                var action_name = 'SetModeTarget';\n+                var action_param = 'NewModeTarget';\n+                var params = { action: action_name, serviceId: serviceId }\n+                var vera_value;\n+\n+                switch(value){\n+                    case Characteristic.TargetHeatingCoolingState.OFF:\n+                        vera_value = \"Off\";\n+                        break;\n+                    case Characteristic.TargetHeatingCoolingState.HEAT:\n+                        vera_value = \"HeatOn\";\n+                        break;\n+                    case Characteristic.TargetHeatingCoolingState.COOL:\n+                        vera_value = \"CoolOn\";\n+                        break;\n+                    case Characteristic.TargetHeatingCoolingState.AUTO:\n+                        vera_value = \"AutoChangeOver\";\n+                        break;\n+                }\n+                params[action_param] = vera_value\n+                return this.executeVeraAction(params);\n+            },\n+\n+            getCurrentTemperature: function(){\n+                var serviceId = 'urn:upnp-org:serviceId:TemperatureSensor1';\n+                var variable = 'CurrentTemperature';\n+                var callback = function (response){\n+                    if (response.statusCode === 200){\n+                        data = parseInt(response.body.toString('utf8'));\n+\n+                        debug(\"Current Temperature for Thermostat #%s is %s\", device.name, data);\n+                        return data;\n+                    }\n+                    else\n+                    {\n+                        debug(\"Error while getting the current temperature for %s\", device.name);\n+                        return null;\n+                    }\n+                }\n+\n+                return this.getVeraVariable(serviceId, variable, callback);\n+            },\n+\n+            getTargetTemperature: function(){\n+                var serviceId = 'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat';\n+                var variable = 'CurrentSetpoint';\n+                var callback = function (response){\n+                    if (response.statusCode === 200){\n+\n+                        data = parseInt(response.body.toString('utf8'));\n+\n+                        debug(\"Target Temperature for Thermostat #%s is %s\", device.name, data);\n+                        return data;\n+                    }\n+                    else\n+                    {\n+                        debug(\"Error while getting the target temperature for %s\", device.name);\n+                        return null;\n+                    }\n+                };\n+\n+                return this.getVeraVariable(serviceId, variable, callback);\n+            },\n+\n+            setTargetTemperature: function(value){\n+                var serviceIdHeat = 'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat';\n+                var serviceIdCool = 'urn:upnp-org:serviceId:TemperatureSetpoint1_Cool';\n+                var action_name = 'SetCurrentSetpoint';\n+                var action_param = 'NewCurrentSetpoint';\n+                var params = { action: action_name, serviceId: serviceIdHeat }\n+                params[action_param] = value;\n+                this.executeVeraAction(params); //Set Heat setpoint\n+                params[\"serviceId\"] = serviceIdCool;\n+                return this.executeVeraAction(params); //Set Cool setpoint\n+            },\n+\n+            getTemperatureDisplayUnits: function(){\n+                return temperatureDisplayUnit;\n+            },\n+\n+            getBatteryLevel: function () {\n+                if (this.states && this.states['BatteryLevel']) {\n+                    return parseInt(this.states['BatteryLevel']);\n+                }\n+                return 50;\n+            },\n+\n+            getIsLowBattery: function () {\n+                var level = this.getBatteryLevel();\n+                if (level && level < 20) {\n+                    return Characteristic.StatusLowBattery.BATTERY_LEVEL_LOW;\n+                }\n+                return Characteristic.StatusLowBattery.BATTERY_LEVEL_NORMAL;\n+            },\n+\n+            identify: function () {\n+                debug(\"Identity of the thermostat is %s\", device.name);\n+            }\n+        };\n+\n+        var thermostatUUID = uuid.generate('device:thermostat:' + config.cardinality + ':' + device.id);\n+        var thermostat = new Accessory(device.name, thermostatUUID);\n+        thermostat.username = functions.genMac('device:' + config.cardinality + ':' + device.id);\n+        thermostat.deviceid = device.id;\n+\n+        thermostat.on('identify', function (paired, callback) {\n+            Thermostat.identify();\n+            callback(); // success\n+        });\n+\n+        var service = new Service.Thermostat(device.name);\n+\n+        service.getCharacteristic(Characteristic.CurrentHeatingCoolingState)\n+            .on('get', function (callback) {\n+                debug('Getting current heating/cooling state for %s', device.name);\n+                Thermostat.getCurrentHeatingCoolingState().then(function(val){\n+                    // return our current value\n+                    callback(null, val);\n+                });\n+            });\n+\n+        service.getCharacteristic(Characteristic.TargetHeatingCoolingState)\n+            .on('get', function (callback) {\n+                debug('Getting target heating/cooling value for %s', device.name);\n+                Thermostat.getTargetHeatingCoolingState().then(function(val){\n+                    // return our current value\n+                    callback(null, val);\n+                });\n+            });\n+\n+        service.getCharacteristic(Characteristic.TargetHeatingCoolingState)\n+            .on('set', function (value, callback) {\n+                debug('Setting target heating/cooling value for %s', device.name);\n+                Thermostat.setTargetHeatingCoolingState(value).then(function(val){\n+                    // return our current value\n+                    callback(null, val);\n+                });\n+            });\n+\n+        service.getCharacteristic(Characteristic.CurrentTemperature)","path":"lib/types/thermostat.js","position":277,"original_position":277,"commit_id":"d6e791290b366ff055c549ac08eaa0dcd040ecc4","original_commit_id":"06489ada1b22b8ef2df8b8e1c79039ae8aad2b5b","user":{"login":"tzonto","id":504050,"avatar_url":"https://avatars.githubusercontent.com/u/504050?v=3","gravatar_id":"","url":"https://api.github.com/users/tzonto","html_url":"https://github.com/tzonto","followers_url":"https://api.github.com/users/tzonto/followers","following_url":"https://api.github.com/users/tzonto/following{/other_user}","gists_url":"https://api.github.com/users/tzonto/gists{/gist_id}","starred_url":"https://api.github.com/users/tzonto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzonto/subscriptions","organizations_url":"https://api.github.com/users/tzonto/orgs","repos_url":"https://api.github.com/users/tzonto/repos","events_url":"https://api.github.com/users/tzonto/events{/privacy}","received_events_url":"https://api.github.com/users/tzonto/received_events","type":"User","site_admin":false},"body":"@drewcovi I don't think homekit assumes all numbers comming back in Celsius. As far as I can remember I tested it with setting vera to Fahrenheit and it all worked as expected. From what I can tell homekit expects an integer that represents the temp and a display unit (C/F) it doesn't do any transformations on that. Let me know if you encountered any specific issues with the thermo and what are your thoughts on the above.","created_at":"2016-11-02T08:41:19Z","updated_at":"2016-11-02T08:41:19Z","html_url":"https://github.com/damianxd/homebridge-vera/pull/44#discussion_r86092962","pull_request_url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/comments/86092962"},"html":{"href":"https://github.com/damianxd/homebridge-vera/pull/44#discussion_r86092962"},"pull_request":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44","id":88435494,"html_url":"https://github.com/damianxd/homebridge-vera/pull/44","diff_url":"https://github.com/damianxd/homebridge-vera/pull/44.diff","patch_url":"https://github.com/damianxd/homebridge-vera/pull/44.patch","issue_url":"https://api.github.com/repos/damianxd/homebridge-vera/issues/44","number":44,"state":"closed","locked":false,"title":"added thermostat support (beta :) )","user":{"login":"tzonto","id":504050,"avatar_url":"https://avatars.githubusercontent.com/u/504050?v=3","gravatar_id":"","url":"https://api.github.com/users/tzonto","html_url":"https://github.com/tzonto","followers_url":"https://api.github.com/users/tzonto/followers","following_url":"https://api.github.com/users/tzonto/following{/other_user}","gists_url":"https://api.github.com/users/tzonto/gists{/gist_id}","starred_url":"https://api.github.com/users/tzonto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzonto/subscriptions","organizations_url":"https://api.github.com/users/tzonto/orgs","repos_url":"https://api.github.com/users/tzonto/repos","events_url":"https://api.github.com/users/tzonto/events{/privacy}","received_events_url":"https://api.github.com/users/tzonto/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-07T13:11:01Z","updated_at":"2016-11-02T08:41:19Z","closed_at":"2016-10-07T13:24:40Z","merged_at":"2016-10-07T13:24:40Z","merge_commit_sha":"03868a0fd21d799f62b8c5177d8eebba300c240c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44/commits","review_comments_url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44/comments","review_comment_url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damianxd/homebridge-vera/issues/44/comments","statuses_url":"https://api.github.com/repos/damianxd/homebridge-vera/statuses/d6e791290b366ff055c549ac08eaa0dcd040ecc4","head":{"label":"tzonto:master","ref":"master","sha":"d6e791290b366ff055c549ac08eaa0dcd040ecc4","user":{"login":"tzonto","id":504050,"avatar_url":"https://avatars.githubusercontent.com/u/504050?v=3","gravatar_id":"","url":"https://api.github.com/users/tzonto","html_url":"https://github.com/tzonto","followers_url":"https://api.github.com/users/tzonto/followers","following_url":"https://api.github.com/users/tzonto/following{/other_user}","gists_url":"https://api.github.com/users/tzonto/gists{/gist_id}","starred_url":"https://api.github.com/users/tzonto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzonto/subscriptions","organizations_url":"https://api.github.com/users/tzonto/orgs","repos_url":"https://api.github.com/users/tzonto/repos","events_url":"https://api.github.com/users/tzonto/events{/privacy}","received_events_url":"https://api.github.com/users/tzonto/received_events","type":"User","site_admin":false},"repo":{"id":69019537,"name":"homebridge-vera","full_name":"tzonto/homebridge-vera","owner":{"login":"tzonto","id":504050,"avatar_url":"https://avatars.githubusercontent.com/u/504050?v=3","gravatar_id":"","url":"https://api.github.com/users/tzonto","html_url":"https://github.com/tzonto","followers_url":"https://api.github.com/users/tzonto/followers","following_url":"https://api.github.com/users/tzonto/following{/other_user}","gists_url":"https://api.github.com/users/tzonto/gists{/gist_id}","starred_url":"https://api.github.com/users/tzonto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzonto/subscriptions","organizations_url":"https://api.github.com/users/tzonto/orgs","repos_url":"https://api.github.com/users/tzonto/repos","events_url":"https://api.github.com/users/tzonto/events{/privacy}","received_events_url":"https://api.github.com/users/tzonto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tzonto/homebridge-vera","description":null,"fork":true,"url":"https://api.github.com/repos/tzonto/homebridge-vera","forks_url":"https://api.github.com/repos/tzonto/homebridge-vera/forks","keys_url":"https://api.github.com/repos/tzonto/homebridge-vera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tzonto/homebridge-vera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tzonto/homebridge-vera/teams","hooks_url":"https://api.github.com/repos/tzonto/homebridge-vera/hooks","issue_events_url":"https://api.github.com/repos/tzonto/homebridge-vera/issues/events{/number}","events_url":"https://api.github.com/repos/tzonto/homebridge-vera/events","assignees_url":"https://api.github.com/repos/tzonto/homebridge-vera/assignees{/user}","branches_url":"https://api.github.com/repos/tzonto/homebridge-vera/branches{/branch}","tags_url":"https://api.github.com/repos/tzonto/homebridge-vera/tags","blobs_url":"https://api.github.com/repos/tzonto/homebridge-vera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tzonto/homebridge-vera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tzonto/homebridge-vera/git/refs{/sha}","trees_url":"https://api.github.com/repos/tzonto/homebridge-vera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tzonto/homebridge-vera/statuses/{sha}","languages_url":"https://api.github.com/repos/tzonto/homebridge-vera/languages","stargazers_url":"https://api.github.com/repos/tzonto/homebridge-vera/stargazers","contributors_url":"https://api.github.com/repos/tzonto/homebridge-vera/contributors","subscribers_url":"https://api.github.com/repos/tzonto/homebridge-vera/subscribers","subscription_url":"https://api.github.com/repos/tzonto/homebridge-vera/subscription","commits_url":"https://api.github.com/repos/tzonto/homebridge-vera/commits{/sha}","git_commits_url":"https://api.github.com/repos/tzonto/homebridge-vera/git/commits{/sha}","comments_url":"https://api.github.com/repos/tzonto/homebridge-vera/comments{/number}","issue_comment_url":"https://api.github.com/repos/tzonto/homebridge-vera/issues/comments{/number}","contents_url":"https://api.github.com/repos/tzonto/homebridge-vera/contents/{+path}","compare_url":"https://api.github.com/repos/tzonto/homebridge-vera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tzonto/homebridge-vera/merges","archive_url":"https://api.github.com/repos/tzonto/homebridge-vera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tzonto/homebridge-vera/downloads","issues_url":"https://api.github.com/repos/tzonto/homebridge-vera/issues{/number}","pulls_url":"https://api.github.com/repos/tzonto/homebridge-vera/pulls{/number}","milestones_url":"https://api.github.com/repos/tzonto/homebridge-vera/milestones{/number}","notifications_url":"https://api.github.com/repos/tzonto/homebridge-vera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tzonto/homebridge-vera/labels{/name}","releases_url":"https://api.github.com/repos/tzonto/homebridge-vera/releases{/id}","deployments_url":"https://api.github.com/repos/tzonto/homebridge-vera/deployments","created_at":"2016-09-23T11:39:58Z","updated_at":"2016-09-23T11:39:59Z","pushed_at":"2016-10-16T16:29:02Z","git_url":"git://github.com/tzonto/homebridge-vera.git","ssh_url":"git@github.com:tzonto/homebridge-vera.git","clone_url":"https://github.com/tzonto/homebridge-vera.git","svn_url":"https://github.com/tzonto/homebridge-vera","homepage":null,"size":70,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"damianxd:master","ref":"master","sha":"9f69efe5d72366cf5413a20d0c05ad312c34ba7b","user":{"login":"damianxd","id":560054,"avatar_url":"https://avatars.githubusercontent.com/u/560054?v=3","gravatar_id":"","url":"https://api.github.com/users/damianxd","html_url":"https://github.com/damianxd","followers_url":"https://api.github.com/users/damianxd/followers","following_url":"https://api.github.com/users/damianxd/following{/other_user}","gists_url":"https://api.github.com/users/damianxd/gists{/gist_id}","starred_url":"https://api.github.com/users/damianxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianxd/subscriptions","organizations_url":"https://api.github.com/users/damianxd/orgs","repos_url":"https://api.github.com/users/damianxd/repos","events_url":"https://api.github.com/users/damianxd/events{/privacy}","received_events_url":"https://api.github.com/users/damianxd/received_events","type":"User","site_admin":false},"repo":{"id":47496886,"name":"homebridge-vera","full_name":"damianxd/homebridge-vera","owner":{"login":"damianxd","id":560054,"avatar_url":"https://avatars.githubusercontent.com/u/560054?v=3","gravatar_id":"","url":"https://api.github.com/users/damianxd","html_url":"https://github.com/damianxd","followers_url":"https://api.github.com/users/damianxd/followers","following_url":"https://api.github.com/users/damianxd/following{/other_user}","gists_url":"https://api.github.com/users/damianxd/gists{/gist_id}","starred_url":"https://api.github.com/users/damianxd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianxd/subscriptions","organizations_url":"https://api.github.com/users/damianxd/orgs","repos_url":"https://api.github.com/users/damianxd/repos","events_url":"https://api.github.com/users/damianxd/events{/privacy}","received_events_url":"https://api.github.com/users/damianxd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damianxd/homebridge-vera","description":null,"fork":false,"url":"https://api.github.com/repos/damianxd/homebridge-vera","forks_url":"https://api.github.com/repos/damianxd/homebridge-vera/forks","keys_url":"https://api.github.com/repos/damianxd/homebridge-vera/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damianxd/homebridge-vera/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damianxd/homebridge-vera/teams","hooks_url":"https://api.github.com/repos/damianxd/homebridge-vera/hooks","issue_events_url":"https://api.github.com/repos/damianxd/homebridge-vera/issues/events{/number}","events_url":"https://api.github.com/repos/damianxd/homebridge-vera/events","assignees_url":"https://api.github.com/repos/damianxd/homebridge-vera/assignees{/user}","branches_url":"https://api.github.com/repos/damianxd/homebridge-vera/branches{/branch}","tags_url":"https://api.github.com/repos/damianxd/homebridge-vera/tags","blobs_url":"https://api.github.com/repos/damianxd/homebridge-vera/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damianxd/homebridge-vera/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damianxd/homebridge-vera/git/refs{/sha}","trees_url":"https://api.github.com/repos/damianxd/homebridge-vera/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damianxd/homebridge-vera/statuses/{sha}","languages_url":"https://api.github.com/repos/damianxd/homebridge-vera/languages","stargazers_url":"https://api.github.com/repos/damianxd/homebridge-vera/stargazers","contributors_url":"https://api.github.com/repos/damianxd/homebridge-vera/contributors","subscribers_url":"https://api.github.com/repos/damianxd/homebridge-vera/subscribers","subscription_url":"https://api.github.com/repos/damianxd/homebridge-vera/subscription","commits_url":"https://api.github.com/repos/damianxd/homebridge-vera/commits{/sha}","git_commits_url":"https://api.github.com/repos/damianxd/homebridge-vera/git/commits{/sha}","comments_url":"https://api.github.com/repos/damianxd/homebridge-vera/comments{/number}","issue_comment_url":"https://api.github.com/repos/damianxd/homebridge-vera/issues/comments{/number}","contents_url":"https://api.github.com/repos/damianxd/homebridge-vera/contents/{+path}","compare_url":"https://api.github.com/repos/damianxd/homebridge-vera/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damianxd/homebridge-vera/merges","archive_url":"https://api.github.com/repos/damianxd/homebridge-vera/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damianxd/homebridge-vera/downloads","issues_url":"https://api.github.com/repos/damianxd/homebridge-vera/issues{/number}","pulls_url":"https://api.github.com/repos/damianxd/homebridge-vera/pulls{/number}","milestones_url":"https://api.github.com/repos/damianxd/homebridge-vera/milestones{/number}","notifications_url":"https://api.github.com/repos/damianxd/homebridge-vera/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damianxd/homebridge-vera/labels{/name}","releases_url":"https://api.github.com/repos/damianxd/homebridge-vera/releases{/id}","deployments_url":"https://api.github.com/repos/damianxd/homebridge-vera/deployments","created_at":"2015-12-06T13:02:24Z","updated_at":"2016-10-25T17:22:07Z","pushed_at":"2016-11-02T02:39:02Z","git_url":"git://github.com/damianxd/homebridge-vera.git","ssh_url":"git@github.com:damianxd/homebridge-vera.git","clone_url":"https://github.com/damianxd/homebridge-vera.git","svn_url":"https://github.com/damianxd/homebridge-vera","homepage":null,"size":79,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":17,"forks":13,"open_issues":17,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44"},"html":{"href":"https://github.com/damianxd/homebridge-vera/pull/44"},"issue":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/issues/44"},"comments":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/damianxd/homebridge-vera/statuses/d6e791290b366ff055c549ac08eaa0dcd040ecc4"}}}}
{"actor":{"display_login":"tzonto"}}