# Building a Flow for the BME680 what is the set message.payload for the correct sensor?

**URL:** <https://discourse.nodered.org/t/building-a-flow-for-the-bme680-what-is-the-set-message-payload-for-the-correct-sensor/88297>\
**Category:** General\
**Created:** [27 May 2024 11:56 UTC](https://discourse.nodered.org/t/building-a-flow-for-the-bme680-what-is-the-set-message-payload-for-the-correct-sensor/88297 "2024-05-27T11:56:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [27 May 2024 13:06 UTC](https://discourse.nodered.org/t/building-a-flow-for-the-bme680-what-is-the-set-message-payload-for-the-correct-sensor/88297/2 "2024-05-27T13:06:39Z")

</div>

Hi Tim,  
Welcome to the Forum.  
You haven't give us much to go on.  
For example, what is the BME680 connected to?  
The pins on a Raspberry Pi or ESP32 microcontroller, etc.. ?

What language are you using to "talk" to the BME680?  
A Node-RED node or Micro-Python or Arduino, etc.. ?

You might want to read this thread as it explains what a number of users do which is to use a cheap WiFi microcontroller (e.g. ESP32-C3-Super-Mini) to act as a slave to the Raspberry Pi.

> [@BME680 and i2c communication](https://discourse.nodered.org/t/bme680-and-i2c-communication/15527):
>
> Hey, Have anyone managed to connect bme680 or similar i2c sensor in Nodered using i2c contrib node? Can you share the sample flow? I read the sensor datasheet, but looks like my knowledge is limited. I know the i2c adress and sensor is working in python, so wiring is good. I tried various numbers for command and bytes, but the values recieved are not good. Maybe I need to send specific command first, before sensor returns data? I also tried to use exec node, to run the python code directly, …

---

_[View the full topic](https://discourse.nodered.org/t/building-a-flow-for-the-bme680-what-is-the-set-message-payload-for-the-correct-sensor/88297)._
