Hi,
i have the same problem after updating to openhab2, i did not find the folder /openhab2/runtime/karaf/bin/setenv.
maybe it is wrong by me?
can you give me some advices?
thanks alot
Hi,
i have the same problem after updating to openhab2, i did not find the folder /openhab2/runtime/karaf/bin/setenv.
maybe it is wrong by me?
can you give me some advices?
thanks alot
I found it (in OpenHABian) under
/usr/share/openhab2/runtime/bin/setenv
Thanks Frerk, i found it and try to connect to my razberry v.2. Do you have any problems after changing the file setenv? Can you connect with your Razberry?
Quang-Tuyen Tran
quangtuyen.tran@gmx.de
(+49) 015237376688
Yes I got it working.
But I forgot that I had to
I write a better tutorial when I have time and direct access to my raspberry pi.
Good luck,
Frerk
Please do not edit the setenv
file. It will be overwritten on upgrades!
As you can find out in the documentation, there is an extra file intended for these changes:
http://docs.openhab.org/installation/linux.html#privileges-for-common-peripherals
Regarding the Razberry and openHABian: There is a menu entry in openhabian-config
: openHABian hassle-free openHAB Setup - you do not need to do anything else!
On any other Raspbian system you will have to do the following:
adduser openhab dialout
and adduser openhab tty
/boot/cmdline.txt
and /etc/inittab
as shown here and here
/boot/config.txt
/boot/config.txt
/etc/default/openhab2
:EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyAMA0"
Afterwards you just need to add the appropriate serial port to your ZWave binding.
A discussion regarding the details can be found here.
Thank you very much for your support.
It is very clear for me and another Beginners.
Thanks again
Hi Thom,
i am here again because of my problem after updating the lastest Openhab 2 on Openhabian.
After updating Openhab2, the Razberry on RPI 3 is offline, it said that the serial port /dev/ttyAMA0 is in used.
i tried to do like you said with using openhabian-config but it is not successful.
i controlled all files (config.txt, cmdline.txtâŠ) again, and they are same like you worte.
i tried many times to restart the system, but not yet succesful.
i donât know why???
in addition i can not connect to wifi with openhabian? can you give me a tutorial?
Thanks in advance,
QT. Tran