ePrivacy and GPDR Cookie Consent by TermsFeed Generator OpenHAB and AI: I connected Gemini to OpenHAB with Python and MQTT - VIDEO | OpenHAB - SmartHome | DomoticsDuino - Computer engineer, Smart Home / OpenHAB, Flight Sim and others...
OpenHAB - SmartHome (331 posts)

07/12/2025

OpenHAB and AI: I connected Gemini to OpenHAB with Python and MQTT - VIDEO [Versione in italiano]

by Marco Lamanna

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.

Enjoy your viewing

[Open on YOUTUBE]