Skip to main content

Netatmo Weather Station

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xaal_netatmo-0.3.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xaal_netatmo-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file xaal_netatmo-0.3.0.tar.gz.

File metadata

  • Download URL: xaal_netatmo-0.3.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for xaal_netatmo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 87b2d8dc1efbae4151f199bca6f62f19e2e7fbdb4747c3f5167ca96b3f0546d0
MD5 2d52188275838826ed7d00867ecbe30e
BLAKE2b-256 11012302c1958b6e7ec020c656940eb304a68761ba2adf66012e4fa5de41b6ba

See more details on using hashes here.

File details

Details for the file xaal_netatmo-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: xaal_netatmo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for xaal_netatmo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d938e1ca11e3afbae9b4f53b9e4feb7ee6b03ef8bdd3ba0b9e455f90057a22a
MD5 ba45b143e54fca8665a1739fc6a1f604
BLAKE2b-256 9bc231083b366e29c43213b4b8aedf65f47013112146f6c36c3c86c769e28616

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page