kevinherron / pi-server

OPC UA Server for Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Pi OPC-UA Server

Installation

Download the latest release from https://github.com/kevinherron/pi-server/releases or package it from the latest source:

git clone https://github.com/kevinherron/pi-server.git
cd pi-server
mvn package

Copy that to your Raspberry Pi then unzip it:

unzip pi-server-1.1.0.zip 
cd pi-server-1.1.0/
chmod +x bin/pi-server.sh

GPIO

GPIO configuration is in config/gpio-config.json. Use config/gpio-config.json.example as a template.

IMPORTANT: The pin numbering scheme is NOT the same as what you see on the Pi. It's based on the pi4j and wiringpi abstract pin numbering scheme.

Running PiServer

With the above done and in place, simply invoke sudo bin/pi-server.sh start and wait.

You can tail the logs with tail -f logs/wrapper.log | cut -d '|' -f 4 and watch for a message about binding endpoints to know when it's started.

About

OPC UA Server for Raspberry Pi


Languages

Language:Java 100.0%