Comments on: ESP8266 NodeMCU MQTT – Publish BME680 Temperature, Humidity, Pressure, and Gas Readings (Arduino IDE) https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 08 Feb 2025 22:35:40 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Paul https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-1006406 Sat, 08 Feb 2025 22:35:40 +0000 https://randomnerdtutorials.com/?p=99497#comment-1006406 Could you please demonstrate how to publish multiple payloads for one topic, ie combine all 4 temp, humidity, pressure and R into one topic BME280, rather than 4 separate topics? I’m sure it can be done, I just can’t find a way on the net.

Thank you.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-884580 Wed, 17 Jan 2024 09:56:32 +0000 https://randomnerdtutorials.com/?p=99497#comment-884580 In reply to Brian.

Hi.
Sending MQTT messages in not dependent of any Serial communication.
There must be something related with your code.
Regards,
Sara

]]>
By: Brian https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-883896 Sun, 14 Jan 2024 05:13:44 +0000 https://randomnerdtutorials.com/?p=99497#comment-883896 I have a modified version of your MQTT ESP32 project. I works fine until I turn off the serial port monitoring program. The Raspberry Pi that has Node-Red and Mosquitto remain on. Why would I have to monitor serial traffic to keep the MQTT messages flowing from the ESP32? Using a program call MQTT Explorer I have verified this behavior. Without any other changes, as soon as I relaunch PuTTy (serial terminal program) it all starts working again.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-825104 Tue, 14 Mar 2023 10:33:38 +0000 https://randomnerdtutorials.com/?p=99497#comment-825104 In reply to Rainer Müller-Knoche.

Hi.
Does this work with Arduino IDE?
Regards,
Sara

]]>
By: Rainer Müller-Knoche https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-824724 Sat, 11 Mar 2023 15:34:47 +0000 https://randomnerdtutorials.com/?p=99497#comment-824724 Hello I can’t compile the code, the lines

Ticker mqttReconnectTimer;
Ticker wifiReconnectTimer;
and all correspondig brings up error class ticker has no member once

I am on PlattformIO latest Version and it is not my first project but my first using Ticker
all needed libraries are latest version. After I had these errors in a modified version for dht22 I took the original code 1:1 same errors
Need a hint
thanks
Rainer

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-804097 Sun, 18 Dec 2022 16:23:02 +0000 https://randomnerdtutorials.com/?p=99497#comment-804097 In reply to Bello shehu.

Hi.
Yes, that’s possible.
You might need to use TLS MQTT depending on the broker, and insert the broker username and password to connect.
Regards,
Sara

]]>
By: Bello shehu https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-803781 Fri, 16 Dec 2022 23:20:18 +0000 https://randomnerdtutorials.com/?p=99497#comment-803781 I would like to know if client can publish/subscribe to mosquitto cloud. Because, in the project I am working on, I would like NodeMCU to publish some sensor data to cloud broker, which is subscribed to by ReactJS application to display those values. I would like users to control the NodeMCU through the ReactJS application by clicking some buttons.

]]>
By: Ramon Camiruaga https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-789277 Fri, 07 Oct 2022 12:12:31 +0000 https://randomnerdtutorials.com/?p=99497#comment-789277 Dear Sara,
I would like to help concerning a newvie question

It is possible to add in a sketch (really working fine in a nodemcu esp8266), a new tab that perform another task using some variables from the original ino??

Really I would like to use variables declared that send the data to Wunderground…but wunderground has blocked this service from 21-09-2022 without reasons, so I am trying to download data locally and process by myself.
If I can add a new tab in my sketch sending data to a local file for instance, and perform an include in the original ino, maybe I could process the data like originaly does Wunderground.

If you can tell me how to do it I will be very appreciated
Have a nice day and my best regards
Ramon

]]>
By: Ellard https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-741699 Wed, 27 Apr 2022 07:23:23 +0000 https://randomnerdtutorials.com/?p=99497#comment-741699 I have the sensor online for a few days now.
The value of the gas reading in resistance is obscure to me. Also the suggestion to create a conversion table is doubtful. The curve I have is relatively flat compared with the curve of my SCD30 sensor.
BOSCH the manufacturer has a solution to convert this value but it only runs on more performant systems. (raspi ?)

Take a CCS118 sensor. This one gives you a Co2 value. I just started to test this sensor. It seems to present more or less the same curve as my SCD30 sensor.

Have fun.

]]>
By: Martin Lange https://randomnerdtutorials.com/esp8266-nodemcu-mqtt-publish-bme680-arduino/#comment-592878 Tue, 20 Apr 2021 06:15:41 +0000 https://randomnerdtutorials.com/?p=99497#comment-592878 In reply to Sara Santos.

Hi,
I had the same problem as Rudi. After a long search I noticed, that in the adafruit file bme680.h the default I2C address is 0x77. However, my BME680 boards all have the address 0x76. After changing the entry in the file, your tutorial is working great.
By the way, in the BME680 and Micropython tutorial, the bme680.py file has the same problem.
Greeting
Martin

]]>