PiServer

Raspberry Pi OPC-UA Server

License

License

GroupId

GroupId

com.digitalpetri.opcua
ArtifactId

ArtifactId

pi-server
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

zip
Description

Description

PiServer
Raspberry Pi OPC-UA Server
Project URL

Project URL

https://github.com/kevinherron/pi-server
Source Code Management

Source Code Management

https://github.com/kevinherron/pi-server

Download pi-server

Dependencies

compile (4)

Group / Artifact Type Version
com.digitalpetri.opcua : ua-server jar 0.4.0
ch.qos.logback : logback-classic jar 1.1.2
com.pi4j : pi4j-core jar 1.0
com.fasterxml.jackson.core : jackson-databind jar 2.4.0

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.1.0