/esp8266_telegram_weather_bot

Telegram bot for getting the current weather in the city using the OpenWeatherMap API running on ESP8266

Primary LanguageC++MIT LicenseMIT

ESP8266 Telegram Weather Bot

A Telegram bot for get current weather for city on Open Weather Map API.

A Telegram bot work on ESP8266

image image

Features

  • Simple information for current weather in city

ToDo

  • weather notification.
  • remembering the city
  • sending charts via CharDisplay

Installation & Configuration

  1. Install FastBot in Arduino IDE
  2. Open telegram_bot_weather.ino and change defines
#define WIFI_SSID "ssid" // название Wifi сети
#define WIFI_PASS "pass" // пароль Wifi сети
#define BOT_TOKEN "1234567890:cjfkdshfkjdscnjdskfhjkgnfdjgkfdgnjf" // токен бота, узнать через https://t.me/BotFather
#define OWM_API_KEY "5edd67cb421961279ee47a4f6765f7d9" // API key for OpenWeatherMap, получить здесь https://home.openweathermap.org/api_keys
  1. Compile and run
  2. Enjoy!

Copyright & License