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.1.tar.gz (7.6 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.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xaal_netatmo-0.3.1.tar.gz
  • Upload date:
  • Size: 7.6 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.1.tar.gz
Algorithm Hash digest
SHA256 5689ff31ead0c689af693dafc63cf9cd763ff7a3b16d1dedd77094278d076f55
MD5 95d75d4f603b4c0e9d443d921760a554
BLAKE2b-256 21eb30e0acfade3c728b3b98391607a29b6541e5da36a379aedac6acc1fedf2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xaal_netatmo-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11139802cf888bb8f6a66c6a1af7b3f7a93705d28d2fa4a83f1a349f4cfc472b
MD5 8d7df03232befc8e99c480cf8a12bf80
BLAKE2b-256 f8fa261275cfc5ece26e97d0f8ed989644b329f152ef675501a373c34b190408

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