Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Before using OpenDevice you will need as a minimum a Java Development Kit (JDK) installed version 1.8 or above. Download the appropriate JDK for your operating system, run the installer, and then set up an environment variable called JAVA_HOME pointing to the location of this installation.

Server

Download latest release from:

https://github.com/OpenDevice/OpenDevice/releases

Tutorial: Setting-up the Server

Firmware

You can install the arduino library through the IDE's Library Manager

Or using Platform.IO : pio lib --global install OpenDevice

Developer Components and Plugins (MAVEN)

Most components in OpenDevice is developed in JAVA and is published to Maven Central.

Replace ${opendevice-version} to last version found in: repository

Put in your pom.xml
<repositories>
        <repository>
                <id>oss.sonatype.org</id>
                <url>https://oss.sonatype.org/content/repositories/releases</url>
        </repository>
        <repository>
                <id>oss.sonatype.org-snapshot</id>
                <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </repository>
</repositories>


<dependencies>
        <dependency>
                <groupId>io.opendevice</groupId>
                <artifactId>opendevice-connection-stream</artifactId>
                <version>${opendevice-version}</version>
        </dependency>

        <dependency>
                <groupId>io.opendevice</groupId>
                <artifactId>opendevice-core</artifactId>
                <version>${opendevice-version}</version>
        </dependency>

        <dependency>
                <groupId>io.opendevice</groupId>
                <artifactId>opendevice-rest-ws-server</artifactId>
                <version>${opendevice-version}</version>
        </dependency>
</dependencies>
  • No labels