Skip to content

This Mac app displays weather information about the Netatmo weather station you have at home

License

Notifications You must be signed in to change notification settings

glongrais/Netatmo-Weather-App

Repository files navigation

Netatmo-Weather-App

This Mac app displays weather information about the Netatmo weather station you have at home. The app uses the Netatmo API to fetch the data.

License: MIT

Requirements

  • MacOS 13 or later
  • A Netatmo Weather Station
  • A Netatmo account and API key

Credentials

To set up credentials for your Netatmo weather station, follow these steps:

  1. Visit the Netatmo Developer website and log in with the account you registered your weather station.

  2. Go to My apps to find your clientId and clientSecret.

  3. Use the Token generator in the same section to generate your accessToken and refreshToken.

  4. Navigate to My Account > Settings > Manage my home to find your weather station's deviceId (MAC address).

  5. Rename the file NetatmoCredentials.swift.txt to NetatmoCredentials.swift.

  6. Replace the placeholders in NetatmoCredentials.swift with your credentials:

struct NetatmoCredentials {
    static var accessToken = "YOUR_ACCESS_TOKEN"
    static let refreshToken = "YOUR_REFRESH_TOKEN"
    static let clientId = "YOUR_CLIENT_ID"
    static let clientSecret = "YOUR_CLIENT_SECRET"
    static let deviceId = "YOUR_DEVICE_ID"
}

Development

This app was developed only for learning purposes and is not an official Netatmo app. It was created as a personal project to explore the use of the Netatmo API and macOS development.

Ressources

Getting started with Earthquakes, official Apple tutorial.
Netatmo API

Contributing

We welcome contributions to this project. If you would like to contribute, please fork the repository and submit a pull request.

License

This app is released under the MIT License. See LICENSE for details.

About

This Mac app displays weather information about the Netatmo weather station you have at home

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages