Plugin has stopped working
Re: Plugin has stopped working
I have no idea where the app.netatmo.com is coming from. I've checked my code and ALL the calls are api.netatmo.com. Is there any reason you're not using the latest version of the plugin?
Plugin has stopped working
Actually I didnt check if there is a newer version than what is published in plugin store! Thanks for the headsup!racarter wrote:I have no idea where the app.netatmo.com is coming from. I've checked my code and ALL the calls are api.netatmo.com. Is there any reason you're not using the latest version of the plugin?
I will check it out later tonight and get back to you!
Re: Plugin has stopped working
Hmm, isnt 2022.4.9 the latest version?!? That is the latest release on plugin store.racarter wrote:I have no idea where the app.netatmo.com is coming from. I've checked my code and ALL the calls are api.netatmo.com. Is there any reason you're not using the latest version of the plugin?
I actually noticed that reflector is required so that seems to be problem since I dont have one. Funny that it worked till yesterday just fine…
Re: Plugin has stopped working
My bad - I'm running 2024.0.0 but haven't released it because it just contains a couple of minor cosmetic fixes.
I'm afraid that due to Netatmo changing their authorisation method a reflector is required in order that Netatmo has a URI to which to send the authorisation confirmation; I see no way around this. There was a discussion about this issue: viewtopic.php?f=109&t=26430&p=212748&hi ... RL#p212748
A reflector is also needed for webhooks, although that is only an issue if you have doorbells, cameras or smoke alarms.
If your plugin has continued to work until recently I can only surmise that you haven't needed to reauthorise using the 'new' method.
I'm afraid that due to Netatmo changing their authorisation method a reflector is required in order that Netatmo has a URI to which to send the authorisation confirmation; I see no way around this. There was a discussion about this issue: viewtopic.php?f=109&t=26430&p=212748&hi ... RL#p212748
A reflector is also needed for webhooks, although that is only an issue if you have doorbells, cameras or smoke alarms.
If your plugin has continued to work until recently I can only surmise that you haven't needed to reauthorise using the 'new' method.
- ClickCauseLazy
- Posts: 5
- Joined: Tue Jan 26, 2021 4:24 pm
Re: Plugin has stopped working
Here's a bit more detailed version of how I resolved the webhook issue:
- In Indigo, under Plugins Menu, Disable NetatmoWelcome.
- Delete the preferences file found in (at least mine was found here):
“/Volumes/Hard Drive Name/Library/Application Support/Perceptive Automation/Indigo Current Version Number/Preferences/Plugins/com.berkinet.Netatmo.indiPref”.
- Log into dev.netatmo.com and create a new app.
- Note the Client ID and Client Secret ID, you will use this in a few steps
- Back in Indigo, enable the NetatmoWelcome plugin from the Plugins menu
- Enter the new Client ID and Client Secret ID information recently provided by the Netatmo dev website. Don't worry about the Token, you'll regenerate it next.
- Reload the plug in.
- Request a new access token from the Plugins menu
- Reload the plug in again
Re: Plugin has stopped working
Nice summary - but prefs file is com.racarter.indigoplugin.netatmo-welcome