Nice. Good luck!
While you are at it, would you be interested in also helping to get the wifi-only setup running? This should be possible by simply putting a wpa_supplicant.conf in the config folder of your SD card, but @Vincentdidn’t have much success trying this :-/
Edit: Only if “upgrading” includes a reinstall, which, as I recall, was not your intention…
Hey @Skalleno, could you reveal a few more details? I do not own a Razberry but from what I know, you need to first switch ttyAMA0 from serial port to peripheral mode. This can be either done though configuration files or raspi-config. Any luck with this?
Tried to change the setting in raspi-config, but no luck. Z-Wave serial controller has yhe following error: Serial Error: Port dev/ttyAMA0 does not exist, in earlier openhab versions i think you had to add the serial port to start.sh. Can not find that here.
The port does show up when running this command ls -la /dev/ttyAMA0.
Added users pi, tty ,root and openhab to the dialout group. Added -Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0" to /usr/share/openhab2/runtime/karaf/bin/setenv Z-Wave serial still has the same error: Port dev/ttyAMA0 does not exist
Great helpful tool!!!
Thanks a lot! It saved a lot of time for me.
However I do not see the folder /usr/share/openhab2/conf, but just /etc/openhab.
Usually there is a link from /usr/share/openhab to /etc.
Especially because the official website of OH2 mentions “configurations” was renamed to conf
I am confused.
And another point:
Where are the addons located?
They are not in /usr/share/openhab2/addons…
Hey @NCO, great it worked out so far
All your questions are related to the different ways of setting up openHAB (2). It is favorable to set up using the official openHAB2 package repository. With this installation method, your files are a bit scattered on your filesystem, described here.
As you can see, your configuration is supposed to be under /etc/openhab2 and the addons folder can be found under /usr/share/openhab2/addons.
The mentioned paths and for example the link to /etc are actually not standard. openHABian follows the official installation instructions linked above.
I’m in the process of improving the documentation, could you show me where the mentioning of “configuration” was confusing?
Btw regarding bindings, you only need the addons folder if you have an addon you know is not part of the distribution. All existing ones can be found:
thanks for your extremely quick response.
Your points above solved my confusion, which was actually not related to your openhabian, but the official website of OH2.
I was not aware that package repository folders are different to the manual installation.
Again, thanks. I might come back with other questions.
Anyway - a great help from your side switching over to OH2!!