///
The `air-quality` repository contains a Python-based project designed to provide automated air quality updates for Phnom Penh, Cambodia, via a Telegram bot. The primary goal is to keep users informed
68 views
~68 views from guests
Guest views are estimated from total page views. These include anonymous visitors and users who weren't logged in when they viewed the page.
The air-quality repository contains a Python-based project designed to provide automated air quality updates for Phnom Penh, Cambodia, via a Telegram bot. The primary goal is to keep users informed about the current air quality conditions and offer relevant advice in multiple languages.
The core functionality revolves around the intell1slt_bot Telegram bot, which periodically fetches air quality data for Phnom Penh and disseminates this information to a designated Telegram chat. It aims to raise awareness and provide actionable guidance based on the Air Quality Index (AQI).
.png files assumed to be in a ./labels/ directory), visually representing the current category.pyTelegramBotAPI library to send messages and photos to a Telegram chat.The bot.py script runs continuously, operating on a time-based loop:
keys.json file to persist the aqius_prior value between runs, ensuring accurate change detection.While an openweather.py file exists in the repository for fetching OpenWeatherMap API data and calculating AQI based on pollutant concentrations, this functionality is not integrated into the main bot.py and thus not part of the current Telegram bot's operational workflow.