skip to Main Content

RPi: Node-Red: An easier way to use the BME-280

Retrieve data from a bme-280 sensor using node-red, parsing the data using the easybotics bme-280 node.

What you will learn:
Configuring easybotics air-quality sensors,

What you need to know:
Getting started with node-red

Parts List:
Raspberry pi
Internet Connection


First the bme-280 needs to be wired onto the pi.

  • Use a jumper cable to connect the VIN pin on the sensor to the 5v pin on the pi
  • Connect the GND pin from the sensor to a GND pin on the pi
  • Wire the SCL pin on the sensor to ‘SCL’ on the pi
  • Wire the SDA pin on the sensor to ‘SDA’ on the pi

The connection looks like this:


Apart from that the correct nodes need to be installed, this tutorial: shows how to install the bme280 node.

If you don’t have the easybotics airquality nodes already, the same process can be repeated but with ‘easybotics-air-quality’ as the search term instead of ‘node-red-contrib-bme280



Both of the nodes you’ll need can be found by searching for ‘bme’ like this

The settings for Bme280 node can be all be left as default, we just have to drag in the BME280 parser node and hook it up like this.

The BME280 Parser node is designed to take the output from the bme280 node, and convert it into a more readable and usable form.

You can see from the Node Help which outputs are which data-type.



This can be verified using a debug node, here can see the Temperature in Celsius being outputted by the BME280 Parser node.


The Bme280 node needs to be triggered with an inject node, here I’m doing it manually. But it’s easy to create a inject node that triggers automatically every second.

Selecting the Inject node, you can see the options for automatic injection here.


Info on logging this data, or graphing it can be found in the original BME280 tutorial here:


Back To Top