Part 2: Integrate Telegraf with Home Assistant Using Node-RED and MQTT

In the first part of this tutorial, we set up Telegraf and MQTT to transmit our computer temperature data from our host machine. If you have not yet read that tutorial, you can check it out here!

In this second part, we are going to integrate the MQTT data into Home Assistant. I’m going to use this as an opportunity to discuss some features of Node-RED that I find very useful.

Installing “hass-node-red”

Node-RED Setup

Filtering the MQTT Data

Creating the Entities

Full Node-RED Code

2 thoughts on “Part 2: Integrate Telegraf with Home Assistant Using Node-RED and MQTT”

Leave a Comment