K8055 and openhab2 - stuck

bit of a longer post, but still struggling with getting the binding to appear in OH2..

I’m trying to get the velleman k8055 IO board working with OH2. The original documentation and links to the .jar file no longer work, so what i’ve done has been cobbled together from a number of different searches / sources of info..

So, after the advice above (thanks), I still couldn’t get the velleman k8055 board working in OH2, however the linux command k8055 to test connectivity to the board worked fine.. So i decided to start fresh to retrace and document my steps..

New sdcard in the PI 3 model b. new OH2 pre-built image installed and configured as below

download openHabian2 ready made image
rufus disk image to card
power on & let self install
wait <>20 mins for it to complete, monitor progress via http://openhab
check website available via http://openhab:8080
ssh
run openhabian-config tool
update tool
update system
apply improvements
- sub menu items 11,12,13,14,15
system options
- change display locale to en_GB.UTF-8
- confirm timezone
exit menu
passwd change default password via openhabian-config tool
sudo reboot

paper ui
add bindings
GPIO
philips hue
MQTT
openweather
network
ntp
unifi
seneye
wifi led
inbox
add automatically found things
- hue bridge
- ntp
hue
- generate user using developer url
paper ui

  • add user name to hue config
  • add newly found items from hue bridge
  • add text to speech
  • emphemeris, configure location
  • item linking, simple mode
  • eclipse network address
    things
    • network - add router
    • ntp - add ntp server
      openweathermap - create account for api key
      things - configure item - openweathermap

Velleman K8055 board
copy jna-309.jar binding to addons samba share
update extra java options in /etc/default/openHAB2
add example .cfg files to items and bindings folders in samba shares

make group for access to k8055 usb device and add openhabian user
sudo groupadd k8055
sudo usermod -a -G k8055 whoami # granting access to the usb board for the local user
sudo reboot

install k8055 linux driver from GitHub - rm-hull/k8055: Velleman k8055 linux driver and GUI sources for the Raspberry Pi
ssh

  • install swig
  • install libusb-dev
  • install wget
  • create new folder
  • download k8055 driver
    make all
    make install
    make pylib k8055gui
    lsusb command to check usb port of interface
    test k8055 command on interface above

reboot

check bindings for k8055 using paper gui - missing..
check binding for k8055 using console as mentioned in advice above - missing

k8055 .cfg files

item
Switch Output1 “Digital Output 1” { k8055=“DIGITAL_OUT:1”}
Switch Output2 “Digital Output 2” { k8055=“DIGITAL_OUT:2”}

Dimmer K8055_ANOUT_1 “K8055 Analog Output 1” { k8055=“ANALOG_OUT:1”}
Dimmer K8055_ANOUT_2 “K8055 Analog Output 2” { k8055=“ANALOG_OUT:2”}

Number K8055_ANIN_1 “K8055 Analog Input 1” { k8055=“ANALOG_IN:1” }
Number K8055_ANIN_2 “K8055 Analog Input 2” { k8055=“ANALOG_IN:2” }

services
################################# Velleman K8055 Binding ######################################

refresh interval in milliseconds (optional, defaults to 1000ms)

k8055:refresh=1000

Board Number.

k8055:boardno=0

not sure if it’s related, but the samba config and OH wiki shows the install location as /opt/openhab2/ but there isn’t anything installed here. not sure if this needs re-pointing or doesn’t matter?

links used but may need updating?

openHAB on Linux | openHAB - /opt/openhab2/ wrong location?
[SOLVED] Velleman k8055 USB IO Board Binding Openhab 2.3 - cloudbees site inaccessible for me.. had documentation and .jar binding
https://openhab.ci.cloudbees.com/job/openHAB1-Addons/1636/org.openhab.binding%24org.openhab.binding.k8055/ - inaccessible link