Integrate your SwitchBot devices into OpenHAB with this API to MQTT bridge!
In this video, I show you how I configured OpenHAB to integrate a SwitchBot Smart Lock Pro via MQTT, using my switchbot-api2mqtt bridge. This software connects the SwitchBot cloud APIs to an MQTT broker, allowing you to control and monitor your SwitchBot devices (such as locks, blinds, thermometers, etc.) directly from OpenHAB or any MQTT-compatible home automation system.
Completely open source Works on Raspberry Pi or any server, optionally with Docker Supports all SwitchBot API-compatible devices Includes MQTT support for commands and status Perfect for DIY home automation!
My upgrade was fairly easy as well.
I use proxmox so I just snapshot the vm and do the upgrade and if it fails then roll back.
I was running OH4 with java 21 for months before OH5 so that saved me a step.
Good videos. Thanks for sharing your experiences.
openhabonraspberry-pi4: I found and fixed some issues after upgrading to version 5
I’ve just updated my system to openhab 5.0.1 and, even though the process was smooth, I encountered a couple of unexpected errors!
I recorded a video where i show you exactly what these issues were (semantic model conflicts and rules problems) and, most importantly, how i solved them in just a few minutes!
If you’re hesitant to update or are facing similar problems, this video is for you!
openhab on raspberrypi 4: version 5 is here with a ton of new features and improvements!
In this video, we take a complete tour to discover all the features that will change the way you manage your smart home with openhab!
Main new features
• enhanced matter support
• easier python scripting
• revolutionized semantic tag system
• completely redesigned ios app
• configuration with yaml
• ui improvements
• new add-ons and updates
Attention! openhab 5 is only compatible with 64-bit operating systems and java 21. if you’re upgrading from previous versions, don’t forget to check the “breaking changes” section to avoid interruptions!
Want to discover all the details, improvements, and system requirements? don’t miss the full video. click here
In questo nuovo video scopriamo insieme il supporto matter di openhab 5, concentrandoci sul matter bridge, con il quale potrai facilmente:
integrare perfettamente i dispositivi matter nativi rendere compatibili con matter anche tutti i dispositivi che controlli già da openhab (lampadine, interruttori, sensori…) restare local-first, senza dipendere dai server cloud – più velocità, più privacy.
Nel mio ultimo video/post ti mostro passo dopo passo come installarlo, configurarlo e renderlo operativo con Google Home
openhab5 on raspberrypi 4: I tried setting up the Matter Bridge using the Main UI
… it works great
In my new video, I’ll show you step-by-step how to: set up the Matter Bridge from the Main UI, add metadata to Items, connect openHAB with Google Home.
If you want to take your DIY home automation to the next level and prepare your home for the future of smart home standards, this is a crucial step.
OPENHAB 5 + MATTER Bridge: How to pair the same device multiple times (it really WORKS!)
In this video, I’ll show you how Matter multi-pairing works in OPENHAB 5, which allows you to connect the same device to multiple bridges simultaneously.
This is an important topic for anyone who wants to make their smart home more flexible and get the most out of Matter.
If you have a smart home, you know the frustration: different apps, incompatibilities, and devices that never talk to each other. This is the time to say enough.
The definitive solution is called matter
Matter is the royalty-free standard supported by giants like Apple, Google, Amazon, and Samsung, created to unify home automation and make every device universal.
openhab5How to Configure thematterClient in Minutes and Integrate Devices Step-by-Step
Matter is the new standard that aims to unify the world of home automation: turn on a Zigbee light bulb from Alexa, control a plug from Apple Home, and much more — all with interoperability and security.
In this episode, I’ll show you how to integrate a Shelly device into OpenHAB using MQTT, easily and 100% locally.
No cloud, no hassle—just total control over your smart home
In my latest video, I show how I automated retrieving the bridge state when booting the system, so that the information remains consistent even after rebooting OpenHAB.
openhab on raspberrypi 4: More reliable openHAB: The notification that saves you!
If you use the matter Bridge in openHAB, you know how crucial it is to always keep it Running. A state change can isolate your Matter devices from googlehome, alexa, or apple Home.
In my latest video, I show you how I solved this problem with a simple openHAB 5 rule that immediately notifies you when the bridge changes its status!
In this video, I show you how to use the Gemini APIs via a Python script to obtain dynamic information and send it via MQTT to OpenHAB, then display it correctly on a sitemap.
Starting with a Python script, we’ll: Query the Gemini APIs Process the responses Publish the data to an MQTT broker Receive it in OpenHAB Display it on a custom sitemap
A practical and comprehensive example for those who want to experiment with AI in their smart home!
This approach is ideal for creating assistants, information panels, intelligent automations, and much more.
The script was designed to allow systems like OpenHAB, which may not have the technical capability to integrate directly with AI APIs, to leverage their power via the MQTT protocol, an efficient protocol widely used in home automation.
Sending the Request: OpenHAB (or any external system) sends prompt requests to Gemini on a specific MQTT topic.
Generic: The script remains generic because it doesn’t have the prompt hardwired into it, but receives it via the MQTT payload.
JSON Schema: The prompt request must include a JSON schema. This is crucial because the AI must return a schematic response rather than merely textual, making the data easily interpretable and usable by OpenHAB.
Receiving the Response: Once the response is received from the Gemini 2.5 flash model, the script publishes it to a dedicated MQTT response topic, which is personalized with an identifier (‘track’) to separate responses to different requests.
In the video, I demonstrate installing and running the script using Docker Compose on a Raspberry Pi, and a practical test requesting a weather forecast for New York City, demonstrating the correct functioning of the AI2MQTT bridge.