Skip to content
OpenHAB Configuration

OpenHAB Configuration

Watch Star

GitHub Project

⚠️ Legacy notice: Home Assistant MQTT Discovery (via mqtt-protocol = "homeassistant" on the controller) is now the primary integration path. openHAB remains fully supported via MQTT but requires manual configuration. See the compatibility matrix below.

Configuration example to use the Smart Swimming Pool system on openHAB.

Compatibility Matrix

Controller VersionHome AssistantopenHAB
2.xLimited supportRecommended
3.xNative MQTT DiscoveryManual MQTT configuration

Features

  • Switch Modes: Auto, Manual, Boost, Timer
  • Monitor current temparature of pool water and solar heating
  • Configuration of
    • start and end time of cleaning circulation time
    • max. temparature of pool water
    • min temparature of solar heating
    • hystesis
  • Compatible with Alexa openHAB Add-on

OpenHAB BasicUI Sitemap

openHAB Pool Automation: OverviewopenHAB Pool Automation: Settings
openHAB Pool Automation overviewopenHAB Pool Automation temperature

Mobile App (openHAB iOS)

This configuration running on openHAB iOS App:

openHAB Pool Automation: OverviewopenHAB Pool Automation: Temparature
openHAB Pool Automation overviewopenHAB Pool Automation temperature
openHAB Pool Automation: SettingsopenHAB Pool Automation: Settings
openHAB Pool Automation settingsopenHAB Pool Automation settings

Precondition

The Smart Swimming Pool project uses Homie 3.0 based MQTT messaging. Therfor you have to install an MQTT broker in your environment.

Raspberry Pi

I use an Raspberry Pi (Model 3) (Amazon). The latest version of openHAB has an embedded MQTT broker. In this example a seperate broker Mosquitto on same Raspberry Pi is configured.

Install Mosquitto

  • Install Mosquitto on Raspberry Pi:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install mosquitto
  • In Paper UI install add-on ‘MQTT Binding’ from bindings.
  • Check services/mqtt.cfg for your environment.
Last updated on