longcongduoi / openremote

100% open-source IoT Platform - Integrate your assets, create rules, and visualize your data

Home Page:https://openremote.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenRemote v3

CI/CD Open Source? Yes!

Source · Documentation · Forum · Issues · Docker Images · OpenRemote Inc.

Welcome to the OpenRemote 3.0 platform; an intuitive user-friendly 100% open source IoT platform. We have our origins in Home Automation but our 3.0 platform is focused on generic IoT applications and is a completely different stack to any of our 2.x services. As the code base is 100% open source then the applications are limitless. Here's an architecture overview:

Architecture 3.0

Quickstart

You can quickly try the online demo with restricted access, login credentials are smartcity:smartcity:

Online demo

The quickest way to get your own environment with full access is to make use of our docker images (both amd64 and arm64 are supported).

  1. Make sure you have Docker Desktop installed (v18+).

  2. Download the docker compose file: OpenRemote Stack (Right click 'Save link as...')

  3. In a terminal cd to where you just saved the compose file and then run:

    docker-compose -p openremote up

If all goes well then you should now be able to access the OpenRemote Manager UI at https://localhost. You will need to accept the self-signed certificate, see here for details how to do this in Chrome (similar for other browsers).

Login credentials

Username: admin
Password: secret

Changing host and/or port

The URL you use to access the system is important, the default is configured as https://localhost if you are using a VM or want to run on a different port then you will need to set the EXTERNAL_URL environmnet variable and if changing ports you'll need to update your docker compose profile, so if for example you will be accessing using https://192.168.1.1:8443 then update your docker-compose.yml file:

  proxy:
    ...
    ports:
      - "8000:80"
      - "8443:443"
      - "8883:8883"

Then use the following startup command:

BASH:

EXTERNAL_URL=https://192.168.1.1:8443 docker-compose -p openremote up -d

or

CMD:

cmd /C "set EXTERNAL_URL=https://192.168.1.1:8443 && docker-compose -p openremote up -d"

What next

Try creating assets, agents, rules, users, realms, etc. using the Manager UI, please refer to the wiki for more information, some things to try:

Where's the data stored?

Persistent data is stored in a PostgreSQL DB which is stored in the openremote_postgresql-data docker volume which is durably stored independently of the running containers (see all with docker volume ls). If you want to create a backup of your installation, just make a copy of this volume.

Contributing to OpenRemote

We work with Java, Groovy, TypeScript, Gradle, Docker, and a wide range of APIs and protocol implementations. Clone or checkout this project and send us pull requests, ensure that code is covered by tests and that the full test suite passes.

For more information and how to set up a development environment, see the Developer Guide.

Discuss OpenRemote

Join us on the community forum.

About

100% open-source IoT Platform - Integrate your assets, create rules, and visualize your data

https://openremote.io

License:Other


Languages

Language:Java 55.5%Language:TypeScript 21.6%Language:Groovy 16.0%Language:Swift 3.2%Language:Kotlin 1.4%Language:CSS 1.3%Language:JavaScript 0.4%Language:HTML 0.4%Language:PLpgSQL 0.1%Language:Dockerfile 0.1%Language:XSLT 0.1%Language:Shell 0.0%Language:Python 0.0%Language:Ruby 0.0%