Original Reference & Inspiration
- Create directory to store your file(s)
- Install required packages
bme280smbus2 - Set
addressvariable (try 0x76, 0x78)- If needed, run
sudo i2cdetect -y 1to get it
- If needed, run
- Set
refresh_intervalto delay updates, in seconds
python sensor.pyor your local equivalent
- Keyboard interrupt
ctrl+C, or - Remove power cable from RPI
{
"Timestamp": "2024-08-05 21:28:51",
"Humidity": "55.0%",
"Pressure": "979.15 hPa (Low)",
"Temperature": {
"Celsius": "27.47",
"Fahrenheit": "81.45"
}
}