Skip to content

Commit

Permalink
[DOCS] - OpenHAB integration complement (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile authored Dec 12, 2023
1 parent 296248f commit 2440c14
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/integrate/openhab3.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Integrate OPENHAB3
# Integrate OPENHAB 3/4

This tutorial will show how to integrate the BLE gateway to OpenHAB3 leveraging the auto discovery functionality.
After this tutorial, you should see your Bluetooth Low Energy devices in OpenHAB3 without any file based manual configuration.
This tutorial will show how to integrate the BLE gateway to OpenHAB 3 or 4 leveraging the auto discovery functionality.
After this tutorial, you should see your Bluetooth Low Energy devices in OpenHAB without any file based manual configuration.

## Prerequisites
* OpenHAB 3.3 or higher
Expand Down Expand Up @@ -80,6 +80,9 @@ To make the auto discovery compatible with OpenHAB you have to send the followin

`mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m '{"ohdisc":true}'`

You can also activate OpenHAB auto discovery by adding the gateway as a Thing, Model, and switching the button to ON. The name of the channel to add is "SYS: OpenHAB discovery".
Once activated restart OpenMQTTGateway.

## Adding the things
1. From the Administration click on "Things" under "Settings", you should see a number in the INBOX button

Expand Down

0 comments on commit 2440c14

Please sign in to comment.