All Projects → openhab → Openhab Addons

openhab / Openhab Addons

Licence: epl-2.0
Add-ons for openHAB

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
groovy
2714 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Openhab Addons

openhab2 pub 001
openhab2_pub_001
Stars: ✭ 29 (-98.19%)
Mutual labels:  openhab
Openhab Android
openHAB client for Android
Stars: ✭ 457 (-71.4%)
Mutual labels:  openhab
Openhab Distro
The binary distribution of openHAB
Stars: ✭ 1,037 (-35.11%)
Mutual labels:  openhab
script.artwork.beef
An add-on for Kodi to manage artwork
Stars: ✭ 35 (-97.81%)
Mutual labels:  add-ons
Heatpump
Arduino library to control Mitsubishi Heat Pumps via connector cn105
Stars: ✭ 327 (-79.54%)
Mutual labels:  openhab
Openhabian
openHABian - empowering the smart home, for Raspberry Pi and Debian systems
Stars: ✭ 635 (-60.26%)
Mutual labels:  openhab
ComfoAirQ-Homie
Homie4 for Zehnder ComfoAirQ
Stars: ✭ 14 (-99.12%)
Mutual labels:  openhab
Espuino
RFID-controlled musicplayer powered by ESP32
Stars: ✭ 71 (-95.56%)
Mutual labels:  openhab
Miflora Mqtt Daemon
Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼🥀🏡🌳
Stars: ✭ 409 (-74.41%)
Mutual labels:  openhab
Openhab2 Flicbutton
openhab2 binding for flicbutton
Stars: ✭ 15 (-99.06%)
Mutual labels:  openhab
buptnet
北邮校园网登录插件
Stars: ✭ 46 (-97.12%)
Mutual labels:  add-ons
Config
Armbian configuration utility
Stars: ✭ 317 (-80.16%)
Mutual labels:  openhab
Amazon Dash
Hack your Amazon Dash to run what you want.
Stars: ✭ 703 (-56.01%)
Mutual labels:  openhab
SuperLEDstrip
No description or website provided.
Stars: ✭ 13 (-99.19%)
Mutual labels:  openhab
Homeautomation.codesys3
Home Automation system build in CoDeSys 3 with MQTT communication to any third party Home Automation software
Stars: ✭ 55 (-96.56%)
Mutual labels:  openhab
Spider-Sense
A browser extension to monitor your spiders deployed on Scrapy Cloud.
Stars: ✭ 15 (-99.06%)
Mutual labels:  add-ons
Openhab Core
Core framework of openHAB
Stars: ✭ 472 (-70.46%)
Mutual labels:  openhab
Tuya Mqtt
Nodejs-Script to combine tuyaapi and openhab via mqtt
Stars: ✭ 105 (-93.43%)
Mutual labels:  openhab
Gosdm630
An interface for the Eastron SDM/Modbus smart meter series.
Stars: ✭ 64 (-95.99%)
Mutual labels:  openhab
Dimswitch
Arduino library to control dimmable ballasts for fluorescent light tubes
Stars: ✭ 17 (-98.94%)
Mutual labels:  openhab

openHAB Add-ons

Build Status EPL-2.0 Crowdin Bountysource

This repository contains the official set of add-ons that are implemented on top of openHAB Core APIs. Add-ons that got accepted in here will be maintained (e.g. adapted to new core APIs) by the openHAB Add-on maintainers.

To get started with binding development, follow our guidelines and tutorials over at https://www.openhab.org/docs/developer.

If you are interested in openHAB Core development, we invite you to come by on https://github.com/openhab/openhab-core.

Add-ons in other repositories

Some add-ons are not in this repository, but still part of the official openHAB distribution. An incomplete list of other repositories follows below:

Development / Repository Organization

openHAB add-ons are Java .jar files.

The openHAB build system is based on Maven. The official IDE (Integrated development environment) is Eclipse.

You find the following repository structure:

.
+-- bom       Maven buildsystem: Bill of materials
|   +-- openhab-addons  Lists all extensions for other repos to reference them
|   +-- ...             Other boms
|
+-- bundles   Official openHAB extensions
|   +-- org.openhab.binding.airquality
|   +-- org.openhab.binding.astro
|   +-- ...
|
+-- features  Part of the runtime dependency resolver ("Karaf features")
|
+-- itests    Integration tests. Those tests require parts of the framework to run.
|   +-- org.openhab.binding.astro.tests
|   +-- org.openhab.binding.avmfritz.tests
|   +-- ...
|
+-- src/etc   Auxilary buildsystem files: The license header for automatic checks for example
+-- tools     Static code analyser instructions
|
+-- CODEOWNERS  This file assigns people to directories so that they are informed if a pull-request
                would modify their add-ons.

Command line build

To build all add-ons from the command-line, type in:

mvn clean install

To improve build times you can add the following options to the command:

Option Description
-DskipChecks Skip the static analysis (Checkstyle, FindBugs)
-DskipTests Skip the execution of tests
-Dmaven.test.skip=true Skip the compilation and execution of tests
-Dfeatures.verify.skip=true Skip the Karaf feature verification
-Dspotless.check.skip=true Skip the Spotless code style checks
-o Work offline so Maven does not download any updates
-T 1C Build in parallel, using 1 thread per core

For example you can skip checks and tests during development with:

mvn clean install -DskipChecks -DskipTests

Adding these options improves the build time but could hide problems in your code. Parallel builds are also less easy to debug and the increased load may cause timing sensitive tests to fail.

To check if your code is following the code style run: mvn spotless:check To reformat your code so it conforms to the code style you can run: mvn spotless:apply

When your add-on also has an integration test in the itests directory, you may need to update the runbundles in the itest.bndrun file when the Maven dependencies change. Maven can resolve the integration test dependencies automatically by executing: mvn clean install -DwithResolver -DskipChecks

The build generates a .jar file per bundle in the respective bundle /target directory.

How to develop via an Integrated Development Environment (IDE)

We have assembled some step-by-step guides for different IDEs on our developer documentation website:

https://www.openhab.org/docs/developer/#setup-the-development-environment

Happy coding!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].