# \[OBSOLETE\] Netatmo Weather Station

**URL:** <https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133>\
**Category:** Community Created Drivers\
**Tags:** weather, smartapp\_weather, dth\_sensors, dth\_weather, netatmo\
**Created:** [February 16, 2017, 3:50pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133 "2017-02-16T15:50:37Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![RudiP](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@RudiP](https://community.smartthings.com/u/RudiP)\
**Post date:** [February 22, 2017, 12:10am UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/21 "2017-02-22T00:10:27Z")

</div>

I’m having the same issue. It accepts the Netatmo credentilas (i even get an e-mail from Netamo telling me that someone has logged into my account) and after pressing “Yes” to accept the integration it fails.  
From the Logs it looks like “[api.netamo.com](http://api.netamo.com)” is refusing the connection (or not responding in time):

```
2‎:‎46‎:‎11‎ ‎PM: error org.apache.http.conn.HttpHostConnectException: Connect to api.netatmo.com:443 [api.netatmo.com/195.154.172.147, api.netatmo.com/195.154.179.238] failed: Connection refused @ line 149 
2:‎45‎:‎05‎ ‎PM: debug In oauthInitUrl 
‎2‎:‎45‎:‎03‎ ‎PM: error java.util.concurrent.TimeoutException: Execution time exceeded 20 app execution seconds: 18750651696863 @ line 461 
‎2‎:‎45‎:‎03‎ ‎PM: debug Error: org.apache.http.conn.ConnectTimeoutException: Connect to api.netatmo.com:443 [api.netatmo.com/195.154.172.147, api.netatmo.com/195.154.179.238] failed: connect timed out 
‎2‎:‎44‎:‎43‎ ‎PM: debug In refreshToken 
‎2‎:‎44‎:‎43‎ ‎PM: debug In getDeviceList 
‎2‎:‎44‎:‎43‎ ‎PM: debug In listDevices 
‎2‎:‎44‎:‎40‎ ‎PM: debug Show the login page 
‎2‎:‎44‎:‎40‎ ‎PM: debug About to create access token. 
‎2‎:‎44‎:‎39‎ ‎PM: debug In authPage
```

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [February 22, 2017, 9:52am UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/22 "2017-02-22T09:52:35Z")

</div>

I have added the changes made to the official smartapp code, @RudiP @the2352 @MacBenTosh can you please update to the latest version and try again?

---

<div class="post-metadata">

**Author:** ![the2352](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/the2352/32/11984_2.png) [@the2352](https://community.smartthings.com/u/the2352)\
**Post date:** [February 22, 2017, 5:30pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/23 "2017-02-22T17:30:02Z")

</div>

Still having issues…receiving the same error I shared above.

12:26:29 PM: error java.util.concurrent.TimeoutException: Execution time exceeded 20 app execution seconds: 86029111354982 @ line 169  
12:26:29 PM: debug callback: Call failed org.apache.http.conn.ConnectTimeoutException: Connect to [api.netatmo.com:443](http://api.netatmo.com:443) [[api.netatmo.com/195.154.172.147](http://api.netatmo.com/195.154.172.147), [api.netatmo.com/195.154.179.238](http://api.netatmo.com/195.154.179.238)] failed: connect timed out  
12:25:46 PM: debug In oauthInitUrl  
12:25:46 PM: debug Show the login page  
12:25:46 PM: debug In authPage  
12:25:44 PM: debug Show the login page  
12:25:44 PM: debug In authPage  
12:25:37 PM: debug Show the login page  
12:25:37 PM: debug In authPage  
12:25:03 PM: debug in fail  
12:25:03 PM: debug callback: Call failed org.apache.http.conn.HttpHostConnectException: Connect to [api.netatmo.com:443](http://api.netatmo.com:443) [[api.netatmo.com/195.154.172.147](http://api.netatmo.com/195.154.172.147), [api.netatmo.com/195.154.179.238](http://api.netatmo.com/195.154.179.238)] failed: Connection refused  
dcc5f086-5318-4b0b-a691-430eeb879e20 12:24:11 PM: debug In oauthInitUrl  
12:24:10 PM: debug Show the login page  
12:24:10 PM: debug In authPage  
12:24:01 PM: debug Show the login page  
12:24:01 PM: debug About to create access token.  
12:24:01 PM: debug In authPage

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [February 22, 2017, 6:45pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/24 "2017-02-22T18:45:28Z")

</div>

I’m sorry, I’m just not sure why this works in the UK and not the US, looks like there is some problems with oAuth identification but I cant see whats wrong

---

<div class="post-metadata">

**Author:** ![einars](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/einars/32/48018_2.png) [@einars](https://community.smartthings.com/u/einars)\
**Post date:** [February 22, 2017, 10:27pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/25 "2017-02-22T22:27:55Z")

</div>

and @cscheiene might be this? from [https://status.smartthings.com/](https://status.smartthings.com/)

 ![](https://global.discourse-cdn.com/smartthings/original/3X/8/2/82f56d47ffa425dbcc19b21a14d0eb80f11ec816.jpg)

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [February 23, 2017, 10:54am UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/26 "2017-02-23T10:54:33Z")

</div>

Probably, have to wait and see until Smartthings fixes their issues.

---

<div class="post-metadata">

**Author:** ![Townsmcp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/townsmcp/32/57996_2.png) [@Townsmcp](https://community.smartthings.com/u/Townsmcp)\
**Post date:** [February 28, 2017, 7:25pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/27 "2017-02-28T19:25:44Z")

</div>

@cscheiene would it be possible to add the battery levels to the tiles for the sensors? E.g. Outdoor module, rain gauge, wind gauge etc? That way it should be possible to report on low battery via CoRE or something. Just a suggestion.  
Great update by the way

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [February 28, 2017, 8:13pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/28 "2017-02-28T20:13:15Z")

</div>

Yes, the battery status should be available from the Netatmo API. It’s on my to do list, I will try to add it when I have the time 😄

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [March 2, 2017, 2:46pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/30 "2017-03-02T14:46:14Z")

</div>

@RudiP @the2352 @MacBenTosh I have implemented updates from the official github code. If you want you can give it a try.

By the way, Im seeing the same error messages when doing testing and polling/refreshing very often. Looks like Netatmo is blocking the connection. If I then wait a while and leave it alone, it returns to normal

---

<div class="post-metadata">

**Author:** ![the2352](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/the2352/32/11984_2.png) [@the2352](https://community.smartthings.com/u/the2352)\
**Post date:** [March 2, 2017, 6:53pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/31 "2017-03-02T18:53:11Z")

</div>

Eureka! Its working, connected and all my devices are showing in ST (Main, Outdoor, Rain, & Wind). Great work & thank you!

One request - Could you add MPH (miles per hour) for the wind module?

Edit: Cancel the MPH request. I was able to adjust the SmartApp to reflect MPH

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [March 2, 2017, 7:57pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/32 "2017-03-02T19:57:41Z")

</div>

Great!

I have just added miles per hour and knots in the latest version

---

<div class="post-metadata">

**Author:** ![MacBenTosh](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@MacBenTosh](https://community.smartthings.com/u/MacBenTosh)\
**Post date:** [March 2, 2017, 8:56pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/33 "2017-03-02T20:56:34Z")

</div>

![](https://global.discourse-cdn.com/smartthings/original/3X/c/c/cc5efac2b53331910f343886cd974ac07ddd4523.PNG)

Smartapp update?

---

<div class="post-metadata">

**Author:** ![the2352](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/the2352/32/11984_2.png) [@the2352](https://community.smartthings.com/u/the2352)\
**Post date:** [March 2, 2017, 8:58pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/34 "2017-03-02T20:58:57Z")

</div>

From post #1

> [@cscheiene](#):
>
> The smartapp can be found here:
> 
> [https://github.com/cscheiene/SmartThingsPublic/tree/master/smartapps/cscheiene/netatmo-connect-modified.src](https://github.com/cscheiene/SmartThingsPublic/tree/master/smartapps/cscheiene/netatmo-connect-modified.src)
> 
> And the DTH:
> 
> [https://github.com/cscheiene/SmartThingsPublic/tree/master/devicetypes/cscheiene](https://github.com/cscheiene/SmartThingsPublic/tree/master/devicetypes/cscheiene)

---

<div class="post-metadata">

**Author:** ![MacBenTosh](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@MacBenTosh](https://community.smartthings.com/u/MacBenTosh)\
**Post date:** [March 2, 2017, 9:01pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/35 "2017-03-02T21:01:07Z")

</div>

What did you change for mph?

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [March 2, 2017, 9:04pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/36 "2017-03-02T21:04:16Z")

</div>

If you are on the latest version, mph can be selected from the smartapp. (same place where you add modules)

 ![](https://global.discourse-cdn.com/smartthings/original/3X/6/f/6f1fbf5d5683b0fda0a94269ac30c59fa83f96a1.png)

---

<div class="post-metadata">

**Author:** ![MacBenTosh](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@MacBenTosh](https://community.smartthings.com/u/MacBenTosh)\
**Post date:** [March 2, 2017, 9:14pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/37 "2017-03-02T21:14:09Z")

</div>

So weird the non modified works for me. The modified sticks on login.

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [March 2, 2017, 9:18pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/38 "2017-03-02T21:18:20Z")

</div>

I would delete all the dth and smartapp from me. After all the updates I had problems logging in also, just getting errors. Had to start over and do a clean install

---

<div class="post-metadata">

**Author:** ![MacBenTosh](https://avatars.discourse-cdn.com/v4/letter/m/6a8cbe/32.png) [@MacBenTosh](https://community.smartthings.com/u/MacBenTosh)\
**Post date:** [March 2, 2017, 9:22pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/39 "2017-03-02T21:22:10Z")

</div>

My issue is I don’t follow directions well. 😛

---

<div class="post-metadata">

**Author:** ![tkljr](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@tkljr](https://community.smartthings.com/u/tkljr)\
**Post date:** [March 2, 2017, 9:59pm UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/40 "2017-03-02T21:59:53Z")

</div>

> [@cscheiene](#):
>
> [https://graph.api.smartthings.com](https://graph.api.smartthings.com)

Thanks so much for your work on this. I’m in the USA and following your directions worked fine for me.

The Basestation and Outside modules show the min & max temperatures in deg C and the Basestation shows pressure in mb. (current temps are displayed in deg F). Is there a way to change those readings to F and inches?

Thanks,

Tom

---

<div class="post-metadata">

**Author:** ![cscheiene](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@cscheiene](https://community.smartthings.com/u/cscheiene)\
**Post date:** [March 3, 2017, 7:30am UTC](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133/41 "2017-03-03T07:30:16Z")

</div>

I have just uploaded a new version of the smartapp with C to F conversion for min/max temp 🙂

Its also possible to convert the pressure, I will add it to my to do list 😁

[Previous page](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133.md?page=1)

[Next page](https://community.smartthings.com/t/obsolete-netatmo-weather-station/78133.md?page=3)
