{"action":"closed","issue":{"url":"https://api.github.com/repos/nfarina/homebridge/issues/341","repository_url":"https://api.github.com/repos/nfarina/homebridge","labels_url":"https://api.github.com/repos/nfarina/homebridge/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/nfarina/homebridge/issues/341/comments","events_url":"https://api.github.com/repos/nfarina/homebridge/issues/341/events","html_url":"https://github.com/nfarina/homebridge/issues/341","id":113914567,"number":341,"title":"How does \"StatusLowBattery\" work?","user":{"login":"Samfox2","id":11883712,"avatar_url":"https://avatars.githubusercontent.com/u/11883712?v=3","gravatar_id":"","url":"https://api.github.com/users/Samfox2","html_url":"https://github.com/Samfox2","followers_url":"https://api.github.com/users/Samfox2/followers","following_url":"https://api.github.com/users/Samfox2/following{/other_user}","gists_url":"https://api.github.com/users/Samfox2/gists{/gist_id}","starred_url":"https://api.github.com/users/Samfox2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samfox2/subscriptions","organizations_url":"https://api.github.com/users/Samfox2/orgs","repos_url":"https://api.github.com/users/Samfox2/repos","events_url":"https://api.github.com/users/Samfox2/events{/privacy}","received_events_url":"https://api.github.com/users/Samfox2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-28T20:26:08Z","updated_at":"2016-04-01T11:37:37Z","closed_at":"2016-04-01T11:37:37Z","body":"Hi,\r\nI am writing a shim for reading values out of my DomotoGa platform.\r\nAt the current state it can read temperature and humidity from combined sensors.\r\nAs the sensors are battery powered would like to add a low battery warning.\r\nI can read out the power level and decide, whether it is low (=1) or ok (=0) but nothing is displayed in my eve app.\r\nCould anybody please have a look at my shim and tell me what`s wrong with it?\r\nhttps://github.com/Samfox2/homebridge-domotiga\r\n\r\nHere is what I did in short form:\r\n\r\n       temperatureService\r\n                .getCharacteristic(Characteristic.CurrentTemperature)\r\n                .on('get', this.getCurrentTemperature.bind(this));\r\n\r\n        temperatureService\r\n                .addCharacteristic(new Characteristic.StatusLowBattery())\r\n                .on('get', this.getLowBatteryStatus.bind(this));\r\n\r\n        return [informationService, temperatureService, humidityService];"}}