{"id":2408,"date":"2021-11-30T12:37:39","date_gmt":"2021-11-30T04:37:39","guid":{"rendered":"https:\/\/blog.facilitybot.co\/?post_type=knowledgebase&#038;p=2408"},"modified":"2025-07-01T06:51:56","modified_gmt":"2025-06-30T22:51:56","slug":"setting-up-node-red-to-send-mqtt-data-to-facilitybot","status":"publish","type":"knowledgebase","link":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/","title":{"rendered":"Setting up Node-RED to send MQTT Data to FacilityBot"},"content":{"rendered":"\n<p>Node-RED is a programming tool for wiring together <a href=\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/manager-web-portal\/mqtt-integrations\/\">IOT devices<\/a>, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows.<\/p>\n\n\n\n<p>Node-RED can act as a powerful intermediate platform that allows IOT devices and sensors of all kinds to be integrated with FacilityBot\u2019s MQTT broker. Node-RED accepts MQTT, Http, Websocket, TCP and UDP inputs. Functions can be applied to the data injected and formatted to be sent to FacilityBot\u2019s MQTT broker.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Setting up Node-RED<\/strong><\/h2>\n\n\n\n<p>Guidance for Node-RED setup can be found <a href=\"https:\/\/nodered.org\/#get-started\">here<\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Setting up a Node-RED Flow<\/strong><\/h2>\n\n\n\n<p>Set up the \u201cMQTT Out\u201d node with the FacilityBot MQTT broker information found within FacilityBot. In the Connection tab, do not select TLS and use MQTT V3.1 protocol. In the Security tab, enter the MQTT broker Username and Password found within FacilityBot.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"388\" src=\"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/06\/NrLc3L-Z_2-v1kvNYGS9R700OydFgnWgyRQBb2asvGPIKw62YKOESxL3XOBeUKMNVWjFZrpchErEOEoRapSykRDaMTNWNPxilZRLgKQ64zMdXA-WH65AABsc3z_V5IDpQYWpXG4d.png\"><\/p>\n\n\n\n<p>Node-RED allows data to be injected from many protocols and many functions to be applied to the data. <a href=\"https:\/\/www.youtube.com\/channel\/UCQaB8NXBEPod7Ab8PPCLLAA\">Node-RED\u2019s tutorials<\/a> describe the possibilities.<\/p>\n\n\n\n<p>FacilityBot requires MQTT data in the simple format<\/p>\n\n\n\n<p>Topic: A unique token value provided by FacilityBot<\/p>\n\n\n\n<p>Payload: A simple score in a simple JSON format. E.g. {score: 1}<\/p>\n\n\n\n<p>Therefore, a simple Node-RED flow can be set up as below. In this case, the score 4.5 will be received by FacilityBot and FacilityBot can trigger a Request and alert a Responder for follow up.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/06\/GvNbJ5b5uuIpbmdafr9feDjgtvYm-x3wjgWIL6gzwfMhiNhwr42gFxf2jK6ICyCHcRG-yKwAaRncsDyjYnexqrIf6br0j-QcrHjdpYf5_NouDuOATXzxMNlnlok6-ME6yvOzcOZZ.png\" width=\"602\" height=\"473\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node-RED is a programming tool for wiring together IOT devices, APIs and online services in new and interesting ways. It provides a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[46],"class_list":["post-2408","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-integrations"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software<\/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:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software\" \/>\n<meta property=\"og:description\" content=\"Node-RED is a programming tool for wiring together IOT devices, APIs and online services in new and interesting ways. It provides a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/\" \/>\n<meta property=\"og:site_name\" content=\"FacilityBot - Facilities Management Software\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-30T22:51:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/06\/NrLc3L-Z_2-v1kvNYGS9R700OydFgnWgyRQBb2asvGPIKw62YKOESxL3XOBeUKMNVWjFZrpchErEOEoRapSykRDaMTNWNPxilZRLgKQ64zMdXA-WH65AABsc3z_V5IDpQYWpXG4d.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/\",\"url\":\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/\",\"name\":\"Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software\",\"isPartOf\":{\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#website\"},\"datePublished\":\"2021-11-30T04:37:39+00:00\",\"dateModified\":\"2025-06-30T22:51:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.facilitybot.co\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting up Node-RED to send MQTT Data to FacilityBot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#website\",\"url\":\"https:\/\/blog.facilitybot.co\/blog\/\",\"name\":\"FacilityBot - Facilities Management Software\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.facilitybot.co\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#organization\",\"name\":\"FacilityBot - Facilities Management Software\",\"url\":\"https:\/\/blog.facilitybot.co\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/03\/fb_logo.png\",\"contentUrl\":\"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/03\/fb_logo.png\",\"width\":150,\"height\":38,\"caption\":\"FacilityBot - Facilities Management Software\"},\"image\":{\"@id\":\"https:\/\/blog.facilitybot.co\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/sg.linkedin.com\/company\/facilitybot\",\"https:\/\/www.youtube.com\/channel\/UCFykie6GjYNh4fxv2PIv8mA\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software","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:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/","og_locale":"en_US","og_type":"article","og_title":"Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software","og_description":"Node-RED is a programming tool for wiring together IOT devices, APIs and online services in new and interesting ways. It provides a [&hellip;]","og_url":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/","og_site_name":"FacilityBot - Facilities Management Software","article_modified_time":"2025-06-30T22:51:56+00:00","og_image":[{"url":"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/06\/NrLc3L-Z_2-v1kvNYGS9R700OydFgnWgyRQBb2asvGPIKw62YKOESxL3XOBeUKMNVWjFZrpchErEOEoRapSykRDaMTNWNPxilZRLgKQ64zMdXA-WH65AABsc3z_V5IDpQYWpXG4d.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/","url":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/","name":"Setting up Node-RED to send MQTT Data to FacilityBot - FacilityBot - Facilities Management Software","isPartOf":{"@id":"https:\/\/blog.facilitybot.co\/blog\/#website"},"datePublished":"2021-11-30T04:37:39+00:00","dateModified":"2025-06-30T22:51:56+00:00","breadcrumb":{"@id":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.facilitybot.co\/blog\/knowledge-base\/integrations\/setting-up-node-red-to-send-mqtt-data-to-facilitybot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.facilitybot.co\/blog\/"},{"@type":"ListItem","position":2,"name":"Setting up Node-RED to send MQTT Data to FacilityBot"}]},{"@type":"WebSite","@id":"https:\/\/blog.facilitybot.co\/blog\/#website","url":"https:\/\/blog.facilitybot.co\/blog\/","name":"FacilityBot - Facilities Management Software","description":"","publisher":{"@id":"https:\/\/blog.facilitybot.co\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.facilitybot.co\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.facilitybot.co\/blog\/#organization","name":"FacilityBot - Facilities Management Software","url":"https:\/\/blog.facilitybot.co\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.facilitybot.co\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/03\/fb_logo.png","contentUrl":"https:\/\/blog.facilitybot.co\/wp-content\/uploads\/2025\/03\/fb_logo.png","width":150,"height":38,"caption":"FacilityBot - Facilities Management Software"},"image":{"@id":"https:\/\/blog.facilitybot.co\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/sg.linkedin.com\/company\/facilitybot","https:\/\/www.youtube.com\/channel\/UCFykie6GjYNh4fxv2PIv8mA"]}]}},"_links":{"self":[{"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/knowledgebase\/2408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/comments?post=2408"}],"version-history":[{"count":4,"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/knowledgebase\/2408\/revisions"}],"predecessor-version":[{"id":7252,"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/knowledgebase\/2408\/revisions\/7252"}],"wp:attachment":[{"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/media?parent=2408"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/blog.facilitybot.co\/blog\/wp-json\/wp\/v2\/knowledgebase_cat?post=2408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}