Skip to content

Instantly share code, notes, and snippets.

@wgottesheim
Last active January 9, 2026 02:53
Show Gist options
  • Select an option

  • Save wgottesheim/7a5629832e42a736159c7ce4a593dee3 to your computer and use it in GitHub Desktop.

Select an option

Save wgottesheim/7a5629832e42a736159c7ce4a593dee3 to your computer and use it in GitHub Desktop.
Steps to setup Raspberry Pi Zero for temperature monitoring in the garage
* add line to config.txt: "enable_uart=1" to enable serial console (https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/enabling-serial-console)
* Create file in / called "ssh"
* Create file wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB
network={
ssid="SSID"
psk="Your WPA/WPA2 security key"
key_mgmt=WPA-PSK
}
* sudo raspi-config - interfacing options - enable I2C
* sudo apt update && sudo apt install i2c-tools
* git clone https://github.com/pimoroni/py-smbus and run setup.py from library directory
* add user to i2c group
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment