{"action":"created","issue":{"url":"https://api.github.com/repos/Marmelatze/avea_node/issues/4","repository_url":"https://api.github.com/repos/Marmelatze/avea_node","labels_url":"https://api.github.com/repos/Marmelatze/avea_node/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Marmelatze/avea_node/issues/4/comments","events_url":"https://api.github.com/repos/Marmelatze/avea_node/issues/4/events","html_url":"https://github.com/Marmelatze/avea_node/issues/4","id":183856205,"number":4,"title":"Homebridge and Siri integration","user":{"login":"Alblahm","id":22926351,"avatar_url":"https://avatars.githubusercontent.com/u/22926351?v=3","gravatar_id":"","url":"https://api.github.com/users/Alblahm","html_url":"https://github.com/Alblahm","followers_url":"https://api.github.com/users/Alblahm/followers","following_url":"https://api.github.com/users/Alblahm/following{/other_user}","gists_url":"https://api.github.com/users/Alblahm/gists{/gist_id}","starred_url":"https://api.github.com/users/Alblahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alblahm/subscriptions","organizations_url":"https://api.github.com/users/Alblahm/orgs","repos_url":"https://api.github.com/users/Alblahm/repos","events_url":"https://api.github.com/users/Alblahm/events{/privacy}","received_events_url":"https://api.github.com/users/Alblahm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":39,"created_at":"2016-10-19T03:18:43Z","updated_at":"2016-11-01T23:31:44Z","closed_at":null,"body":"I've used this \"avea_node\" lib to create an accessory that works with the Homebridge NodeJS server inside a  raspberry pi 2b with a usb bluetooth adapter. The  pi-2b has the Kodi jarvis 16.1 installed. And I`ve installed also the NodeJS server.\n\n In the raspberry-pi you can have the multimedia center connected to the tv, and running in background the homebridge service that remotely controls the elgato Avea light. By adding this accessory file to the homebridge, you dont need any other device (**avea bulb<->raspberry**). It directly connects to the light through the low energy bluetooth.\n\nDue to the fantastic integration between homebridge and apple home app, **_you can also control this light using the siri voice commands_** on your iphone or ipad (if your device is in the same wifi network). It's great !!!!\n\nThe attached file is the corrected version after all the comments below...\n[Luz_VerticalComedor_accessory.js.txt](https://github.com/Marmelatze/avea_node/files/551885/Luz_VerticalComedor_accessory.js.txt)\n"},"comment":{"url":"https://api.github.com/repos/Marmelatze/avea_node/issues/comments/257730350","html_url":"https://github.com/Marmelatze/avea_node/issues/4#issuecomment-257730350","issue_url":"https://api.github.com/repos/Marmelatze/avea_node/issues/4","id":257730350,"user":{"login":"Alblahm","id":22926351,"avatar_url":"https://avatars.githubusercontent.com/u/22926351?v=3","gravatar_id":"","url":"https://api.github.com/users/Alblahm","html_url":"https://github.com/Alblahm","followers_url":"https://api.github.com/users/Alblahm/followers","following_url":"https://api.github.com/users/Alblahm/following{/other_user}","gists_url":"https://api.github.com/users/Alblahm/gists{/gist_id}","starred_url":"https://api.github.com/users/Alblahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alblahm/subscriptions","organizations_url":"https://api.github.com/users/Alblahm/orgs","repos_url":"https://api.github.com/users/Alblahm/repos","events_url":"https://api.github.com/users/Alblahm/events{/privacy}","received_events_url":"https://api.github.com/users/Alblahm/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T23:31:44Z","updated_at":"2016-11-01T23:31:44Z","body":"Answer to the log comments:\r\n\r\n>55 open home app: home app shows brightness 50% (shows not the correct state!)\r\n\r\nThis happens at the beggining, and this is normal because the accessory file only asks the lamp if it is on or off. And gets the def value, that is the 50%.\r\nI told in a previous comment that this driver only sets, it never reads from the lamp, it reads from the state vars inside the js file. So if you use any 3rd party app to make changes it does not realize about the changes.\r\n\r\n"}}
{"actor":{"display_login":"Alblahm"}}