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.

...

This guide will show you how to install OpenDevice on a 

Status
colourBlue
titlePrivate Cloud
 or raspberry 

Info

You can also create an account and use http://cloud.opendevice.io (beta). If you have interest please contact us!

The server is an optional the component primarily used for managing and abstracting multiple devices. It is possible to develop projects using only the libraries and communicating directly with the devices (without using this server)You can also create an account and use http://cloud.opendevice.io (beta). If you have interest please contact us!


Gallery
sortdate

Installation Options

...

Run this command to download and install:

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

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

...

Next, see Running.

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

...