openHab2 on pine64
#11
(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.
  Reply
#12
(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
  Reply
#13
How did you install openHAB? Are you running OpenHAB inside a chroot environment or Docker container?
  Reply
#14
(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/ope...tribution/
  Reply
#15
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
  Reply
#16
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  openHABian for pine64 available dmcwhinnie 5 13,014 12-20-2017, 10:38 PM
Last Post: pineadmin
  Show Hubpanel on pine64 display Beta 0 3,243 04-15-2017, 05:44 AM
Last Post: Beta
Tongue Pine64 with Openhab2 - Starting guide/accessories g_t_j 4 10,462 03-12-2017, 05:13 PM
Last Post: BatoXan
  openHAB Packaging for the Pine64 kai 19 35,954 02-21-2017, 07:19 AM
Last Post: BatoXan
  Help with Openhab2 please Dayve 6 11,017 02-01-2017, 09:22 PM
Last Post: tllim
  Pine64 and Aeon labsZ-Stick tomekr 1 4,949 12-19-2016, 05:41 PM
Last Post: Trond
  Pine64 and MQTT Grootkonijntje 2 8,276 09-22-2016, 04:01 AM
Last Post: pfeerick
  openHAB just up on Pine64 :-) tllim 2 8,374 05-04-2016, 05:27 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)