Building connected IoT applications for edge and fog computing shouldn't be like rocket science.
That's why we've created To make it easy, fun and fast.

What is

A toolkit for building embedded IoT edge and fog computing applications that connect sensors, devices and cloud services. is an open source software toolkit for quickly building embedded applications for the Internet of Things that run on Linux-based devices like the Raspberry Pi, Beaglebone, RED Brick or Galileo/Edison. implements a web-enabled, modular and extensible JavaScript and C++ runtime environment and provides easy to use building blocks that enable applications to talk to various sensors and devices, as well as cloud services.


Easy and fun to use. Reliable and Rock-Solid. Efficient, Modular and Extensible. Open Source.

Rapidly build IoT device applications for edge and fog computing in JavaScript and/or C++. Reliable and rock-solid, based on industry proven components like the POCO C++ Libraries and the V8 JavaScript engine. Implemented in C++ for maximum efficiency. Runs on Embedded Linux devices with as little as 32 MB of RAM, as well as desktop Linux and OS X. Develop and test on desktop machine, then easily deploy to embedded device. Open source, under the Apache 2.0 License.

Who is for? is for makers, professional developers, system integrators and device manufacturers.

For professional developers, system integrators and device manufacturers, PRO delivers a scalable, extensible and secure software platform that supports features such as secure software updates, device APIs and device-specific app stores, backed by professional support and consulting services available from Applied Informatics.
For makers, delivers a powerful, fun-to-use and free toolkit to play, experiment and quickly build prototypes with.

Read the white paper: Programming IoT Gateways with

Yes, we're open!

To support the ongoing development of, donations are much appreciated!


Web Application Server is based on a powerful embedded web application server, providing a flexible module system that makes it easy to build dynamically extensible applications providing rich web-based user interfaces.

JavaScript Engine

Build your applications faster. includes the V8 JavaScript engine which compiles JavaScript to native ARM or x86 machine code for great performance.

Sensors and Devices API provides rich APIs for accessing various sensors and devices, which can be used from both JavaScript and native C++ code.

Components and Services

A powerful components and services architecture enables modular, easily extensible applications that can be upgraded and extended with new features in the field.

Communication Protocols

Broad support for modern and legacy communication protocols makes it easy to integrate sensor networks and automation devices.

HTTP(S) and MQTT Clients includes HTTP(S) and MQTT clients for connecting to cloud services and other IoT devices.

Embedded Database uses SQLite as embedded database. Great for logging sensor data and available to both JavaScript and C++ code.

Data Flow Engine

A built-in extensible data flow engine lets you build applications without coding.

Secure Remote Management uses for secure remote management and remote access via Web, SSH and VNC.

Who is behind

Günter Obiltschnig Günter Obiltschnig Founder & Lead Developer @obiltschnig has been created by Günter Obiltschnig, Founder and CTO of Applied Informatics, and Founder and Lead Developer of the POCO C++ Libraries.


Günter Obiltschnig
Applied Informatics Software Engineering GmbH.
+43 4253 32596


The development of is in part being funded by the Internet Foundation Austria’s netidee program (2015/2016 term). See the announcement on the blog.

Code Examples


Sensors and other devices are presented as services that can be searched for based on various properties. In the following sample, we look for an ambient light (luminance) and a temperature sensor. The code that looks for sensors is implemented as a module and can be imported using the familiar require() function.

var sensors = {};

var ambientLightRefs = serviceRegistry.find('io.macchina.physicalQuantity == "luminance"');
if (ambientLightRefs.length > 0)
    sensors.ambientLight = ambientLightRefs[0].instance();
    logger.information('Ambient Light: ' + sensors.ambientLight.getPropertyString('name'));

var temperatureRefs = serviceRegistry.find('io.macchina.physicalQuantity == "temperature"');
if (temperatureRefs.length > 0)
    sensors.temperature = temperatureRefs[0].instance();
    logger.information('Temperature: ' + sensors.temperature.getPropertyString('name'));

module.exports = sensors;


Once we have a sensor object, we can get a callback whenever the measured value changes. In the following example, we write the current sensor value into a SQLite database, together with a timestamp.

var data = require('data');
var sensors = require("sensors.js");

var dbPath = application.config.getString('datalogger.database');
var dbSession = new data.DBSession('SQLite', dbPath);

    function (event) 
        dbSession.execute('INSERT INTO datalog VALUES (?, ?)',

Serial Port

Many devices provide a serial (UART) interface and support a simple text-based protocol. It's easy to process data received from such devices.

var serial = null;
var serialRef = serviceRegistry.findByName('io.macchina.serialport#0');
if (serialRef)
    serial = serialRef.instance();
    logger.notice("SerialDevice found: " + serial.getPropertyString("device"));

serial.setFeature("events", true);
serial.setPropertyString("delimiters", "\n");
serial.setPropertyDouble("timeout", 0.1);
        logger.notice("Received: " +; 

Cloud Services

The following example shows how to send data to a cloud service providing a REST interface. We periodically obtain temperature and ambient light measurements and send them to the AirVantage M2M Cloud service.

var net = require('net');
var sensors = require('sensors.js');

var username = application.config.getString("airvantage.username");
var password = application.config.getString("airvantage.password");

        var httpRequest = new net.HTTPRequest('POST', '');
        var epoch = 1000*DateTime().epoch; // seconds to milliseconds
        httpRequest.timeout = 10.0;
        httpRequest.authenticate(username, password);
        httpRequest.content = JSON.stringify(
                                "timestamp": epoch,
                                "value": sensors.temperature.value()
                                "timestamp": epoch,
                                "value": sensors.ambientLight.value()
        var httpResponse = httpRequest.send();
        if (httpResponse.status != 200)
            logger.error("Failed sending data to AirVantage: " + httpResponse.reason);

The above sample blocks in send() until the HTTP request has been completed. HTTP requests can also be sent asynchronously. In this case, a callback function will be called when the request has completed.

        // ...
            function (result)
                if (result.error)
                else if (result.response.status != 200)
                    logger.error("HTTP request failed: " + result.response.reason);
        // ...

JavaScript Servlets

The following example shows how to implement a servlet in JavaScript that reads sensor data from the SQLite database and formats it as JSON.

var data = require('data');

var dbPath = application.config.getString('logger.database');
var dbSession = new data.DBSession('SQLite', dbPath);
dbSession.pageSize = 20;

var recordSet = dbSession.execute('SELECT timestamp, temperature FROM datalog ORDER BY timestamp DESC');
response.contentType = 'application/json';