Waybar Netatmo Weather Module provides a simple visualization of your personal Netatmo Weather Station modules.
- Displays temperature, humidity, and CO₂ levels for all modules
- Displays a warning when a module's CO₂ level exceeds 1000 ppm
- Displays a warning when a module's battery level drops below 20%
- PHP 8.4+
- Waybar
- Netatmo Smart Home Weather Station
- Head to https://dev.netatmo.com/apps and create a new app.
- Generate a new token with the scope
read_station. - Save the generated
Refresh Token.
-
Clone repository
git clone https://github.com/simonellensohn/waybar-netatmo-weather-module.git
-
Install dependencies:
composer install
-
Set up the environment file and enter your Netatmo app information:
cp .env.example .env
-
Execute the script using the generated refresh token to set up and test the credentials:
php waybar-netatmo-weather-module netatmo:print-modules "[refresh_token]" -
Configure your Waybar module:
// ~/.config/waybar/config.jsonc "custom/netatmo": { "exec": "php /path/to/waybar-netatmo-weather-module netatmo:print-modules", "return-type": "json", "interval": 300, "format": "{}", "tooltip": true }
-
Reload Waybar:
killall -SIGUSR2 waybar
Waybar Netatmo Weather Module is open-source software licensed under the MIT license.
