37649244f8d982d9c42f43ea5164a097213ddb23
Arduino weather station
This is a simple weather station based on Arduino Uno R3 and a TE Connectivity's weather hat.
Hardware
- Arduino Uno R3
- TE Connectivity's weather hat
- 16x2 LCD display (optional)
- Raspberry Pi or any other SBC
Software
This project has a couple of library dependencies:
Arduino
Raspberry Pi
- WireGuard (optional, used to link a remote Home Assistant instance)
- systemd (used to prepare the environment on the Home Assistant instance)
- ser2net (used to expose the serial port to the Home Assistant instance)
Installation
-
Flash the Arduino with the
vremenska-postaja.inosketch or flash the includedbuild/vremenska-postaja.ino.hexbinary. -
Set up ser2net on the Raspberry Pi. The configuration file is located in
ser2net.conf. The default port is2000. -
Set up WireGuard and link the Raspberry Pi to a remote Home Assistant instance. (Optional!)
-
Set up socat-remote service on the Home Assistant instance. The service file is located in
socat-remote.service. -
Add the
weather_stationplatform to your Home Assistant instance. The configuration file is located inconfiguration.yaml.
Description
Simple weather station based on TE Connectivity's weather hat and Home Assistant integration
Languages
C++
94.6%
Shell
5.4%