{"action":"created","issue":{"url":"https://api.github.com/repos/damianxd/VeraLink/issues/3","labels_url":"https://api.github.com/repos/damianxd/VeraLink/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/damianxd/VeraLink/issues/3/comments","events_url":"https://api.github.com/repos/damianxd/VeraLink/issues/3/events","html_url":"https://github.com/damianxd/VeraLink/issues/3","id":121282959,"number":3,"title":"crash when reading temperature sensor data","user":{"login":"alexus1211","id":16215643,"avatar_url":"https://avatars.githubusercontent.com/u/16215643?v=3","gravatar_id":"","url":"https://api.github.com/users/alexus1211","html_url":"https://github.com/alexus1211","followers_url":"https://api.github.com/users/alexus1211/followers","following_url":"https://api.github.com/users/alexus1211/following{/other_user}","gists_url":"https://api.github.com/users/alexus1211/gists{/gist_id}","starred_url":"https://api.github.com/users/alexus1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexus1211/subscriptions","organizations_url":"https://api.github.com/users/alexus1211/orgs","repos_url":"https://api.github.com/users/alexus1211/repos","events_url":"https://api.github.com/users/alexus1211/events{/privacy}","received_events_url":"https://api.github.com/users/alexus1211/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T16:19:19Z","updated_at":"2015-12-10T10:24:36Z","closed_at":null,"body":"Hi again,\r\n\r\nnow the testing has begun and here is the first crash when trying to readout temperature sensor data from a temp sensor attached to a fibaro door-window sensor:\r\n\r\nalextech:VeraLink Aleco$ node VeraLink.js \r\nHAP-NodeJS starting...\r\n\r\nError: socket hang up\r\n    at Object.doRequest [as request] (/Users/Aleco/bin/Homebridge/VeraLink/node_modules/sync-request/index.js:31:11)\r\n    at Object.Sensor.getTemperature (/Users/Aleco/bin/Homebridge/VeraLink/lib/types/tempsense.js:15:31)\r\n    at null.<anonymous> (/Users/Aleco/bin/Homebridge/VeraLink/lib/types/tempsense.js:39:39)\r\n    at emit (events.js:98:17)\r\n    at Characteristic.getValue (/Users/Aleco/bin/Homebridge/VeraLink/node_modules/hap-nodejs/lib/Characteristic.js:119:10)\r\n    at Accessory.<anonymous> (/Users/Aleco/bin/Homebridge/VeraLink/node_modules/hap-nodejs/lib/Accessory.js:443:20)\r\n    at Array.forEach (native)\r\n    at Accessory._handleGetCharacteristics (/Users/Aleco/bin/Homebridge/VeraLink/node_modules/hap-nodejs/lib/Accessory.js:410:8)\r\n    at HAPServer.emit (events.js:106:17)\r\n    at HAPServer._handleCharacteristics (/Users/Aleco/bin/Homebridge/VeraLink/node_modules/hap-nodejs/lib/HAPServer.js:665:10)\r\n\r\nplease tell me which format are you using to parse the output from vera (json, xml, or plain txt) so I can attach the output to you.\r\n\r\nthx"},"comment":{"url":"https://api.github.com/repos/damianxd/VeraLink/issues/comments/163568721","html_url":"https://github.com/damianxd/VeraLink/issues/3#issuecomment-163568721","issue_url":"https://api.github.com/repos/damianxd/VeraLink/issues/3","id":163568721,"user":{"login":"alexus1211","id":16215643,"avatar_url":"https://avatars.githubusercontent.com/u/16215643?v=3","gravatar_id":"","url":"https://api.github.com/users/alexus1211","html_url":"https://github.com/alexus1211","followers_url":"https://api.github.com/users/alexus1211/followers","following_url":"https://api.github.com/users/alexus1211/following{/other_user}","gists_url":"https://api.github.com/users/alexus1211/gists{/gist_id}","starred_url":"https://api.github.com/users/alexus1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexus1211/subscriptions","organizations_url":"https://api.github.com/users/alexus1211/orgs","repos_url":"https://api.github.com/users/alexus1211/repos","events_url":"https://api.github.com/users/alexus1211/events{/privacy}","received_events_url":"https://api.github.com/users/alexus1211/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:24:36Z","updated_at":"2015-12-10T10:24:36Z","body":"Hi,\r\n\r\nthe answer to the request is \"21.18\". Could it be due to formatting problems (2 decimal digits) that json is crashing?\r\nAlso note that in Eve App the temperature sensor is appearing under the name \"Door Sensor\". In vera the \"Door Sensor\" name refers to the door/Window sensor itself. The temperature sensor has a different name but it is a child of the \"Door Sensor\" device. Here is a picture showing what I mean:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/16215643/11712928/63a5bb98-9f30-11e5-997e-2906ed494eff.png)\r\n\r\n \r\n\r\n "}}