Skip to main content

This package provides an xAAL gateway for Netatmo Weather Station devices, allowing you to integrate your Netatmo weather data into the xAAL home automation ecosystem.

Features

  • OAuth 2.0 Authentication: Modern authentication with automatic token refresh

  • Multi-module Support: Main indoor station and all additional modules

  • Real-time Data: Weather data updated every 5 minutes

  • Auto-discovery: Automatic detection and configuration of Netatmo modules

  • Debug Mode: Optional verbose logging for troubleshooting

Supported Devices

  • NAMain: Main indoor station (temperature, humidity, pressure, CO2, noise, WiFi)

  • NAModule1: Outdoor module (temperature, humidity, battery)

  • NAModule2: Wind gauge (wind strength, angle, gusts, battery)

  • NAModule3: Rain gauge (rain measurement, battery)

  • NAModule4: Additional indoor module (temperature, humidity, CO2, battery)

Configuration

Edit ~/.xaal/xaal/netatmo.ini with your Netatmo credentials

Getting OAuth Tokens

  1. Go to https://dev.netatmo.com/apps

  2. Create an application or use existing one

  3. Generate access and refresh tokens

  4. Copy them to your configuration file

Architecture

The gateway consists of:

  • TokenManager: Handles OAuth 2.0 tokens with automatic refresh

  • API: Netatmo API client with optimized token usage

  • Gateway: Main xAAL device management

  • Modules: Individual sensor modules for each Netatmo device

Troubleshooting

No data received: 1. Check internet connection 2. Verify Netatmo station is online 3. Validate OAuth tokens are correct 4. Enable debug mode: debug = True

Token errors: 1. Regenerate tokens from Netatmo developer portal 2. Update configuration file 3. Restart the gateway

Module not detected: 1. Ensure module is paired with main station 2. Check module battery 3. Verify RF signal strength

License

GPL v3 License - see LICENSE file for details.

Metadata

Release files for xaal.netatmo 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xaal.netatmo 0.3.1
File Size Uploaded
xaal_netatmo-0.3.1.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xaal.netatmo 0.3.1
File Interpreter ABI Platform
xaal_netatmo-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / xaal_netatmo-0.3.1.tar.gz

Download URL xaal_netatmo-0.3.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5689ff31ead0c689af693dafc63cf9cd763ff7a3b16d1dedd77094278d076f55
BLAKE2b-256 checksum
How to use checksums
21eb30e0acfade3c728b3b98391607a29b6541e5da36a379aedac6acc1fedf2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / xaal_netatmo-0.3.1-py3-none-any.whl

Download URL xaal_netatmo-0.3.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11139802cf888bb8f6a66c6a1af7b3f7a93705d28d2fa4a83f1a349f4cfc472b
BLAKE2b-256 checksum
How to use checksums
f8fa261275cfc5ece26e97d0f8ed989644b329f152ef675501a373c34b190408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page