https://github.com/realfatcat/raspiweatherbot
Telegram bot that sends weather sensor data from Raspberry Pi to authorized users.
https://github.com/realfatcat/raspiweatherbot
bme280 bot raspberry-pi telegram
Last synced: 3 months ago
JSON representation
Telegram bot that sends weather sensor data from Raspberry Pi to authorized users.
- Host: GitHub
- URL: https://github.com/realfatcat/raspiweatherbot
- Owner: RealFatCat
- License: mit
- Created: 2026-01-07T12:03:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-18T19:05:30.000Z (5 months ago)
- Last Synced: 2026-01-19T02:59:59.875Z (5 months ago)
- Topics: bme280, bot, raspberry-pi, telegram
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi Weather Bot
Telegram bot that sends weather sensor data from Raspberry Pi to authorized users.
It was written to use with [RaspiWeather project](https://github.com/RealFatCat/raspiweather).
## Install
```bash
git clone https://github.com/realfatcat/raspiweatherbot.git
cd raspiweatherbot
# To build for current architecture
make build
```
To build for raspberry pi, instead of `make build`, run make for your raspberry pi architecture, `make arm6` for example.
Or just run `make build-all` to build binaries for every arhitecture.
## Config
Set env vars:
- `TELEGRAM_BOT_TOKEN`
- `TELEGRAM_AUTHORIZED_USERS` (comma-separated IDs of allowed users)
Unautorized requests are logged with user IDs, so to determine your user id, just send `/start` to bot - your ID will be in the logs of the app.
## Run
```bash
./raspiweatherbot
```
### Help
```
./raspiweatherbot -h
```
## Usage
Send `/start` in Telegram, click "🌤️ Get Weather Data".