PINE64
openHab2 on pine64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: openHAB (https://forum.pine64.org/forumdisplay.php?fid=26)
+---- Thread: openHab2 on pine64 (/showthread.php?tid=654)

Pages: 1 2


RE: openHab2 on pine64 - umiddelb - 04-16-2016

(04-16-2016, 10:12 AM)tomekr Wrote: in /dev i get 
crw-rw----  1 root dialout 188,   0 Apr 16 17:50 ttyUSB0

but i still get 
COMMUNICATION_ERROR): Serial Error: Port /dev/ttyUSB0 does not exist 
any ideas ?

The user running openHAB needs to be part of the group dialout in order to get access to /dev/ttyUSBX.


RE: openHab2 on pine64 - tomekr - 04-16-2016

(04-16-2016, 01:25 PM)umiddelb Wrote:
(04-16-2016, 10:12 AM)tomekr Wrote: in /dev i get 
crw-rw----  1 root dialout 188,   0 Apr 16 17:50 ttyUSB0

but i still get 
COMMUNICATION_ERROR): Serial Error: Port /dev/ttyUSB0 does not exist 
any ideas ?

The user running openHAB needs to be part of the group dialout in order to get access to /dev/ttyUSBX.

I   add user root do dialout group    and chmod a+rw /dev/ttyUSB0 
Now it looks like 
crw-rw-rw-  1 root dialout 188,   0 Apr 16 22:51 ttyUSB0

but nothing happened - still Serial Error: Port /dev/ttyUSB0 does not exist


RE: openHab2 on pine64 - umiddelb - 04-16-2016

How did you install openHAB? Are you running OpenHAB inside a chroot environment or Docker container?


RE: openHab2 on pine64 - tomekr - 04-17-2016

(04-16-2016, 11:25 PM)umiddelb Wrote: How did you install openHAB? Are you running OpenHAB inside a chroot environment or Docker container?

No 
I installed  Java™ SE Runtime Environment and openHab2 from cloudless https://openhab.ci.cloudbees.com/job/openHAB-Distribution/


RE: openHab2 on pine64 - kai - 04-17-2016

I didn't have problems with finding the serial port through openHAB on my first attempts, so I cannot really help here either.


What you should note nonetheless that even if the port is found, you there is still a blocking issue in supporting serial dongles.
If anybody can help getting nrjavaserial compiled for arm64, it would be gorgeous!

Regards,
Kai


RE: openHab2 on pine64 - umiddelb - 04-19-2016

(04-17-2016, 06:10 AM)kai Wrote: If anybody can help getting nrjavaserial compiled for arm64, it would be gorgeous!

Done ... libNRJavaSerial.so

Cheers
Uli