# 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:** 8\
**Last updated:** [October 23, 2026, 7:12pm UTC](https://community.openhab.org/t/ohpanel-open-source-firmware-for-the-sonoff-nspanel-eu-that-talks-to-openhab-directly/170724 "2026-10-23T19:12:52Z")

</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…

---

## [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:** 7\
**Last updated:** [October 23, 2026, 7:10am UTC](https://community.openhab.org/t/per-person-per-item-command-permissions-for-openhab-client-certs-reverse-proxy-acl-gateway/170679 "2026-10-23T07:10:28Z")

</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…

---

## [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…

---

## [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:** 0\
**Last updated:** [October 13, 2026, 5:48pm UTC](https://community.openhab.org/t/dashboard-for-the-kitchen/170680 "2026-10-13T17:48:31Z")

</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…

---

## [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 …

---

## [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:** 943\
**Last updated:** [October 2, 2026, 3:08pm UTC](https://community.openhab.org/t/timeline-picker-to-setup-heating-light-and-so-on/55564 "2026-10-02T15:08:44Z")

</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…

---

## [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…

---

## [Mammotion Yuka/Luba integration to OpenHAB](https://community.openhab.org/t/mammotion-yuka-luba-integration-to-openhab/170233)

<div class="topic-metadata">

**Author:** [@Jagohu](https://community.openhab.org/u/Jagohu)\
**Replies:** 1\
**Last updated:** [August 26, 2026, 1:49pm UTC](https://community.openhab.org/t/mammotion-yuka-luba-integration-to-openhab/170233 "2026-08-26T13:49:13Z")

</div>

Hi all, After more than a year of no official binding, I decided that I make something for myself and connect my Mammotion Yuka 1000 mower to OpenHAB. The solution is surely very simplistic and I’m sure there are bette…

---

## [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:** 0\
**Last updated:** [August 25, 2026, 8:44pm UTC](https://community.openhab.org/t/how-to-integrate-shelly-blu-trv/170245 "2026-08-25T20:44:22Z")

</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…

---

## [Pairing ESB64NP-IPM with OpenHAB](https://community.openhab.org/t/pairing-esb64np-ipm-with-openhab/170219)

<div class="topic-metadata">

**Author:** [@Volki21](https://community.openhab.org/u/Volki21)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 9:38pm UTC](https://community.openhab.org/t/pairing-esb64np-ipm-with-openhab/170219 "2026-08-23T21:38:19Z")

</div>

I spend half a day to connect my Eltako ESB64NP-IPM into OpenHab. It wasn’t that straight forward, so maybe someone can benefit from the final solution. Initial BLE provisioning Since in my setup openHAB is running in a…

---

## [BLANCO CHOICE.All in openHAB: an ESP32 BLE-to-MQTT gateway](https://community.openhab.org/t/blanco-choice-all-in-openhab-an-esp32-ble-to-mqtt-gateway/170214)

<div class="topic-metadata">

**Author:** [@jb4711](https://community.openhab.org/u/jb4711)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 3:07pm UTC](https://community.openhab.org/t/blanco-choice-all-in-openhab-an-esp32-ble-to-mqtt-gateway/170214 "2026-08-23T15:07:41Z")

</div>

The BLANCO CHOICE.All is a drinking water system under the sink: filtered still, medium and sparkling water, plus boiling water, from one tap. It talks to exactly one thing: the BLANCO UNIT App, over Bluetooth Low Energy…

---

## [My workaround for a daily ZRAM Sync of Openhab rrjd persistance](https://community.openhab.org/t/my-workaround-for-a-daily-zram-sync-of-openhab-rrjd-persistance/169548)

<div class="topic-metadata">

**Author:** [@ehorvat1](https://community.openhab.org/u/ehorvat1)\
**Replies:** 11\
**Last updated:** [August 18, 2026, 6:44am UTC](https://community.openhab.org/t/my-workaround-for-a-daily-zram-sync-of-openhab-rrjd-persistance/169548 "2026-08-18T06:44:43Z")

</div>

Here my rather lengthy post about what I did to use ZRAMs daily sync: Motivation: After a power failure OpenHABs persistence is lost up to point in time when ZRAM did last syncronize the persistence folder to SD card. A…

---

## [Drexel & Weiss Device Integration](https://community.openhab.org/t/drexel-weiss-device-integration/94604)

<div class="topic-metadata">

**Author:** [@Thomas\_Gfeller](https://community.openhab.org/u/Thomas_Gfeller)\
**Replies:** 69\
**Last updated:** [August 6, 2026, 10:10pm UTC](https://community.openhab.org/t/drexel-weiss-device-integration/94604 "2026-08-06T22:10:16Z")

</div>

Hi Community, gladly I give something back to the great Openhab Community. This solution describes the integration of Drexel & Weiss (D&W) devices in to Openhab Challenge Do you have a HAVAC device from Drexel & Weiss …

---

## [Dynamic electricity pricing in Québec : OpenHab FTW!](https://community.openhab.org/t/dynamic-electricity-pricing-in-quebec-openhab-ftw/121816)

<div class="topic-metadata">

**Author:** [@blobule](https://community.openhab.org/u/blobule)\
**Replies:** 10\
**Last updated:** [August 5, 2026, 8:10pm UTC](https://community.openhab.org/t/dynamic-electricity-pricing-in-quebec-openhab-ftw/121816 "2026-08-05T20:10:58Z")

</div>

Hi everyone, I’ve been using OpenHab for a few years, but this winter Hydro-Québec started offering dynamic electricity pricing (btw I am in Québec and house heating is with electricy). I installed 8 zwave thermostats a…

---

## [Automower (Husqvarna) MainUI Page](https://community.openhab.org/t/automower-husqvarna-mainui-page/169942)

<div class="topic-metadata">

**Author:** [@glen\_m](https://community.openhab.org/u/glen_m)\
**Replies:** 0\
**Last updated:** [July 30, 2026, 7:59am UTC](https://community.openhab.org/t/automower-husqvarna-mainui-page/169942 "2026-07-30T07:59:16Z")

</div>

Over the last few weeks, I have been having a bit of a play with getting a moderately functional dashboard going for the Automower. My intent was to be able to control key functions from within OpenHAB, but a non-goal …

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