{"action":"created","issue":{"url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/32","repository_url":"https://api.github.com/repos/snowdd1/homebridge-knx","labels_url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/32/comments","events_url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/32/events","html_url":"https://github.com/snowdd1/homebridge-knx/issues/32","id":163014486,"number":32,"title":"Issuing read requests on the KNX bus","user":{"login":"unaxboy","id":1667931,"avatar_url":"https://avatars.githubusercontent.com/u/1667931?v=3","gravatar_id":"","url":"https://api.github.com/users/unaxboy","html_url":"https://github.com/unaxboy","followers_url":"https://api.github.com/users/unaxboy/followers","following_url":"https://api.github.com/users/unaxboy/following{/other_user}","gists_url":"https://api.github.com/users/unaxboy/gists{/gist_id}","starred_url":"https://api.github.com/users/unaxboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unaxboy/subscriptions","organizations_url":"https://api.github.com/users/unaxboy/orgs","repos_url":"https://api.github.com/users/unaxboy/repos","events_url":"https://api.github.com/users/unaxboy/events{/privacy}","received_events_url":"https://api.github.com/users/unaxboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-29T20:06:19Z","updated_at":"2016-07-12T11:19:38Z","closed_at":null,"body":"Hi all, I can't get homebridge to work.\r\n\r\nI have a RPi, installed homebridge with homebridge-knx plugin and running knxd on it connected to a knx ip gateway ([LogicMachine4](http://openrb.com/logicmachine4/)) at 192.168.10.7 with the following opts: \r\nKNXD_OPTS=\"-e 1.1.249 -b ip:192.168.10.7\"\r\n\r\nHomebridge starts, but I don't see it on iPhone. If i delete all knx staff from config.json, it become visible on iPhone and works well.\r\n\r\nMy log:\r\n\r\n```\r\npi@raspberrypi:~ $ homebridge\r\n*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.\r\n*** WARNING *** Please fix your application to use the native API of Avahi!\r\n*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>\r\n*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.\r\n*** WARNING *** Please fix your application to use the native API of Avahi!\r\n*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>\r\n[2016-06-29 21:27:50] Loaded plugin: homebridge-knx\r\n[2016-06-29 21:27:51] Registering platform 'homebridge-knx.KNX'\r\n[2016-06-29 21:27:51] ---\r\n[2016-06-29 21:27:51] Loaded config.json with 0 accessories and 1 platforms.\r\n[2016-06-29 21:27:51] ---\r\n[2016-06-29 21:27:51] Loading 1 platforms...\r\n[2016-06-29 21:27:51] [KNX] Initializing KNX platform...\r\n[2016-06-29 21:27:51] [KNX] Fetching KNX devices.\r\n[2016-06-29 21:27:51] [KNX] parsing acc 0 of 1\r\n[2016-06-29 21:27:51] [KNX] push new device Light\r\n[2016-06-29 21:27:51] [KNX] Accessory constructor called\r\n[2016-06-29 21:27:51] [KNX] created Light accessory\r\n[2016-06-29 21:27:51] [KNX] returning 1 accessories\r\n[2016-06-29 21:27:51] [KNX] Initializing platform accessory 'Light'...\r\n[2016-06-29 21:27:51] [KNX] Preparing Services: 1\r\n[2016-06-29 21:27:51] [KNX] Preparing Service: 0 of type Lightbulb\r\n[2016-06-29 21:27:51] [KNX] [Light]:Lightbulb on/off characteristic enabled\r\n[2016-06-29 21:27:51] [KNX] knx registering BOOLEAN 0/3/2\r\n[2016-06-29 21:27:51] [KNX] [Light]:[On]: Issuing read requests on the KNX bus...\r\n[2016-06-29 21:27:51] [KNX] [knxdevice:knxread] preparing knx request for 0/3/2\r\n[2016-06-29 21:27:51] [KNX] [Light]:Lightbulb Brightness characteristic enabled\r\n[2016-06-29 21:27:51] [KNX] knx registering PERCENT 0/4/2\r\n[2016-06-29 21:27:51] [KNX] [Light]:[Brightness]: Issuing read requests on the KNX bus...\r\n[2016-06-29 21:27:51] [KNX] [knxdevice:knxread] preparing knx request for 0/4/2\r\n>>> knxd groupsocketlisten starting <<<\r\n[2016-06-29 21:27:52] Loading 0 accessories...\r\nScan this code with your HomeKit App on your iOS device to pair with Homebridge:\r\n                       \r\n    ┌────────────┐     \r\n    │ 123-45-678 │     \r\n    └────────────┘     \r\n                       \r\n[2016-06-29 21:27:52] Homebridge is running on port 51826.\r\nServer running at: http://raspberrypi:3000\r\n[2016-06-29 21:27:53] [KNX] [knxdevice:knxread] knx request sent for 0/3/2\r\n[2016-06-29 21:27:53] [KNX] [knxdevice:knxread] knx request sent for 0/4/2\r\n```\r\n\r\nMy config.json:\r\n\r\n```\r\n{\r\n\t\"bridge\": {\r\n\t\t\"name\": \"Homebridge\",\r\n\t\t\"username\": \"CC:22:3D:E3:CE:30\",\r\n\t\t\"port\": 51826,\r\n\t\t\"pin\": \"123-45-678\"\r\n\t},\r\n\r\n\t\"description\": \"This is an example configuration file for KNX platform shim\",\r\n\t\"hint\": \"Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration\",\r\n\t\"hint2\": \"Replace all group addresses by current addresses of your installation, these are arbitrary examples!\",\r\n\t\"hint3\": \"For valid services and their characteristics have a look at the KNX.md file in folder platforms!\",\r\n\t\"hint99\": \"Everything that is named description or hint is not used by homebridge but decriptive only, you may change or remove at will\",\r\n\t\"platforms\": [{\r\n\t\t\"platform\": \"KNX\",\r\n\t\t\"name\": \"KNX\",\r\n\t\t\"knxd_ip\": \"127.0.0.1\",\r\n\t\t\"knxd_port\": 6720,\r\n\t\t\"knxd_do_not_read_set_groups\": true,\r\n\t\t\"hint_knxd_do_not_read_set_groups\": \"true if homebridge must not send read requests to Set addresses\",\r\n\t\t\"accessories\": [{\r\n\t\t\t\"description\": \"Only generic type knxdevice is supported, all previous knx types have been merged into that.\",\r\n\t\t\t\"name\": \"Light\",\r\n\t\t\t\"services\": [{\r\n\t\t\t\t\"type\": \"Lightbulb\",\r\n\t\t\t\t\"description\": \"iOS8 Lightbulb type, supports On (Switch) and Brightness\",\r\n\t\t\t\t\"name\": \"Cabinet light\",\r\n\t\t\t\t\"On\": {\r\n\t\t\t\t\t\"Set\": \"0/0/2\",\r\n\t\t\t\t\t\"Listen\": [\"0/3/2\"]\r\n\t\t\t\t},\r\n\t\t\t\t\"Brightness\": {\r\n\t\t\t\t\t\"Set\": \"0/2/2\",\r\n\t\t\t\t\t\"Listen\": [\"0/4/2\"]\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t}]\r\n\r\n\t}],\r\n\r\n\t\"accessories\": [\r\n\r\n\t]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/comments/232012188","html_url":"https://github.com/snowdd1/homebridge-knx/issues/32#issuecomment-232012188","issue_url":"https://api.github.com/repos/snowdd1/homebridge-knx/issues/32","id":232012188,"user":{"login":"ctr49","id":1297771,"avatar_url":"https://avatars.githubusercontent.com/u/1297771?v=3","gravatar_id":"","url":"https://api.github.com/users/ctr49","html_url":"https://github.com/ctr49","followers_url":"https://api.github.com/users/ctr49/followers","following_url":"https://api.github.com/users/ctr49/following{/other_user}","gists_url":"https://api.github.com/users/ctr49/gists{/gist_id}","starred_url":"https://api.github.com/users/ctr49/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctr49/subscriptions","organizations_url":"https://api.github.com/users/ctr49/orgs","repos_url":"https://api.github.com/users/ctr49/repos","events_url":"https://api.github.com/users/ctr49/events{/privacy}","received_events_url":"https://api.github.com/users/ctr49/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T11:19:38Z","updated_at":"2016-07-12T11:19:38Z","body":"did you discover yet why the accessories file displays \r\n\r\n> {\"status\":-70401}\r\n\r\nonly? I get the same response but everything seems to be working otherwise (except for sharing, have to test again and will open a separate issue if it persists)"}}
{"actor":{"display_login":"ctr49"}}