Day: March 28, 2023

services

Prometheus ProbePush on a Raspberry Pi with a SI7021

Deploy a bunch of RPi Zero W’s equipped with SI7021’s around the house and get ready to monitor your air! #!/usr/bin/python3 import smbus import time import requests import platform bus = smbus.SMBus(1) # SI7021 address, 0x40(64) # Read data, 2 bytes, Humidity MSB first rh = bus.read_i2c_block_data(0x40, 0xE5, 2) #what really happens here is that […]

Read More