OpenHAB & AI: ho collegato Gemini a OpenHAB con Python e MQTT / I connected Gemini to OpenHAB with Python and MQTT 🤖⚡ITA ENG
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 the video
***********************************
In questo video ti mostro come usare le API di Gemini tramite uno script Python per ottenere informazioni dinamiche e inviarle via MQTT a OpenHAB, visualizzandole poi correttamente su sitemap.
Partendo da uno script Python, andremo a:
🔹 Interrogare le API di Gemini
🔹 Elaborare le risposte
🔹 Pubblicare i dati su un broker MQTT
🔹 Riceverli in OpenHAB
🔹 Visualizzarli su una sitemap personalizzata
Un esempio pratico e completo per chi vuole sperimentare l’AI all’interno della propria smart home!
💡 Questo approccio è ideale per creare assistenti, pannelli informativi, automazioni intelligenti e molto altro.
Buona visione
Video di mia proprietà
My own Video