Plugin for supporting Netatmo Weather devices in Pimatic
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
actions.coffee
device-config-schema.coffee
netatmo-config-schema.coffee
netatmo.coffee
package.json

README.md

Pimatic Netatmo plugin

For this plugin to work you need to register an application with netatmo. This only takes a few seconds on the netatmo developer page with your normal netatmo account.

https://dev.netatmo.com/dev/createapp

Just provide a Name and a Description and accept the "terms of use" and click create. You will be immediately presented with the needed credentials.

Example config.json entries:

  "plugins": [
    {
      "plugin": "netatmo",
      "client_id": "1293484deadbeef1112344de",
      "client_secret": "SoM3f4NcyS3crE7fR0mN3t4Tm0",
      "username": "blah@blub.com",
      "password": "TheMostSecurePasswordInTheWorld42"
    }
  ],

  "devices": [
    {
      "id": "netatmo-test",
      "name": "My Netatmo Base",
      "class": "NetatmoBase",
      "device_id": "XX:XX:XX:XX:XX:XX",
      "interval": 60
    },
    {
      "id": "netatmo-otdoor",
      "name": "My Netatmo Outdoor",
      "class": "NetatmoOutdoorModule",
      "device_id": "XX:XX:XX:XX:XX:XX",
      "module_id": "XX:XX:XX:XX:XX:XX",
      "interval": 60
    }
    ,
    {
      "id": "netatmo-wind",
      "name": "My Netatmo Wind Gauge",
      "class": "NetatmoWindGauge",
      "device_id": "XX:XX:XX:XX:XX:XX",
      "module_id": "XX:XX:XX:XX:XX:XX",
      "interval": 60
    }
    ,
    {
      "id": "netatmo-rain",
      "name": "My Netatmo Rain Sensor",
      "class": "NetatmoRainSensor",
      "device_id": "XX:XX:XX:XX:XX:XX",
      "module_id": "XX:XX:XX:XX:XX:XX",
      "interval": 60
    }
  ]

I also added support for NetatmoIndoorModule, NetatmoRainSensor and NetatmoWindGauge but as I don't have the hardware this is completely untested. Feel free to donate hardware.