-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yeelightbt scan #4
Comments
You need to install construct with pip, I have modified the setup.py so if you reinstall it it should work. Please let me know if you have any more problems. |
thanks, done the reinstall and the error is the same. this is the log from the install: Installed /usr/local/lib/python2.7/dist-packages/python_yeelightbt-0.0.2-py2.7.egg Installed /usr/local/lib/python2.7/dist-packages/construct-2.8.8-py2.7.egg |
Ah, I have never tested it with python2. Try to install from the beginning with python3. |
Done. error log: |
Okay, so another missing module. I'll add it to the dependencies, but you can just use pip to install it. |
click installed, now different error: |
Okay, that's because of broken bluepy-helper, you need to go to /usr/local/lib/python3.4/dist-packages/bluepy-1.0.5-py3.4.egg/bluepy/ and run 'make' there. You may need to install the compiler and other tools by doing this:
if the make doesn't succeed directly. Then run this to give the helper access to bluetooth:
Thanks for testing, I'll update the documentation at some point. |
working, thank |
thx for upate, all working now except scan
|
Sorry, there isn't much I can do if bluepy's scanning is not working, you'll have to find another way to get the mac address, so I'm closing this now. |
Thanks for the help ;) |
Hello
|
Hi,
i have install this and get this error:
pi@raspberrypi:~/python-yeelightbt $ sudo yeelightbt scan
Traceback (most recent call last):
File "/usr/local/bin/yeelightbt", line 9, in
load_entry_point('python-yeelightbt==0.0.2', 'console_scripts', 'yeelightbt')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
File "build/bdist.linux-armv7l/egg/yeelightbt/init.py", line 2, in
File "build/bdist.linux-armv7l/egg/yeelightbt/lamp.py", line 5, in
File "build/bdist.linux-armv7l/egg/yeelightbt/structures.py", line 3, in
ImportError: No module named construct
The text was updated successfully, but these errors were encountered: