Comments on: Raspberry Pi with BME280: Temperature, Humidity, and Pressure Data Logger (Python) https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 05 Jun 2025 18:16:25 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Jürgen https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/#comment-1055014 Thu, 05 Jun 2025 18:16:25 +0000 https://randomnerdtutorials.com/?p=134513#comment-1055014 Danke für das exellente Tutorial. Es loggt sher gut. Die Logs in einer CVS datei zu speichern und graphisch darzustellen werde ich vielleicht alleine wuppen.
Danke für die Mühe.

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/#comment-886359 Fri, 26 Jan 2024 23:42:13 +0000 https://randomnerdtutorials.com/?p=134513#comment-886359 In reply to ATP.

Obrigada pelo feedback.
Vou adicionar à minha lista.
Cumprimentos.
Sara

]]>
By: ATP https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/#comment-886310 Fri, 26 Jan 2024 18:16:33 +0000 https://randomnerdtutorials.com/?p=134513#comment-886310 Olá!

Muito bom, rodou fácil, ótimo tutorial!

Seria interessante também um projeto com interface RPi + python + MySql e PHP.

Abraços aqui do Brasil!

ATP

]]>
By: JB https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/#comment-863233 Sat, 30 Sep 2023 18:31:03 +0000 https://randomnerdtutorials.com/?p=134513#comment-863233 Hi.
If the time on the raspberrypi is correct,
then we might as well use

import datetime

Read sensor data

data = bme280.sample(bus, address, calibration_params)

timenow = datetime.datetime.now().strftime(“%a %d-%m-%Y %H:%M:%S”)

# Print the readings
print((timenow) + " Temp={0:0.1f}ºC, Temp={1:0.1f}ºF, Humidity={2:0.1f}%, Pressure={3:0.2f}hPa".format( temperature_celsius, temperature_fahrenheit, humidity, pressure))

# Save time, date, temperature, humidity, and pressure in .txt file
file.write(timenow + ', {:.2f}, {:.2f}, {:.2f}, {:.2f}\n'.format(temperature_celsius, temperature_fahrenheit, humidity, pressure))

instead of pytz library, or what do you think.

]]>
By: MIGUEL ALEXANDRE WISINTAINER https://randomnerdtutorials.com/raspberry-pi-bme280-data-logger/#comment-863194 Sat, 30 Sep 2023 12:39:37 +0000 https://randomnerdtutorials.com/?p=134513#comment-863194 Sara, talk about AIR QUALITY formula

]]>