uBridge¶
uBridge is a lightweight, modular application that can log uThing's data into CSV files, publish into InfluxDB databases and MQTT servers.
It's open source, and it can be installed in any Linux-based host (PC, Gateways, RaspberryPi, etc.).
It has been written in C++ in order to achieve an efficient, lightweight service that can run in constrained devices with minimum CPU and RAM comsumption (in a RaspberryPi 3, it uses under 1% of CPU time and ~4MB of RAM).
The module can be extended with custom plugins, client libraries for various languages will be available soon.
The application consist of a main module (uBridge) which takes care of managing the connected uThing™'s devices and publishing data to the clients, and one or more plugins (clients) which can either run in the same machine of the uBridge or in a remote server.
Automatic devices detection
uBridge runs as a daemon, constanly monitoring the machine's USB ports for new enumerated devices. If the detected device is a uThing™, the server notifies the connected plugins, optionally configures the new device, and listen for incoming data from the uThing™'s.
Installation¶
As mentioned, due to the low resources use, uBridge can be installed in most Linux-based hosts (PCs, Gateways, RaspberryPi).
Please check the uBridge Server section for instructions on the server component, and the corresponding sections below for the plugins you want to install.