{"action":"created","issue":{"url":"https://api.github.com/repos/emsi/hackoort/issues/1","repository_url":"https://api.github.com/repos/emsi/hackoort","labels_url":"https://api.github.com/repos/emsi/hackoort/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/emsi/hackoort/issues/1/comments","events_url":"https://api.github.com/repos/emsi/hackoort/issues/1/events","html_url":"https://github.com/emsi/hackoort/issues/1","id":304539161,"number":1,"title":"oorttool.c:312: main: Assertion `ret == 0' failed.","user":{"login":"k1dn3y","id":37311842,"avatar_url":"https://avatars0.githubusercontent.com/u/37311842?v=4","gravatar_id":"","url":"https://api.github.com/users/k1dn3y","html_url":"https://github.com/k1dn3y","followers_url":"https://api.github.com/users/k1dn3y/followers","following_url":"https://api.github.com/users/k1dn3y/following{/other_user}","gists_url":"https://api.github.com/users/k1dn3y/gists{/gist_id}","starred_url":"https://api.github.com/users/k1dn3y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k1dn3y/subscriptions","organizations_url":"https://api.github.com/users/k1dn3y/orgs","repos_url":"https://api.github.com/users/k1dn3y/repos","events_url":"https://api.github.com/users/k1dn3y/events{/privacy}","received_events_url":"https://api.github.com/users/k1dn3y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T21:03:32Z","updated_at":"2018-03-13T08:00:58Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nRunning newest Raspbian stretch on a Raspberry Pi 3 I get this error when trying to connect to my bulb:\r\n\r\n```\r\npi@raspberrypi:~/hackoort/build/oorttool $ ./oorttool -d 84:EB:18:7C:51:41 STATUS\r\nCould not read config file .oorttool.conf\r\noorttool: /home/pi/hackoort/oorttool/oorttool.c:312: main: Assertion `ret == 0' failed.\r\nAborted\r\npi@raspberrypi:~/hackoort/build/oorttool $ /home/pi/hackoort/build/oorttool/oorttool -d 84:EB:18:7C:51:41 ON BRIGHTNESS 100% TEMPERATURE 100% RGB FF0000\r\nCould not read config file .oorttool.conf\r\noorttool: /home/pi/hackoort/oorttool/oorttool.c:312: main: Assertion `ret == 0' failed.\r\nAborted\r\npi@raspberrypi:~/hackoort/build/oorttool $ \r\n\r\n\r\n```\r\n\r\nI have made sure to follow the prerequisites and installing libbluetooth-dev libreadline-dev libglib2.0-dev and compiling gattlib, which worked flawlessly. I also tried to update BlueZ to the newest 5.49 and then recompile everything, without getting it to work.\r\n\r\nI really like the work you've put in into developing this and it worked fine on my previous Raspberry Jessie installation. Since I've installed Raspbian Stretch I haven't been able to connect to my OORT light bulb and I suspect it must be something to do with incompatilibity with the newer libraries.\r\n\r\nThank you so much for the help!"},"comment":{"url":"https://api.github.com/repos/emsi/hackoort/issues/comments/372578417","html_url":"https://github.com/emsi/hackoort/issues/1#issuecomment-372578417","issue_url":"https://api.github.com/repos/emsi/hackoort/issues/1","id":372578417,"user":{"login":"emsi","id":433383,"avatar_url":"https://avatars3.githubusercontent.com/u/433383?v=4","gravatar_id":"","url":"https://api.github.com/users/emsi","html_url":"https://github.com/emsi","followers_url":"https://api.github.com/users/emsi/followers","following_url":"https://api.github.com/users/emsi/following{/other_user}","gists_url":"https://api.github.com/users/emsi/gists{/gist_id}","starred_url":"https://api.github.com/users/emsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emsi/subscriptions","organizations_url":"https://api.github.com/users/emsi/orgs","repos_url":"https://api.github.com/users/emsi/repos","events_url":"https://api.github.com/users/emsi/events{/privacy}","received_events_url":"https://api.github.com/users/emsi/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T08:00:58Z","updated_at":"2018-03-13T08:00:58Z","author_association":"OWNER","body":"Hi! \r\n\r\nI'm surprised to find someone used it :) Unfortunately Oort seems to discontinued their products more or less at the same time I released this tool :)\r\n\r\nThe assertion that fails indicated that there is some issue inside `gattlib` but let's try to debug it. The call that fails is trying to unlock the bulb using the password. Since you didn't provide the `.oorttool.conf` I guess you didn't set any password (in which case the bulb uses factory default password). Or perhaps you forgot to supply a password in the configuration file? :)\r\n\r\nAnyway, please increase the verbosity level by setting the `-v` to some high number and see if there are more clues."}}
{"actor":{"display_login":"emsi"}}