Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The server/middleware is a component of OpenDevice that allow management of many devices and provides APIs for integration, visualization and data storage.

...

  1. Download and Installing
  2. Using Docker: click here
  3. Build from sources: See details

...

Run this command to download and install:

wget curl -O - Ls https://goo.gl/mgQGNH  | bash

For manual installation, you can also unpack the zip in folder of your choice, like:

...

unzip opendevice-middleware-distribuition.zip -d /opt/opendevice


Next, see Running 44410675.

Opt 2. Using Docker

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

docker build https://goo.gl/K83bRY -t opendevice-server
docker run -d -p 8181:8181 -p 1883:1883 --name opendevice -t opendevice-server

...

sudo ./bin/opendevice start
sudo ./bin/opendevice stop

Now, you can access web interface in: http://localhost:8181

...