Eedomus and Netatmo Weather Station

From eedomus - Documentation

Jump to: navigation, search

Contents

Introduction

The Netatmo Weather Station may be associated with your eedomus box through its API.

You will then see the values of ​​different sensors (temperature, humidity, CO2, ...) on your eedomus account.

You can then use the rule engine eedomus to implement alerts, specific actions, depending on the evolution of such data.

Setting

Click Configuration / Add or remove a device / Add another type of device / Netatmo / create

Click on the link in order to get your OAuth authentication code.

Once you have obtained code, copy / paste it into the configuration of your device and click eedomus Create

Your sensors Netatmo now appear in the room that was assigned to them!

To go further

If you have additional stations or modules as the gauge, it is possible to recover their information.

Update Netatmo script for eedomus

To make sure the script netatmo_oauth.php on your box is updated, the easiest way is to click on 'Configuration / Add or remove a device / Add another type of device / Netatmo / create '

This will deploy the latest version of the script netatmo_oauth.php on your eedomus box, you may then click on Delete because you probably will not need this new device complete Netatmo.

(Optional) Check the version of the script for Netatmo eedomus

To know the version of the script or simply discover the content that is freely editable, go to the page of Scripts eedomus your box:

 http://IP_OF_YOUR_EEDOMUS/script/

And click on Source of the script netatmo_oauth.php, the version number is indicated in the comments present top of the file.

Creating a new sensor Netatmo

  1. Select a secondary channel Netatmo your existing device (eg humidity)
  2. Click on Duplicate
  3. Change the name, unit, the image according to your wishes
  4. Click on the link Test (below the path XPath) then click the button Test
  5. You will know and return the XML script for your Netatmo eedomus
  6. Customize the path XPath to read your additional sensor (eg. /netatmo/extension_2/rain1)
  7. See the path XPath in the device previously duplicated
  8. Click on Save
  9. The data on your new device should appear at the next polling interval for eedomus Netatmo script (by default every 10 minutes)

Rain information

Three rain data are available : rain (instant mesure), rain1 (in mm/h over the last hour), rain24 (mm/day beginning 00H00)

Using 2 weather stations

The XPath is modified. Here is an example for the temperature of the indoor module.

For the first station, it is /netatmo/internal/temperature

For a second station, use /netatmo/device_1/temperature

Script

This connected object uses a script that is deployed automatically on your box eedomus.