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.2.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.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xaal_netatmo-0.2.tar.gz
Algorithm Hash digest
SHA256 b6abcdc4640e6e4538048f367cf62000470a02dff6811c53f6996122b384ce66
MD5 54ea8669ee25ad290a051b1ad02126b2
BLAKE2b-256 0be8c449acaf000ac2afa25115c3791c36121b2f589f9b49af12ab5f3cfc660a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for xaal_netatmo-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9650157ea8a338e2a374860bd3b89e83d60edf0eecf2dc0033816d9349c9c070
MD5 c055871a174d73a2593d70797fd35819
BLAKE2b-256 7a1df3bd1834141534d0ddb707e7162d8f9c5f425feb7d730d94f4c325c63988

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