Giter Club home page Giter Club logo

openhab_esp_genconfig's Introduction

OpenHab ESP Configuration Generator

This generator is in support of OpenHab ESP, a lightweight, simplied OpenHab 2 server for the ESP Platform

Getting started

  1. Download or clone the repository
  2. Install VSCode and EasyCPP extension (Windows portable version is OK and tested)
  3. Install Microsoft Visual C++ compiler (VS17/VS19 tested)
  4. Modify .vscode/c_cpp_properties.json and build.bat with the location of your MSVC compiler and include files
  5. Modify src/main.cpp file with the name of your development OpenHab server (e.g. on Windows or Linux), the port it listens to, the sitemap you want to use and the location of your OpenHab ESP project, also using vscode
  6. Compile and run
  7. The generator will copy all generator files to your OpenHab ESP project folder
  • include/main.h: key structures list list of Items, Groups, item/group count etc.
  • data/rest, data/conf/sitemap/, data/rest/services, data/rest/items extracted via REST API

You are done now! Head over to your OpenHab ESP project to build and run your OH2 server for ESP

Limitations and know issues

  • At this moment only Windows 10 64-bit platform is supported
  • Not all files are extracted from the OpenHab 2.x development server (e.g. icons). However, all (static) files needed exist already in the data folder of the OpenHab ESP project folder, including a set of icons to run the demo.
  • HabPanel is not (yet) supported by the generator, even though the OpenHab ESP server has initial support for HabPanel (copy the HabPanel files manually)
  • Tested on OpenHab 2.4 and 2.5

openhab_esp_genconfig's People

Contributors

ewaldc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.