{"id":4602,"date":"2025-11-11T15:08:34","date_gmt":"2025-11-11T15:08:34","guid":{"rendered":"https:\/\/www.it-react.com\/?p=4602"},"modified":"2026-01-05T08:03:53","modified_gmt":"2026-01-05T08:03:53","slug":"the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt","status":"publish","type":"post","link":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/","title":{"rendered":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT"},"content":{"rendered":"\n<p>In the previous post, we built the foundation of our automation system \u2014 Docker running on the Raspberry Pi, with Home Assistant, Node-RED, and Mosquitto working together.<br>Everything is now alive and connected, but so far\u2026 it\u2019s just a system waiting for data.<\/p>\n\n\n\n<p>Time to change that.<\/p>\n\n\n\n<p>At the vacation house, I already use a few smart sensors \u2014 temperature, humidity, smart sockets, smart appliances \u2014 connected through Govee, Xiaomi and Smart Life (Tuya) apps.<br>They all work fine on their own, but I wanted to bring them together in one place, under my own control \u2014 combining cloud-based integrations (like Tuya and Govee) with local MQTT sensors.<\/p>\n\n\n\n<p>In this part, we\u2019ll start linking everything into our setup, and build the foundation for automation and monitoring across both Home Assistant and Node-RED &#8211; not just to see what\u2019s happening, but to be notified when something isn\u2019t right, like a sudden temperature drop or a power outage at the house.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Section 4 \u2013 Integrating MQTT and Smart Devices (Govee, Smart Life\/Tuya)<\/strong><\/h3>\n\n\n\n<p>With Home Assistant, Node-RED, and Mosquitto already working together, we can finally start bringing in real-world data from sensors and smart devices.<br>This is the point where the setup turns from a theoretical framework into a practical monitoring system for the vacation house.<\/p>\n\n\n\n<p>We\u2019ll begin with the devices that are already in use \u2014 sensors and smart plugs connected through Govee, Xiaomi, and Smart Life (Tuya) \u2014 and then move on to adding locally connected devices communicating through MQTT.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 1 \u2013 Add Tuya and Smart Life devices<\/strong><\/h4>\n\n\n\n<p>Since Tuya and Smart Life use the same backend cloud, we can integrate them through the official Tuya integration.<\/p>\n\n\n\n<p>In <strong>Home Assistant<\/strong>, go to<br><strong>Settings \u2192 Devices &amp; Services \u2192 Add Integration \u2192 Tuya<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in with your <strong>Tuya Smart<\/strong> or <strong>Smart Life<\/strong> credentials.<\/li>\n\n\n\n<li>Once connected, Home Assistant will automatically import your devices.<br>You\u2019ll see each smart socket, temperature sensor, or appliance appear with its current state and readings.<\/li>\n<\/ol>\n\n\n\n<p>These devices communicate through the Tuya Cloud, so an internet connection is required \u2014 but once integrated, they can participate fully in your local automations.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 2 &#8211; Installing HACS \u2013 unlocking the community<\/strong><\/h4>\n\n\n\n<p>Even though Tuya worked great right out of the box, I knew that at some point I\u2019d need a few extra integrations \u2014 things that aren\u2019t officially supported in Home Assistant, or that get new features faster through the community.<\/p>\n\n\n\n<p>That\u2019s where HACS (Home Assistant Community Store) comes in.<br>It\u2019s basically an app store for Home Assistant, but built and maintained by the community. You can find everything from experimental integrations to beautifully designed Lovelace cards that enhance the interface and dashboards.<\/p>\n\n\n\n<p>Since my setup runs in Docker, I didn\u2019t have the usual Add-on Store that comes with the full Home Assistant OS.<br>So the installation had to be done manually \u2014 which honestly fits the DIY spirit of this whole project.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/home\/ioan\/homeauto\/homeassistant \nsudo bash -c \"wget -O - https:\/\/get.hacs.xyz | bash -\"\ndocker restart homeassistant<\/code><\/pre>\n\n\n\n<p>After the restart, I added the new integration from<br><strong>Settings \u2192 Devices &amp; Services \u2192 Add Integration \u2192 HACS<\/strong>,<br>connected it to my GitHub account, and just like that, a new HACS menu appeared in the sidebar.<\/p>\n\n\n\n<p>From there, it\u2019s easy to explore and install community-built extensions with just a few clicks.<\/p>\n\n\n\n<p>My first goal with HACS was to explore ways to integrate my Govee temperature and humidity sensors online.<br>That exploration led to discovering <strong>Passive BLE Monitor<\/strong> \u2014 a fantastic community integration that reads Bluetooth sensor data directly, without going through the cloud.<\/p>\n\n\n\n<p>Installing HACS quickly proved to be one of the best decisions in this project.<br>It opened the door to dozens of community integrations that extend Home Assistant far beyond its defaults \u2014 from new device types to automation helpers and dashboard enhancements.<br>In short, HACS is how you make Home Assistant truly yours.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 3 &#8211; Govee Integration \u2013 combining BLE and Cloud<\/strong><\/h4>\n\n\n\n<p>At the vacation house, I already use several Govee temperature and humidity sensors \u2014 models <strong>H5075<\/strong> (Bluetooth only) and <strong>H5179<\/strong> (Wi-Fi + Bluetooth).<br>The idea was to bring them into Home Assistant, alongside the Tuya and Smart Life devices.<\/p>\n\n\n\n<p>Through HACS, I installed the <strong>Passive BLE Monitor<\/strong>, and within minutes, my H5075 sensors appeared in Home Assistant \u2014 showing temperature, humidity, and battery level \u2014 all fully local, no cloud involved.<\/p>\n\n\n\n<p>The H5179 models, however, were a different story. They do have Bluetooth hardware, but their firmware doesn\u2019t broadcast readings using the standard BLE advertisement formats, so BLE discovery didn\u2019t work.<br>Instead, they communicate through Govee\u2019s new <strong>OpenAPI<\/strong>, which exposes both temperature and humidity via the cloud.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> curl -X GET \"https:\/\/openapi.api.govee.com\/router\/api\/v1\/user\/devices\"  -H \"Content-Type: application\/json\"  -H \"Govee-API-Key: Your-API-Key\"<\/code><\/pre>\n\n\n\n<p>Using that API directly, I was able to pull live readings from all my H5179 sensors \u2014 a real surprise, since the older Govee integrations only supported lights and plugs.<br>This means I can now read both local (BLE) and remote (cloud) sensors inside the same system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -X POST \"https:\/\/openapi.api.govee.com\/router\/api\/v1\/device\/state\" \\\n  -H \"Content-Type: application\/json\" \\\n  -H \"Govee-API-Key: Your-API-Key\" \\\n  -d '{\n    \"requestId\": \"test-123\",\n    \"payload\": {\n      \"sku\": \"H5179\",\n      \"device\": \"DE:76:17:29:AA:AA:AA:AA\"\n    }\n  }'<\/code><\/pre>\n\n\n\n<p>Output will lool simillar to this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\"requestId\":\"test-123\",\"msg\":\"success\",\"code\":200,\"payload\":{\"sku\":\"H5179\",\"device\":\"DE:76:17:29:AA:AA:AA:AA\",\"capabilities\":&#91;{\"type\":\"devices.capabilities.online\",\"instance\":\"online\",\"state\":{\"value\":true}},{\"type\":\"devices.capabilities.property\",\"instance\":\"sensorTemperature\",\"state\":{\"value\":55.04}},{\"type\":\"devices.capabilities.property\",\"instance\":\"sensorHumidity\",\"state\":{\"value\":80.3}}]}}<\/code><\/pre>\n\n\n\n<p>And that opened the door for the next step: bringing the cloud readings into my <em>local<\/em> system through Node-RED and MQTT.<\/p>\n\n\n\n<p>It\u2019s not just a workaround \u2014 it\u2019s the flexibility I wanted from the start:<br><strong>local when possible, cloud when necessary.<\/strong><br>And with that, every sensor at the vacation house \u2014 whether Bluetooth or Wi-Fi \u2014 finally reports home.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Step 4 \u2013 Bringing Govee H5179 into Node-RED and Home Assistant<\/strong><\/h4>\n\n\n\n<p>Once I confirmed that the H5179 sensors could be queried through Govee\u2019s cloud API, the next goal was to make those readings part of the local automation system \u2014 not just visible in the Govee app.<\/p>\n\n\n\n<p>That\u2019s where Node-RED came back into play.<\/p>\n\n\n\n<p>I built a small flow that pulls temperature and humidity from the cloud and publishes them into my MQTT broker.<\/p>\n\n\n\n<p>The structure is simple but powerful:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Inject] \u2192 &#91;Change (API headers &amp; payload)] \u2192 &#91;HTTP Request] \u2192 &#91;JSON Parse] \u2192 &#91;Function (convert &amp; split)] \u2192 &#91;MQTT Out (temperature\/humidity)]<\/code><\/pre>\n\n\n\n<p><strong>[Inject]<\/strong> &#8211; Starts the flow every 5 minutes.<\/p>\n\n\n\n<p><strong>[Change (API headers &amp; payload)]<\/strong> &#8211; This block is the heart of the communication with the Govee cloud API.<br>Every time Node-RED needs to retrieve fresh readings from a sensor, it first builds the HTTP request \u2014 and that happens right inside this Change node.<br>It prepares two things:<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">1. The <strong>headers<\/strong><\/h5>\n\n\n\n<p>These tell the Govee API who we are and what kind of data we\u2019re sending.<br>In the Change node, we set:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"Content-Type\": \"application\/json\",\n  \"Govee-API-Key\": \"YOUR_API_KEY_HERE\"\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Content-Type<\/code> tells the server that we\u2019re sending JSON.<\/li>\n\n\n\n<li><code>Govee-API-Key<\/code> identifies your account \u2014 without it, Govee won\u2019t return any data.<\/li>\n<\/ul>\n\n\n\n<p>Node-RED stores this inside <code>msg.headers<\/code>, so the next node (HTTP Request) knows exactly how to send the request.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">2. The <strong>payload<\/strong><\/h5>\n\n\n\n<p>This is the actual \u201cquestion\u201d we\u2019re asking Govee.<br>For example, to request the readings for a specific sensor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"requestId\": \"node-red\",\n  \"payload\": {\n    \"sku\": \"H5179\",\n    \"device\": \"DE:76:17:29:AA:AA:AA:AA\"\n  }\n}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>requestId<\/code> is just a label \u2014 it can be any string.<\/li>\n\n\n\n<li><code>sku<\/code> is the device type (H5179).<\/li>\n\n\n\n<li><code>device<\/code> is the unique ID of the sensor whose data we want.<\/li>\n<\/ul>\n\n\n\n<p>This JSON goes into <code>msg.payload<\/code>, and together with the headers, forms a complete and valid request for the Govee API<\/p>\n\n\n\n<p><strong>[HTTP Request]<\/strong> &#8211; Sends a POST request to <code>https:\/\/openapi.api.govee.com\/router\/api\/v1\/device\/state<\/code> with my API key and the device\u2019s unique ID. Set Return on &#8220;a parsed JSON object&#8221;<\/p>\n\n\n\n<p><strong>[Function]<\/strong> &#8211; Extracts both temperature and humidity from the response, converts the Fahrenheit values returned by the API into Celsius, and publishes them into two MQTT topics \u2014 one for temperature, one for humidity.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let cap = msg.payload.payload.capabilities;\n\nlet tempFObj = cap.find(c =&gt; c.instance === \"sensorTemperature\");\nlet humObj   = cap.find(c =&gt; c.instance === \"sensorHumidity\");\n\nif (!tempFObj || !humObj) {\n    node.warn(\"Temperature or humidity not found in Govee response\");\n    return null;\n}\n\nlet tempF = tempFObj.state.value;\nlet hum   = humObj.state.value;\n\n\/\/ convert Fahrenheit \u2192 Celsius\nlet tempC = (tempF - 32) * 5 \/ 9;\n\nlet msgTemp = {\n    topic: \"home\/vacationhouse\/basement\/temperature\",\n    payload: tempC.toFixed(1)\n};\n\nlet msgHum = {\n    topic: \"home\/vacationhouse\/basement\/humidity\",\n    payload: hum.toFixed(1)\n};\n\nreturn &#91; msgTemp, msgHum ];<\/code><\/pre>\n\n\n\n<p><strong>[MQTT]<\/strong> &#8211; Govee sensor now reports to the system through two MQTT topics: one carrying the temperature, the other the humidity.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>home\/vacationhouse\/basement\/temperature\nhome\/vacationhouse\/basement\/humidity<\/code><\/pre>\n\n\n\n<p>Node-RED updates both values on a schedule, making sure the dashboard in Home Assistant always reflects what\u2019s happening in the house, room by room, in real time.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"95\" src=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/image-4-1024x95.png\" alt=\"\" class=\"wp-image-4646\" srcset=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/image-4-1024x95.png 1024w, https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/image-4-300x28.png 300w, https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/image-4-768x71.png 768w, https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/image-4.png 1498w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>On the Home Assistant side, the rest was easy.<br>I simply defined the sensors in <code>configuration.yaml<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mqtt:\n  sensor:\n    - name: \"Basement Temperature\"\n      state_topic: \"home\/vacationhouse\/basement\/temperature\"\n      unit_of_measurement: \"\u00b0C\"\n\n    - name: \"Basement Humidity\"\n      state_topic: \"home\/vacationhouse\/basement\/humidity\"\n      unit_of_measurement: \"%\"\n<\/code><\/pre>\n\n\n\n<p>After a quick restart, the new MQTT entities appeared in Home Assistant, right next to the BLE-based sensors. From there, I added them manually to my dashboard \u2014 and once placed, they started updating in real time, just like the local sensors.<\/p>\n\n\n\n<p>It\u2019s a clean bridge between the cloud and the local network:<br>Node-RED does the fetching, Mosquitto carries the messages, and Home Assistant handles the visualization and automation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrap-up<\/h2>\n\n\n\n<p>With the Tuya devices integrated, the BLE sensors online, and the Govee Wi-Fi sensors now feeding data through Node-RED and MQTT, the monitoring setup is finally taking shape.<br>We now have a solid foundation: data is flowing, the dashboard is alive, and everything is connected exactly the way I want \u2014 locally where possible, cloud-based where necessary.<\/p>\n\n\n\n<p>But this is only the beginning.<\/p>\n\n\n\n<p>In the next post, we\u2019ll continue expanding the system with additional integrations and more advanced automations.<br>And since the vacation house sometimes loses internet or power, we\u2019ll also build the script that detects when the main connection is down and automatically switches to the backup connection.<\/p>\n\n\n\n<p>Plenty more to come \u2014 and things are just getting interesting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the previous post, we built the foundation of our automation system \u2014 Docker running on the Raspberry Pi, with Home Assistant, Node-RED, and Mosquitto working together.Everything is now alive and connected, but so far\u2026 it\u2019s just a system waiting for data. Time to change that. At the vacation house, I already use a few [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","footnotes":""},"categories":[16,7,62],"tags":[55,18,54],"class_list":["post-4602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot","category-linux","category-network","tag-node-red","tag-raspberry","tag-smarthome"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT\" \/>\n<meta property=\"og:description\" content=\"In the previous post, we built the foundation of our automation system \u2014 Docker running on the Raspberry Pi, with Home Assistant, Node-RED, and Mosquitto working together.Everything is now alive and connected, but so far\u2026 it\u2019s just a system waiting for data. Time to change that. At the vacation house, I already use a few [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/\" \/>\n<meta property=\"og:site_name\" content=\"IT-REACT\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-11T15:08:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-05T08:03:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ioan Penu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ioan Penu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/\"},\"author\":{\"name\":\"Ioan Penu\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#\\\/schema\\\/person\\\/bf08cffeb4b02ee6baff5d56ab17c8f0\"},\"headline\":\"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT\",\"datePublished\":\"2025-11-11T15:08:34+00:00\",\"dateModified\":\"2026-01-05T08:03:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/\"},\"wordCount\":1436,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#\\\/schema\\\/person\\\/bf08cffeb4b02ee6baff5d56ab17c8f0\"},\"image\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.it-react.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg\",\"keywords\":[\"node-red\",\"raspberry\",\"smarthome\"],\"articleSection\":[\"IoT\",\"Linux\",\"Network\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/\",\"url\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/\",\"name\":\"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.it-react.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg\",\"datePublished\":\"2025-11-11T15:08:34+00:00\",\"dateModified\":\"2026-01-05T08:03:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.it-react.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg\",\"contentUrl\":\"https:\\\/\\\/www.it-react.com\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg\",\"width\":1024,\"height\":540,\"caption\":\"Photo by Illiya Vjestica on Unsplash\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/index.php\\\/2025\\\/11\\\/11\\\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.it-react.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#website\",\"url\":\"https:\\\/\\\/www.it-react.com\\\/\",\"name\":\"it-react\",\"description\":\"Ctrl\u2022Alt\u2022Automate\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#\\\/schema\\\/person\\\/bf08cffeb4b02ee6baff5d56ab17c8f0\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.it-react.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.it-react.com\\\/#\\\/schema\\\/person\\\/bf08cffeb4b02ee6baff5d56ab17c8f0\",\"name\":\"Ioan Penu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g\",\"caption\":\"Ioan Penu\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/","og_locale":"en_US","og_type":"article","og_title":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT","og_description":"In the previous post, we built the foundation of our automation system \u2014 Docker running on the Raspberry Pi, with Home Assistant, Node-RED, and Mosquitto working together.Everything is now alive and connected, but so far\u2026 it\u2019s just a system waiting for data. Time to change that. At the vacation house, I already use a few [&hellip;]","og_url":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/","og_site_name":"IT-REACT","article_published_time":"2025-11-11T15:08:34+00:00","article_modified_time":"2026-01-05T08:03:53+00:00","og_image":[{"width":1024,"height":540,"url":"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg","type":"image\/jpeg"}],"author":"Ioan Penu","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ioan Penu","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#article","isPartOf":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/"},"author":{"name":"Ioan Penu","@id":"https:\/\/www.it-react.com\/#\/schema\/person\/bf08cffeb4b02ee6baff5d56ab17c8f0"},"headline":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT","datePublished":"2025-11-11T15:08:34+00:00","dateModified":"2026-01-05T08:03:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/"},"wordCount":1436,"commentCount":0,"publisher":{"@id":"https:\/\/www.it-react.com\/#\/schema\/person\/bf08cffeb4b02ee6baff5d56ab17c8f0"},"image":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#primaryimage"},"thumbnailUrl":"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg","keywords":["node-red","raspberry","smarthome"],"articleSection":["IoT","Linux","Network"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/","url":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/","name":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT - IT-REACT","isPartOf":{"@id":"https:\/\/www.it-react.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#primaryimage"},"image":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#primaryimage"},"thumbnailUrl":"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg","datePublished":"2025-11-11T15:08:34+00:00","dateModified":"2026-01-05T08:03:53+00:00","breadcrumb":{"@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#primaryimage","url":"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg","contentUrl":"https:\/\/www.it-react.com\/wp-content\/uploads\/2025\/11\/illiya-vjestica-W5FdAcHp7l8-unsplash-e1763408285234.jpg","width":1024,"height":540,"caption":"Photo by Illiya Vjestica on Unsplash"},{"@type":"BreadcrumbList","@id":"https:\/\/www.it-react.com\/index.php\/2025\/11\/11\/the-autonomous-holiday-home-part-2-connectivity-and-sensor-monitoring-with-mqtt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.it-react.com\/"},{"@type":"ListItem","position":2,"name":"The Autonomous Holiday Home (Part 2): Connectivity and Sensor Monitoring with MQTT"}]},{"@type":"WebSite","@id":"https:\/\/www.it-react.com\/#website","url":"https:\/\/www.it-react.com\/","name":"it-react","description":"Ctrl\u2022Alt\u2022Automate","publisher":{"@id":"https:\/\/www.it-react.com\/#\/schema\/person\/bf08cffeb4b02ee6baff5d56ab17c8f0"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.it-react.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.it-react.com\/#\/schema\/person\/bf08cffeb4b02ee6baff5d56ab17c8f0","name":"Ioan Penu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g","caption":"Ioan Penu"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/2a2a1b6be0f322a113eea11669895227e284c6091424d65be6c3c706c2822975?s=96&d=mm&r=g"}}]}},"_links":{"self":[{"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/posts\/4602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/comments?post=4602"}],"version-history":[{"count":25,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/posts\/4602\/revisions"}],"predecessor-version":[{"id":4773,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/posts\/4602\/revisions\/4773"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/media\/4648"}],"wp:attachment":[{"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/media?parent=4602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/categories?post=4602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.it-react.com\/index.php\/wp-json\/wp\/v2\/tags?post=4602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}