# Tutorials & Examples

**URL:** https://community.openhab.org/c/tutorials-examples/10.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [How to ask a good question / Help Us Help You](https://community.openhab.org/t/how-to-ask-a-good-question-help-us-help-you/58396)

<div class="topic-metadata">

**Author:** [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Replies:** 83\
**Last updated:** [March 3, 2020, 10:29pm UTC](https://community.openhab.org/t/how-to-ask-a-good-question-help-us-help-you/58396 "2020-03-03T22:29:11Z")

</div>

Before you ask… Community forum is NOT a helpdesk Let’s put this in the front: nobody here works for openHAB. The community members are helping with an Open Source Project, not a commercial software. Additionally, the f…

---

## [OHpanel: open-source firmware for the Sonoff NSPanel EU that talks to openHAB directly](https://community.openhab.org/t/ohpanel-open-source-firmware-for-the-sonoff-nspanel-eu-that-talks-to-openhab-directly/170724)

<div class="topic-metadata">

**Author:** [@jb4711](https://community.openhab.org/u/jb4711)\
**Replies:** 115\
**Last updated:** [November 11, 2026, 5:05pm UTC](https://community.openhab.org/t/ohpanel-open-source-firmware-for-the-sonoff-nspanel-eu-that-talks-to-openhab-directly/170724 "2026-11-11T17:05:53Z")

</div>

Hi all, I’d like to share OHpanel, a replacement firmware for the Sonoff NSPanel (EU version) that talks to openHAB directly: item states come in over openHAB’s event stream, commands go out over the REST API. No MQTT b…

---

## [Pulse: a zoomable radial interface for openHAB](https://community.openhab.org/t/pulse-a-zoomable-radial-interface-for-openhab/170915)

<div class="topic-metadata">

**Author:** [@Tinchox5](https://community.openhab.org/u/Tinchox5)\
**Replies:** 3\
**Last updated:** [November 9, 2026, 1:50am UTC](https://community.openhab.org/t/pulse-a-zoomable-radial-interface-for-openhab/170915 "2026-11-09T01:50:44Z")

</div>

Hi all, I’ve been building Pulse, a radial interface for watching and controlling a home. Each system is a ring with layers for readings and controls: lights, climate, openings, security, media, energy, weather and peop…

---

## [Interactive Zigbee2MQTT network map widget](https://community.openhab.org/t/interactive-zigbee2mqtt-network-map-widget/170817)

<div class="topic-metadata">

**Author:** [@gvi70000](https://community.openhab.org/u/gvi70000)\
**Replies:** 25\
**Last updated:** [November 6, 2026, 5:46pm UTC](https://community.openhab.org/t/interactive-zigbee2mqtt-network-map-widget/170817 "2026-11-06T17:46:49Z")

</div>

Hello. I wanted something better than the static Graphviz picture of my Zigbee mesh, so I built an interactive network map that runs inside openHAB. It’s a single HTML file plus a custom widget, and it reads Zigbee2MQTT’…

---

## [How to integrate Shelly BLU TRV](https://community.openhab.org/t/how-to-integrate-shelly-blu-trv/170245)

<div class="topic-metadata">

**Author:** [@Oliver2](https://community.openhab.org/u/Oliver2)\
**Replies:** 2\
**Last updated:** [November 6, 2026, 1:46pm UTC](https://community.openhab.org/t/how-to-integrate-shelly-blu-trv/170245 "2026-11-06T13:46:39Z")

</div>

As the official Shelly binding is still not supporting BLU TRV devices please find here an easy and lightweight solution. This solution uses RPC over HTTP/GET - so no MQTT Broker required. Prerequisites: If already set…

---

## [\# \[Tutorial\] Getting rid of the empty space at the top of the MainUI Overview (and keeping an embedded floor plan flush)](https://community.openhab.org/t/tutorial-getting-rid-of-the-empty-space-at-the-top-of-the-mainui-overview-and-keeping-an-embedded-floor-plan-flush/170882)

<div class="topic-metadata">

**Author:** [@mars-online](https://community.openhab.org/u/mars-online)\
**Replies:** 1\
**Last updated:** [November 5, 2026, 3:46pm UTC](https://community.openhab.org/t/tutorial-getting-rid-of-the-empty-space-at-the-top-of-the-mainui-overview-and-keeping-an-embedded-floor-plan-flush/170882 "2026-11-05T15:46:13Z")

</div>

For a long time my Overview page had an annoying gap at the very top, both in the Android app and in the browser. The first thing on the page is my floor plan, and it never started right below the header. There was alwa…

---

## [Bash script to search and find rules quickly](https://community.openhab.org/t/bash-script-to-search-and-find-rules-quickly/170863)

<div class="topic-metadata">

**Author:** [@alexanderflint](https://community.openhab.org/u/alexanderflint)\
**Replies:** 9\
**Last updated:** [November 5, 2026, 3:26pm UTC](https://community.openhab.org/t/bash-script-to-search-and-find-rules-quickly/170863 "2026-11-05T15:26:05Z")

</div>

searching for where existing rules/scenes/scripts etc are used in openHAB’s UI is very annoying not very fancy but working I wrote a little bash script to search where rules/scenes/scripts are used in the UI of openHAB …

---

## [Timeline picker to setup heating, light and so on](https://community.openhab.org/t/timeline-picker-to-setup-heating-light-and-so-on/55564)

<div class="topic-metadata">

**Author:** [@tose](https://community.openhab.org/u/tose)\
**Replies:** 964\
**Last updated:** [November 5, 2026, 3:16pm UTC](https://community.openhab.org/t/timeline-picker-to-setup-heating-light-and-so-on/55564 "2026-11-05T15:16:04Z")

</div>

openHAB timeline picker v3 This project extends openHABs basicUI by a sitemap component to setup timebased processes. (e.g. heating control, light control, rollershutter) In the component you can set and change interval…

---

## [Kitchen Timer](https://community.openhab.org/t/kitchen-timer/170854)

<div class="topic-metadata">

**Author:** [@cbaxter](https://community.openhab.org/u/cbaxter)\
**Replies:** 4\
**Last updated:** [November 4, 2026, 1:18pm UTC](https://community.openhab.org/t/kitchen-timer/170854 "2026-11-04T13:18:34Z")

</div>

This is a widget to put a countdown timer on the HABpanel screen. The result is this: Usage is self explanatory. It uses the MapDB persistence service to save the timer in the event of a refresh or restart. You will…

---

## [Per-person, per-item command permissions for openHAB — client certs + reverse proxy + ACL gateway](https://community.openhab.org/t/per-person-per-item-command-permissions-for-openhab-client-certs-reverse-proxy-acl-gateway/170679)

<div class="topic-metadata">

**Author:** [@Dominik\_Bernhardt](https://community.openhab.org/u/Dominik_Bernhardt)\
**Replies:** 8\
**Last updated:** [November 2, 2026, 9:28pm UTC](https://community.openhab.org/t/per-person-per-item-command-permissions-for-openhab-client-certs-reverse-proxy-acl-gateway/170679 "2026-11-02T21:28:16Z")

</div>

Why I built this I wanted to open the openHAB Main UI to the whole family, but only let the kids switch a handful of items. Seeing everything is fine; switching the heating, the front door or a sibling’s lights is not. o…

---

## [Control a water heater and ground source heat pump based on cheap hours of spot priced electricity](https://community.openhab.org/t/control-a-water-heater-and-ground-source-heat-pump-based-on-cheap-hours-of-spot-priced-electricity/136566)

<div class="topic-metadata">

**Author:** [@masipila](https://community.openhab.org/u/masipila)\
**Replies:** 362\
**Last updated:** [October 9, 2024, 8:17pm UTC](https://community.openhab.org/t/control-a-water-heater-and-ground-source-heat-pump-based-on-cheap-hours-of-spot-priced-electricity/136566 "2024-10-09T20:17:05Z")

</div>

Hi all, I’m about to implement a home automation system that will control the heating system of our house so that it will avoid the expensive hours when electricity costs the most. I have a programming background but I…

---

## [Spot Price Optimizer: Advanced algorhitms to optimize heating, charging of electric vehicles, water boilers and more](https://community.openhab.org/t/spot-price-optimizer-advanced-algorhitms-to-optimize-heating-charging-of-electric-vehicles-water-boilers-and-more/159539)

<div class="topic-metadata">

**Author:** [@masipila](https://community.openhab.org/u/masipila)\
**Replies:** 184\
**Last updated:** [June 1, 2025, 7:19am UTC](https://community.openhab.org/t/spot-price-optimizer-advanced-algorhitms-to-optimize-heating-charging-of-electric-vehicles-water-boilers-and-more/159539 "2025-06-01T07:19:38Z")

</div>

I just released version 3.0.0 of the openHAB spot Price Optimizer, which has evolved from this original discussion. I’m starting this new thread for the sake of simplicity because the concepts have gone through such an …

---

## [Dashboard for the kitchen](https://community.openhab.org/t/dashboard-for-the-kitchen/170680)

<div class="topic-metadata">

**Author:** [@arnulf](https://community.openhab.org/u/arnulf)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 4:32pm UTC](https://community.openhab.org/t/dashboard-for-the-kitchen/170680 "2026-10-26T16:32:27Z")

</div>

For a long time I had a dashboard in my kitchen that I had developed in C#. I have now replaced it with a new one built in JavaScript. It has connectors for openHAB, as well as Home Assistant, MQTT, Homematic, Merkio, Go…

---

## [Connect to new BMW CarData service through MQTT](https://community.openhab.org/t/connect-to-new-bmw-cardata-service-through-mqtt/166693)

<div class="topic-metadata">

**Author:** [@Bredmich](https://community.openhab.org/u/Bredmich)\
**Replies:** 92\
**Last updated:** [October 22, 2026, 5:54pm UTC](https://community.openhab.org/t/connect-to-new-bmw-cardata-service-through-mqtt/166693 "2026-10-22T17:54:17Z")

</div>

Hi there, based on the discussion in the topic of the now deprecated MyBMW binding, i created a solution to receive data through the new MQTT datastream. 0. BMW MQTT Integration Prerequisites: BMW Connected Drive a…

---

## [My new Smart Home Automation System with OpenHab2 - Work in progress -\> Migrating to OpenHAB3 -\> Migrating to OpenHAB 4 -\> Migrating to OpenHAB 5](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725)

<div class="topic-metadata">

**Author:** [@s89511](https://community.openhab.org/u/s89511)\
**Replies:** 356\
**Last updated:** [October 20, 2026, 4:13pm UTC](https://community.openhab.org/t/my-new-smart-home-automation-system-with-openhab2-work-in-progress-migrating-to-openhab3-migrating-to-openhab-4-migrating-to-openhab-5/33725 "2026-10-20T16:13:16Z")

</div>

Hello everybody, I’m a new user here and also for the Home Automation System things. I recently discovered the sonoff devices and they let me evaluate a lot of Home Automation Software. In a few words I chose OpenHAB v.…

---

## [How To Monitor Remote CPU Temp (Windows)](https://community.openhab.org/t/how-to-monitor-remote-cpu-temp-windows/75219)

<div class="topic-metadata">

**Author:** [@Vini](https://community.openhab.org/u/Vini)\
**Replies:** 8\
**Last updated:** [October 20, 2026, 11:07am UTC](https://community.openhab.org/t/how-to-monitor-remote-cpu-temp-windows/75219 "2026-10-20T11:07:04Z")

</div>

I run openHAB on a Pi3, which is all well and good until you wish to remotely probe a Windows device, for say CPU temp. I started off exploring SNMP as a possibility, but the Windows & SNMP route for monitoring CPU temp…

---

## [Windhager BioWIN 2 pellet boiler via Modbus TCP → Beckhoff CX9020 (TwinCAT 3) → openHAB 5.1 + InfluxDB/Grafana](https://community.openhab.org/t/windhager-biowin-2-pellet-boiler-via-modbus-tcp-beckhoff-cx9020-twincat-3-openhab-5-1-influxdb-grafana/170712)

<div class="topic-metadata">

**Author:** [@FHar](https://community.openhab.org/u/FHar)\
**Replies:** 0\
**Last updated:** [October 18, 2026, 7:59am UTC](https://community.openhab.org/t/windhager-biowin-2-pellet-boiler-via-modbus-tcp-beckhoff-cx9020-twincat-3-openhab-5-1-influxdb-grafana/170712 "2026-10-18T07:59:59Z")

</div>

Hi everyone, I’d like to share my setup for integrating a Windhager BioWIN 2 pellet boiler (InfoWIN / Infinity Plus Wall, 2 heating circuits + domestic hot water) into openHAB. Instead of talking Modbus directly from op…

---

## [openHAB with reverse proxy using OPNsense and HAProxy](https://community.openhab.org/t/openhab-with-reverse-proxy-using-opnsense-and-haproxy/169187)

<div class="topic-metadata">

**Author:** [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Replies:** 4\
**Last updated:** [October 9, 2026, 1:58pm UTC](https://community.openhab.org/t/openhab-with-reverse-proxy-using-opnsense-and-haproxy/169187 "2026-10-09T13:58:06Z")

</div>

Edit: Fixed some settings which were forcing relogging in to MainUI repeatedly. Changes made to: openhab\_auth\_cookie rule changed to add-header and Options/Value changed to Set-Cookie "X-OPENHAB-AUTH-HEADER=1; path=/; …

---

## [Reading a water meter's scanning disc: a battery-free optical reader with MQTT and openHAB](https://community.openhab.org/t/reading-a-water-meters-scanning-disc-a-battery-free-optical-reader-with-mqtt-and-openhab/170573)

<div class="topic-metadata">

**Author:** [@jb4711](https://community.openhab.org/u/jb4711)\
**Replies:** 1\
**Last updated:** [October 3, 2026, 4:27am UTC](https://community.openhab.org/t/reading-a-water-meters-scanning-disc-a-battery-free-optical-reader-with-mqtt-and-openhab/170573 "2026-10-03T04:27:45Z")

</div>

No camera, no OCR, no battery: most mechanical water meters already carry a small disc in their register that turns with the flow, so that the vendor’s pulse module can count it. A reflective sensor can count it just as …

---

## [Openvehicles Monitoring System (OVMS) connection to OH via MQTT](https://community.openhab.org/t/openvehicles-monitoring-system-ovms-connection-to-oh-via-mqtt/170538)

<div class="topic-metadata">

**Author:** [@wjones](https://community.openhab.org/u/wjones)\
**Replies:** 3\
**Last updated:** [September 30, 2026, 4:01pm UTC](https://community.openhab.org/t/openvehicles-monitoring-system-ovms-connection-to-oh-via-mqtt/170538 "2026-09-30T16:01:46Z")

</div>

Hi All, I have a small electric vehicle with an OVMS module installed, this allows an optional MQTT connectivity which can then be connected to openhab. I have created a combination of a widget, plus the .items and .th…

---

## [Vibe coded family dashbaord](https://community.openhab.org/t/vibe-coded-family-dashbaord/170465)

<div class="topic-metadata">

**Author:** [@jabra\_the\_hut](https://community.openhab.org/u/jabra_the_hut)\
**Replies:** 3\
**Last updated:** [September 25, 2026, 6:32am UTC](https://community.openhab.org/t/vibe-coded-family-dashbaord/170465 "2026-09-25T06:32:01Z")

</div>

Heya, I Claude-vibe coded a family dashboard with (so far) 100 % WAF and CAF. The problem it solves: Give transparency on the typical family household topics. See at a glance what is important today. Does child 1 have …

---

## [openHAB MCP Server + Ollama + Open WebUI — Complete Setup Guide](https://community.openhab.org/t/openhab-mcp-server-ollama-open-webui-complete-setup-guide/169639)

<div class="topic-metadata">

**Author:** [@Michdo93](https://community.openhab.org/u/Michdo93)\
**Replies:** 34\
**Last updated:** [September 23, 2026, 9:26pm UTC](https://community.openhab.org/t/openhab-mcp-server-ollama-open-webui-complete-setup-guide/169639 "2026-09-23T21:26:41Z")

</div>

openHAB MCP Server + Ollama + Open WebUI — Complete Setup Guide Hardware Recommendations To run a capable LLM model alongside openHAB MCP and Open WebUI, the following hardware is recommended: Minimum (CPU-only, small …

---

## [ Near real time mostly local voice assistant with R2T2, Needle3](https://community.openhab.org/t/near-real-time-mostly-local-voice-assistant-with-r2t2-needle3/170448)

<div class="topic-metadata">

**Author:** [@p-sw](https://community.openhab.org/u/p-sw)\
**Replies:** 1\
**Last updated:** [September 21, 2026, 6:20am UTC](https://community.openhab.org/t/near-real-time-mostly-local-voice-assistant-with-r2t2-needle3/170448 "2026-09-21T06:20:55Z")

</div>

I was looking to retire my google minis for some time with fast local replacement, unfortunately Onju Voice wasn’t “responsive” I’m expecting voice assistant to be able to act as fast as human would, e.g. no delay after …

---

## [Rademacher Homepilot (DuoFern) via http-Binding](https://community.openhab.org/t/rademacher-homepilot-duofern-via-http-binding/103316)

<div class="topic-metadata">

**Author:** [@April\_Wexler](https://community.openhab.org/u/April_Wexler)\
**Replies:** 98\
**Last updated:** [September 17, 2026, 2:00pm UTC](https://community.openhab.org/t/rademacher-homepilot-duofern-via-http-binding/103316 "2026-09-17T14:00:03Z")

</div>

\*\* UPDATE \*\* This description was for openHAB2.x if you are looking how to control Rademacher HomePilot with openHAB3 please check this new post: https://community.openhab.org/t/rademacher-homepilot-duofern-via-http-b…

---

## [Smart Garage door opener and status for 15 EUR](https://community.openhab.org/t/smart-garage-door-opener-and-status-for-15-eur/166353)

<div class="topic-metadata">

**Author:** [@ericbodden](https://community.openhab.org/u/ericbodden)\
**Replies:** 2\
**Last updated:** [September 16, 2026, 8:28pm UTC](https://community.openhab.org/t/smart-garage-door-opener-and-status-for-15-eur/166353 "2026-09-16T20:28:18Z")

</div>

I would like to share with you a little project in which I connected our electric garage door opener to Openhab 5, using a small WIFI-enabled device that is compatible with Tuya, and in result also with Openhab. The devi…

---

## [Bosch and Siemens appliances smart without Home Connect: reading the internal D-Bus over MQTT](https://community.openhab.org/t/bosch-and-siemens-appliances-smart-without-home-connect-reading-the-internal-d-bus-over-mqtt/170271)

<div class="topic-metadata">

**Author:** [@jb4711](https://community.openhab.org/u/jb4711)\
**Replies:** 3\
**Last updated:** [September 11, 2026, 3:52pm UTC](https://community.openhab.org/t/bosch-and-siemens-appliances-smart-without-home-connect-reading-the-internal-d-bus-over-mqtt/170271 "2026-09-11T15:52:44Z")

</div>

No cloud, no account, no power-consumption guessing: the machine already says what it is doing on a service bus behind the front panel. This is the firmware I wrote for an existing interface board, building on the revers…

---

## [How to Control Smart Switches for an Off-Grid System to get the Maximum Energy from a PV inverter?](https://community.openhab.org/t/how-to-control-smart-switches-for-an-off-grid-system-to-get-the-maximum-energy-from-a-pv-inverter/170358)

<div class="topic-metadata">

**Author:** [@dpa-openhab](https://community.openhab.org/u/dpa-openhab)\
**Replies:** 2\
**Last updated:** [September 9, 2026, 5:22am UTC](https://community.openhab.org/t/how-to-control-smart-switches-for-an-off-grid-system-to-get-the-maximum-energy-from-a-pv-inverter/170358 "2026-09-09T05:22:06Z")

</div>

I have published at https://ab.bapha.be/posts/20260908/ how I use openHAB to turn on and off loads, in order to get the maximum energy from a PV inverter. I have included fully functional example, described also why all…

---

## [Cronitor — Monitoring your local Openhab Instance online/offline](https://community.openhab.org/t/cronitor-monitoring-your-local-openhab-instance-online-offline/170299)

<div class="topic-metadata">

**Author:** [@Muplex](https://community.openhab.org/u/Muplex)\
**Replies:** 2\
**Last updated:** [September 3, 2026, 12:41am UTC](https://community.openhab.org/t/cronitor-monitoring-your-local-openhab-instance-online-offline/170299 "2026-09-03T00:41:38Z")

</div>

Hello dear community, I wanna share a free and easy workaround to be able to monitor your local openhab instance and notify via mail if your local OH goes offline. other request was here : ( Reneval of Myopenhab Cloud r…

---

## [ESP32 with a small display](https://community.openhab.org/t/esp32-with-a-small-display/165391)

<div class="topic-metadata">

**Author:** [@moody\_blue](https://community.openhab.org/u/moody_blue)\
**Replies:** 2\
**Last updated:** [September 1, 2026, 5:10pm UTC](https://community.openhab.org/t/esp32-with-a-small-display/165391 "2026-09-01T17:10:27Z")

</div>

I’ve bought this little device ESP32 C3 desktop trinket Mini TV Portable Pendant LVGL 1.44inch LCD ST7735 Brand Spotpear It has a 128x128 screen and 4 buttons (reset+3). It can be used as a multi-button command that dis…

---

## [Tesla Powerwall 3 Integration using pypowerwall-server & MQTT Binding](https://community.openhab.org/t/tesla-powerwall-3-integration-using-pypowerwall-server-mqtt-binding/169755)

<div class="topic-metadata">

**Author:** [@glen\_m](https://community.openhab.org/u/glen_m)\
**Replies:** 4\
**Last updated:** [August 28, 2026, 9:13am UTC](https://community.openhab.org/t/tesla-powerwall-3-integration-using-pypowerwall-server-mqtt-binding/169755 "2026-08-28T09:13:09Z")

</div>

This is a new thread to cover the setup of the Tesla Powerwall 3 integration using pypowerwall-server and MQTT. The pypowerwall-server has recently become available, and is probably an easier way to integrate a Powerwal…

[Next page](https://community.openhab.org/c/tutorials-examples/10.md?page=1)
