Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Italian Translation #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MMM-Netatmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ Module.register("MMM-Netatmo", {
de: "translations/de.json",
en: "translations/en.json",
fr: "translations/fr.json",
it: "translations/it.json",
cs: "translations/cs.json",
nb: "translations/nb.json",
nl: "translations/nl.json",
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# MagicMirror-Netatmo-Module

A module to integrale informations from a Netatmo weather station into the [MagicMirror](https://github.com/MichMich/MagicMirror).
I Add The Italian Translation

![MMM-Netatmo full display](https://github.com/RaymondMolenaar/MMM-Netatmo/blob/master/MMM-Netatmo_full.png)

Expand All @@ -21,6 +22,10 @@ To use this module, clone this repository to your __modules__ folder of your Mag

`git clone https://github.com/RaymondMolenaar/MMM-Netatmo.git MMM-Netatmo`

`cd ~/MagicMirror/modules/MMM-Netatmo`

`npm install --force`

Now just add the module to your config.js file ([config entries](#configuration)).

### Access Your Data
Expand Down Expand Up @@ -63,8 +68,8 @@ The module needs the default configuration block in your config.js to work.
config: {
clientId: '', // your app id
clientSecret: '', // your app secret
accessToken: '', // your generated access token
refreshToken: '', // your generated refresh token

location: "germany/berlin", //for AirQuality
updateIntervalAirQuality: 600, // in secondes = every 30 minutes
updatesIntervalDisplay: 60, //refresh internal
Expand All @@ -91,7 +96,8 @@ The following properties can be configured:
|---|---|
|clientId|The ID of your Netatmo [application](https://dev.netatmo.com/dev/listapps).<br><br>This value is **REQUIRED**|
|clientSecret|The app secret of your Netatmo [application](https://dev.netatmo.com/dev/listapps).<br><br>This value is **REQUIRED**|
|refreshToken|The generated refresh token you got from the POST request to the auth api.<br><br>This value is **REQUIRED**|
|accessToken| The generated access token you got from dev.netatmo.com request to the auth api.<br><br>This value is **REQUIRED**|
|refreshToken|The generated refresh token you got dev.netatmo.com request to the auth api.<br><br>This value is **REQUIRED**|
|updatesIntervalDisplay|How often to check if netatmo datas needs to be updated? (Minutes) No Netatmo server request with this value. Netatmo request minimum every 11 min.<br>Data is updated by netatmo every 10 minutes.<br><br>**Default value:** `1`|
|moduleOrder|The rendering order of your weather modules, ommit a module to hide the output.<br><br>**Example:** `["Kitchen","Kid's Bedroom","Garage","Garden"]` <br>Be aware that you need to use the module names that you set in the netatmo configuration.|
|location|For AirQuality display. Use the part behind http://aqicn.org/city/ for your location. For example http://aqicn.org/city/netherland/utrecht/griftpark/<br><br>**Example:** `'germany/berlin'`|
Expand Down Expand Up @@ -138,6 +144,8 @@ or in MMM-config
```

Update 22-03-2020: Added Horizantal (row) View
Update 12-06-2020: Added Italian Translation
Update 27-01-2024: Update package.json for compatibilty with MM 2.26 and Node 20.11.0

## Some Screenprints
![MMM-Netatmo full display](https://github.com/RaymondMolenaar/MMM-Netatmo/blob/master/MMM-Netatmo_full.png)
Expand Down
Loading