Skip to content
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

installation homebridge-magic-blue-bulb raspberry #1

Closed
ragnar-homekit opened this issue Feb 19, 2017 · 13 comments
Closed

installation homebridge-magic-blue-bulb raspberry #1

ragnar-homekit opened this issue Feb 19, 2017 · 13 comments
Assignees

Comments

@ragnar-homekit
Copy link

hello you can kindly help to install the plugin of raspberry?

@lucavb
Copy link
Owner

lucavb commented Feb 19, 2017

could you elaborate more on what is unclear about the README I provided?

@ragnar-homekit
Copy link
Author

ragnar-homekit commented Feb 19, 2017

how do I install the plugin since it is not registered on npm? in Readme it is not explained how to install it.

you can know the procedure to follow to install the plugin?

@lucavb
Copy link
Owner

lucavb commented Feb 20, 2017

I have updated the README with a reference to my other project regarding the installation of plugins outside of npm.

@ragnar-homekit
Copy link
Author

Also by running the following command, does not recognize the plugin, how do I fix?

@lucavb
Copy link
Owner

lucavb commented Feb 26, 2017

What command are you talking about?

@ragnar-homekit
Copy link
Author

[2017-03-07 14:38:55] ====================
[2017-03-07 14:38:55] ERROR LOADING PLUGIN homebridge-magic-blue-bulb:
[2017-03-07 14:38:55] Error: Cannot find module 'noble'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/osmc/.homebridge/plugin/homebridge-magic-blue-bulb/index.js:4:13)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

@lucavb
Copy link
Owner

lucavb commented Mar 7, 2017

run npm i inside the folder where you downloaded the plugin. you are missing the noble dependency.

@ragnar-homekit
Copy link
Author

in Homebridge folder or where I put magic-blue-bulb?

@lucavb
Copy link
Owner

lucavb commented Mar 8, 2017

well the directory where you cloned this repository to. if you followed this guide this is most likely going to be /var/homebridge/other_plugins/homebridge-magic-blue-bulb/

@lucavb lucavb self-assigned this Mar 8, 2017
@ragnar-homekit
Copy link
Author

npm I gave no results, I managed manually installing noble, it is now recognized the plugin. I wanted to ask if you first have to associate the light bulb to the raspberry and then use it with Homebridge, or happens all automatically?

@lucavb
Copy link
Owner

lucavb commented Mar 9, 2017

there is no pairing process. it should work with just the Mac address and considering that the bulb is not already connected to any other device

@ragnar-homekit
Copy link
Author

I've done everything correctly, only that the bulb does not respond you command

@lucavb
Copy link
Owner

lucavb commented Mar 10, 2017

Consider the original post, that discovered the codes for the bulbs. Read through it, especially the part where he uses gatttool to test his codes. Make sure those work for you. There is the possibility that you are having a different version that utilises a different handle.

original post

P.S.: this project is now also available via npmjs registry.

@lucavb lucavb closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants