openhab-addons/bundles/org.openhab.binding.mqtt.homie
J-N-K 31a20dc249
Apply spotless and fix itests (#10000)
* apply spotless
* fix itests

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-31 20:31:41 +01:00
..
src Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
.classpath Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
.project Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
NOTICE Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
pom.xml Apply spotless and fix itests (#10000) 2021-01-31 20:31:41 +01:00
README.md Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00

MQTT Homie Binding

NOTE: This binding is provided by the MQTT binding, and therefore no explicit installation is necessary beyond installing the MQTT binding.

Devices that follow the Homie convention 3.x and better are auto-discovered and represented by this binding and the Homie Thing.

Find the next table to understand the topology mapping from Homie to the Framework:

Homie Framework Example MQTT topic
Device Thing homie/super-car
Node Channel Group homie/super-car/engine
Property Channel homie/super-car/engine/temperature

System trigger channels are supported using non-retained properties, with enum data type and with the following formats:

  • Format: "PRESSED,RELEASED" -> system.rawbutton
  • Format: "SHORT_PRESSED,DOUBLE_PRESSED,LONG_PRESSED" -> system.button
  • Format: "DIR1_PRESSED,DIR1_RELEASED,DIR2_PRESSED,DIR2_RELEASED" -> system.rawrocker