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

How to use dev branch of open-zwave? #150

Closed
AlCalzone opened this issue Mar 13, 2017 · 4 comments
Closed

How to use dev branch of open-zwave? #150

AlCalzone opened this issue Mar 13, 2017 · 4 comments

Comments

@AlCalzone
Copy link

I'm currently trying to use the dev branch of open-zwave in combination with this library and ioBroker to get my new WallMote to work.
After a small code change I managed to compile it on my Raspberry Pi 2.
libopenzwave.so points to version 1.5 (checked with ls -al) but openzwave-shared still seems to use version 1.4

So, how can I use the freshly compiled version 1.5?

@ekarak
Copy link
Member

ekarak commented Mar 13, 2017

  • uninstall the old version of the library (1.4), incl. /usr/local/lib64/libopenzwave.so AND the headers under /usr/local/include/openzwave
  • sudo make install the development branch of OpenZWave to compile and install it on your system
  • sudo ldconfig -r to rebuild the linker cache

then try rebuilding this package: node-gyp configure and node-gyp rebuild

Let me know how this goes.

@AlCalzone
Copy link
Author

Gonna try tonight and report back. As a linux noob, how do I do this part?

uninstall the old version of the library (1.4), incl. /usr/local/lib64/libopenzwave.so AND the headers under /usr/local/include/openzwave

@AlCalzone
Copy link
Author

AlCalzone commented Mar 14, 2017

Nevermind, I just deleted the files you mentioned, i guess that counts as "uninstalling".

Anyways, it seemed to work. The OZW_Log.txt now reads:
2017-03-14 19:04:46.376 Always, OpenZwave Version 1.5.0 Starting Up

@ekarak
Copy link
Member

ekarak commented Mar 17, 2017

thanks, resolving

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