2018-02-13 13:33:00.397 [INFO ] [netatmo.handler.NetatmoBridgeHandler] - Initializing API Connection and scheduling token refresh every 5400s
The only issue I can see is this
2018-02-13 13:30:01.430 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'netatmo.things', using it anyway:
Provide a thing type ID and a thing ID in this format:
<thingTypeId> <thingId>
Provide a thing type ID and a thing ID in this format:
<thingTypeId> <thingId>
Provide a thing type ID and a thing ID in this format:
<thingTypeId> <thingId>
but I did not change the thing definition and I can not remember if this error was reported in OH 2.1 as well.
have to reopen this thread because it’s not working for me.
I’m not getting the API online. Same error you had but I still updated the syntax.
What I am wondering about is that in die manuelly build *.things - File the clientID is inserted. But if I am looking up the clientID in the PaperUI it’s missing. And… Paper UI is not saveing it.
Sorry for reopening this thread. I tried to get the binding up an running. I have the same result, as far as I can see. @sancho2k, where you able to solve your issue?
In the log I can see the following messages:
2020-09-29 20:16:11.045 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'netatmo.things'
2020-09-29 20:16:11.088 [me.event.ThingUpdatedEvent] - Thing 'netatmo:netatmoapi:home' has been updated.
2020-09-29 20:16:11.095 [hingStatusInfoChangedEvent] - 'netatmo:NACamera:home:camera' changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) to UNINITIALIZED (HANDLER_MISSING_ERROR)
2020-09-29 20:16:11.104 [me.event.ThingUpdatedEvent] - Thing 'netatmo:NACamera:home:camera' has been updated.
In Paper UI the Netatmo API appears online. But my camera has an error: Status: UNINITIALIZED - HANDLER_CONFIGURATION_PENDING
Not sure if it might be related. Upon registering my app on https://dev.netatmo.com/apps I did not enter a webhook URI or redirect URI. Since in the documentation it mentioned for it to be public. By public I assume it is meant as in the internet. Which my OH installation is not.
I was able to solve this. If anybody stumbles upon this thread, here is the solution.
My config was missing the home id. As mentioned in the manual:
Thing NAWelcomeHome home [ id="58yyacaaexxxebca99x999x", refreshInterval=600000 ]
Thing NACamera camera [ id="cc:cc:cc:cc:cc:cc", parentId="58yyacaaexxxebca99x999x" ]
I found the home id by connecting directly to the API with python. The more simple approach is to not use the configuration through a file for the thing. Instead use the web UI to config the netatmo elements.