https://github.com/abarhub/gotemp
https://github.com/abarhub/gotemp
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abarhub/gotemp
- Owner: abarhub
- Created: 2025-05-17T14:10:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-17T15:09:07.000Z (about 1 year ago)
- Last Synced: 2025-05-17T15:35:09.236Z (about 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pour Builder
```shell
set GOOS=linux
set GOARCH=arm
set GOARM=5
go build -o out/gotemp
```
ou àvec just
`just build`
## Installation du service
Installation
```shell
sudo cp /usr/rep/gotemp.service /etc/systemd/system/gotemp.service
sudo systemctl enable gotemp.service
sudo systemctl start gotemp.service
```
Voir l'état
```shell
sudo systemctl status gotemp.service
```
Consulter les logs
```shell
journalctl -u gotemp.service
```
pour éteindre la lumiere du raspberry pi zero 2:
```shell
echo 0 | sudo tee /sys/class/leds/ACT/brightness
```