Skip to content

relay service for uThing devices (from USB to various transports)

License

Notifications You must be signed in to change notification settings

ohmtech-io/uBridge

Repository files navigation

ubridge

uBridge is a lightweight, modular application that can log data into CSV files, publish into InfluxDB databases and MQTT servers.

uBridge

More info on: https://docs.ohmtech.io/ubridge/intro

Instalation instructions

sudo apt update

optional:

sudo apt upgrade

Pre-requisites

sudo apt install git cmake ninja-build

Libserial

sudo apt install g++ git autogen autoconf build-essential cmake graphviz \
                 libboost-dev libboost-test-dev libgtest-dev libtool \
                 python3-sip-dev doxygen python3-sphinx pkg-config \
                 python3-sphinx-rtd-theme

cd /tmp
git clone https://github.com/crayzeewulf/libserial.git
cd libserial
git checkout 1d1e47a
./compile.sh
cd build
sudo make install
sudo ldconfig

NNG

cd /tmp
git clone https://github.com/nanomsg/nng.git
cd nng
git checkout 9d6b241
mkdir build
cd build

cmake -G Ninja ..
ninja
sudo ninja install

Building ubridge

cd /tmp
git clone https://github.com/ohmtech-io/uBridge.git
cd uBridge
mkdir build 
cd build && cmake ..
make

Install service

sudo make install
sudo systemctl enable ubridge ubridge-server

Start the service

sudo systemctl start ubridge

Monitoring

 systemctl status ubridge-server.service

Log file

tail /tmp/ubridge.log

About

relay service for uThing devices (from USB to various transports)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages