*/5 * * * * python3 /home/pi/dht22.py > /dev/null 2>&1
$ go mod download
$ GOOS=linux GOARCH=arm GOARM=5 CGO_ENABLED=1 go build -v -o atmohome main.go
- / - show keyboard
- last - presents last measurement
- day - renders graph with measurements during last 24 hours
[Unit]
Description=Atmohome
DefaultDependencies=no
After=network.target
[Service]
WorkingDirectory=/home/pi
Type=simple
RemainAfterExit=yes
ExecStart=/home/pi/atmohome
Restart=on-failure
RestartSec=30s
[Install]
WantedBy=multi-user.target