SmartThings Community

[MODIFIED] Netatmo Weather Station

weather
smartapp_weather
dth_sensors
dth_weather
netatmo

#246

Is this the weather station app or the home coach app?


#247

That’s for the Home Coach app. The Weather station works fine with the same credentials


#248

If you got the weather station to work , then you should be able to get the home coach working.

Double check your inputs. Make sure there is no space before or after the client id/secret and url.
Delete and start over again


(Joel W) #249

@cscheiene For the health Coach, do I have to do the following. Put the Client ID and secret code in the settings of the parent app? Do I have to enable OAuTH? Thanks.


#250

Yes and yes


(Joel W) #251

Thank you very much.


(Curly Tailed Buffalo) #252

I am working on modifying this smartapp to include:

  1. the weather stuff it currently does
  2. the home coach stuff from @SBDOBRESCU
  3. the welcome and presence cameras
    I am wondering, should I make this as a seperate branch, or can/should I use git to push to your repo when its completed?
    It uses mostly your code and @SBDOBRESCU with some minor changes (mostly additional methods to deal with the cameras)

#253

Sounds great!

I think we should combine everything and keep it one place to make it easier for users to find, update and get help.

Maybe the easiest thing is to continue on this community thread and repo?


(Curly Tailed Buffalo) #255

Sounds good that is what I was thinking since this thread seems to have a good size netatmo community. Just didnt wanna step on anyones toes :slight_smile:

The one question I have, and this could be me being bad with github, but whenever I try to fork your repo it forks the default smartthings community repo. I assume I am doing something wrong?


(Joel W) #256

I am having a lot of trouble. I installed the DTH and SmartApp no errors. I go to the marketplace and click on Netamo connect it opens, I log in, say yes to the integration then I get Java error. I checked my client ID secret and URL all seem correct. Can you please steer me in the correct direction. I am on IOS.


#257

I dont know, im not a super user on github :grin:

I think I originally forked from the default Smartthings repo, I then deleted all the stuff I did not use, maybe that’s why? Do my stuff also show when you fork, or only Smartthings stuff?


#258

Can you have livelog open when you get this?


(Juris Ducens) #259

Hi, cscheiene!
I have been using your Netatmo [Modified] smartapp and DTH successfully for some time and everything was fine.
Till yesterday when I deleted and tried install smartapp and DTH once again.
Smartapp is successfully getting till Netatmo login page, but then following error is displayed

Some error message as joelw135 was getting.
Live log:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug getChildDevices(false), children=0
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug apiGet: Call failed groovyx.net.http.HttpResponseException: Forbidden
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug Refreshing station data
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:05:11: debug Polling
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:15: debug getChildDevices(false), children=0
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:15: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:13: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:13: debug apiGet: Call failed groovyx.net.http.HttpResponseException: Forbidden
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:12: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:11: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:11: debug Refreshing station data
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 13:00:11: debug Polling
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:56:48: error groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:52: debug In oauthInitUrl
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug apiGet: Call failed groovyx.net.http.HttpResponseException: Forbidden
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug Error: groovyx.net.http.HttpResponseException:
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug In refreshToken
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug Refreshing station data
fe53876e-6e7a-4f32-ae16-e8fd38e42b5f 12:55:50: debug Listing devices

Could you help, please?


(Joel W) #260

Here is the log from IDE


#261

Can you guys check that you have OAuth enabled?


(Joel W) #262

I got it working, I had to use Na02 shard, strange since I am not on that. But it works. Thank you.


(Joel W) #263

OK looks like temperature and humidity have not updated at all from this morning.

UPDATE: Removed app and started over with a different chard. I will see what happens later.

All working with new URL.


(Juris Ducens) #264

Hi!

It’s working again! When reinstalling - it’s important to remove smartapp not only from phone (via IDE/My Locations/Installed SmartApps/Edit/Unistall), but completly remove from IDE.


(Joel W) #265

What I found very interesting is when I did the original install and had to add my SmartThings URL, it wouldn’t take it. I received JAVA error. When I tried a URL not mine it worked for the install, but not updating. So after I removed the Smart app completely, I used the URL I tried originally many, times. and it worked. Now that I have it up and running I will invest in the wind and rain sensors. My big concern is it the community I live in we are not allowed to install a pole for the sensors. So will it work if placed 3 foot off the ground on my patio stone wall?


(Juris Ducens) #266

I have only rain sensor and outdoor module. Rain sensor is fixed on the edge of terrace roof. Outdoor module - under terrace roof (to avoid direct sunlight). Key is to have NetAtmo base unit not far from rain sensor or outdoor module. In my case distance is around 5m (16.4 ft). Rain module is showing signal strength 3 out of 5 bars, outdoor module - 4/5.