# Google Nest Device Access Console now available

**URL:** <https://community.openhab.org/t/google-nest-device-access-console-now-available/105404>\
**Category:** Bindings\
**Tags:** nest, nestbinding\
**Created:** [September 22, 2020, 10:14pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404 "2020-09-22T22:14:42Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![McFly](https://community.openhab.org/user_avatar/community.openhab.org/mcfly/32/58469_2.png) [@McFly](https://community.openhab.org/u/McFly)\
**Post date:** [October 27, 2020, 5:25pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/61 "2020-10-27T17:25:05Z")

</div>

> Can you confirm that you don’t have a thing called “Nest Device Access”?

Yes correct!

I now removed the “Nest Device Access” and also the “Nest Device Thermostat” Things, both was previously manually added by me because nothing was auto-discovered.

Now without them on PaperUI if I go trough discovery (scan icon on top right) and then select “Nest Device Access Binding” it doesn’t find anithing, nothing is discovered. Openhab.log shows nothing about thath.

I don’t know if is possible and/or useful to set a debug level for the binding to check

Of course my access data in nestdeviceaccess.cfg is OK

Just to be sure… I’m using you supplied Jar file from yesterday correct?

Thank you again

---

<div class="post-metadata">

**Author:** ![kovacsi2899](https://community.openhab.org/user_avatar/community.openhab.org/kovacsi2899/32/80943_2.png) [@kovacsi2899](https://community.openhab.org/u/kovacsi2899)\
**Post date:** [October 27, 2020, 7:55pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/62 "2020-10-27T19:55:08Z")

</div>

I use Zwave. Plenty of Smoke sensors are avaiable. Nest one has the best quality and features so far. I will be unhappy if it wolud be discontinued. So I hope you have right and it will appear in the API soon

---

<div class="post-metadata">

**Author:** ![Jose\_Olcese](https://community.openhab.org/user_avatar/community.openhab.org/jose_olcese/32/58538_2.png) [@Jose\_Olcese](https://community.openhab.org/u/Jose_Olcese)\
**Post date:** [October 27, 2020, 7:59pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/63 "2020-10-27T19:59:10Z")

</div>

I’m having a problem similar to McFLy:

```
==> /var/log/openhab2/openhab.log <==
2020-10-27 12:55:30.824 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types '[nestdeviceaccess:nest-device-access, nestdeviceaccess:nest-device-thermostat]' on 'nestdeviceaccessDiscovery'!
java.lang.NullPointerException: null
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.refreshAccessToken(NestUtility.java:155) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.discovery.nestdeviceaccessDiscovery.startScan(nestdeviceaccessDiscovery.java:139) ~[?:?]
        at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:209) ~[bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:382) [bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:367) [bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:216) [bundleFile:?]
        at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [bundleFile:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_265]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_265]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [bundleFile:?]
        at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundleFile:?]
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundleFile:?]
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundleFile:?]
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundleFile:?]
        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundleFile:?]
        at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [bundleFile:?]
        at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [bundleFile:?]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [bundleFile:?]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.Server.handle(Server.java:494) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:426) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:320) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
^C
jolcese@NUC1:/etc/openhab2/services$ openhab-cli console

Logging in as openhab
Password:

                          _______  ____
  ________  _______ / / / / | / __ )
 / __\/__ \/ _ \/ __\/ /_/ / /| | /__ |
/ /_/ / /_/ / __/ / / /__ / ___ |/ /_/ /
\ ____/ .___ /\ ___/_/ /_/_/ /_/_/ |_/_____ /
    /_/ 2.5.10-SNAPSHOT
                               Build #239

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> config:list "(service.pid=org.openhab.nestdeviceaccess)"
----------------------------------------------------------------
Pid: org.openhab.nestdeviceaccess
BundleLocation: null
Properties:
   '# There is general project information for Google that must be provided in order to discover Nest products '# The configuration data is a per project configuration and can be changed by the user. '# A sandbox project created by Brian Higginbotham @BHigg was created and listed below for testing purposes only '# Use the project at your own risk for testing or create your own project through Google and enable the SDM APIs for individual use '# Note this project is limited in nature as a sandbox project to 30 API calls/min by Google. '# '# '#projectId is the Google project provided through the project creation process projectId =
   '#authorizationToken is used to authorize your devices with the project and provide the user with a unique refresh and first time access token. authorizationToken =
   '#clientId is the Google clientId for your application clientId =
   '#clientSecret is the Google clientSecret used to fetch the initial and refresh accessTokens clientSecret =
   '#refreshToken is used to get accessTokens from the application refreshToken =
   authorizationToken =
   clientId = xxx
   clientSecret = xxxx
   projectId = xxx
   refreshToken = xxx
   service.pid = org.openhab.nestdeviceaccess
openhab>

```

---

<div class="post-metadata">

**Author:** ![zerosottozero](https://community.openhab.org/user_avatar/community.openhab.org/zerosottozero/32/47852_2.png) [@zerosottozero](https://community.openhab.org/u/zerosottozero)\
**Post date:** [October 28, 2020, 3:29pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/64 "2020-10-28T15:29:12Z")

</div>

I have got the binding online, but the items don’t get updated, I’m not able to see anything in the logs.  
Checking the console in GCP doesn’t seem that any refresh (60 sec) is reaching the service, (or maybe is not actually neither triggered), any suggestion on where I could be stuck?

```
2020-10-28 15:17:10.706 [DEBUG] [nal.thermostat.NestThermostatHandler] - Start initializing!

==> /var/log/openhab2/events.log <==

2020-10-28 15:17:10.725 [me.event.ThingUpdatedEvent] - Thing 'nestdeviceaccess:nest-device-thermostat:AVPHwEu6fqAeOYTLaWQKKwkI0v6uobdqa8ReX6HWx_7v7iY8OgdvsItb09X90qevSpIp_TF8N0MjMhOU9xjCkF3TXqqc4g' has been updated.

2020-10-28 15:17:10.734 [hingStatusInfoChangedEvent] - 'nestdeviceaccess:nest-device-thermostat:AVPHwEu6fqAeOYTLaWQKKwkI0v6uobdqa8ReX6HWx_7v7iY8OgdvsItb09X90qevSpIp_TF8N0MjMhOU9xjCkF3TXqqc4g' changed from ONLINE to UNKNOWN

2020-10-28 15:17:12.540 [hingStatusInfoChangedEvent] - 'nestdeviceaccess:nest-device-thermostat:AVPHwEu6fqAeOYTLaWQKKwkI0v6uobdqa8ReX6HWx_7v7iY8OgdvsItb09X90qevSpIp_TF8N0MjMhOU9xjCkF3TXqqc4g' changed from UNKNOWN to ONLINE

```

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [October 28, 2020, 4:54pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/65 "2020-10-28T16:54:50Z")

</div>

I worked with @McFly offline and got the binding working for him. Some of the issues dealt with configurations in the nestdeviceaccess.cfg file not being setup and there were some bugs in the JAR file that I posted that dealt with European localization for thermostats…

To summarize here:  
Make sure that you have the configurations in Karaf (openhab-cli console.) This is done by placing the nestdeviceaccess.cfg and updating the “authorizationToken or refreshToken” (Not both, preference is refreshToken but if you only have an authorizationToken, you can use it..)

You can verify in Karaf with the following statement if the configurations are present:  
config:list “(service.pid=org.openhab.nestdeviceaccess)”

If you do not have properties listed, then the nestdeviceaccess.cfg was not copied correctly into the services directory. You can add the properties manually but that is not recommended:  
config:edit org.openhab.nestdeviceaccess  
config:property-append projectId inputprojectId  
config:property-append clientId inputclientId  
config:property-append clientSecret inputclientSecret  
config:property-append authorizationToken inputauthorizationToken  
config:property-append refreshToken inputrefreshToken  
config:update

You can verify the config it present again with the following command:  
config:list “(service.pid=org.openhab.nestdeviceaccess)”

Also, you can enable debug logging on the binding for more information (Note: remove any token  
information.. i.e. refresh or accessTokens when posting from the debug log..) If in doubt, you can send me a direct message 😉

log:set DEBUG org.openhab.binding.nestdeviceaccess

I’ve made a series of changes to the binding as well:  
HEATCOOL mode was not working as expected. This has been resolved  
European localization for missing some JSON properties (Namely timerMode. Thank McFly for this one)

The new JAR is available here:

> **[org.openhab.binding.nestdeviceaccess-2.5.5-SNAPSHOT.jar](https://drive.google.com/file/d/1yOJKfhFmVVEx17ZfhrQBQDNKJdD8LCmz/view?usp=sharing)**
>
> Google Drive file.

New code is here:

> **[openhab-addons/bundles/org.openhab.binding.nestdeviceaccess at 2.5.x ·...](https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess)**
>
> openhab opensource files. Contribute to bhigg-code/openhab-addons development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [October 28, 2020, 4:59pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/66 "2020-10-28T16:59:10Z")

</div>

Hello Jose,  
Can you make sure that you don’t have a thing called “Nest Device Access” or anything manually added? I may need to fix manual adds. I’ll look into this.. Also, enable debug on the binding and shoot over the logs..

It looks like this deals with getting the refreshToken during discovery. If set properly in Karaf, this should be OK. The debug log entries will help. Thanks

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [October 28, 2020, 5:24pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/67 "2020-10-28T17:24:29Z")

</div>

This issue happened with @McFly.. If it is the same issue, it dealt with the binding reading properties in the JSON that didn’t exist as a result of localization or configuration. In McFly’s example, he does NOT have a “timerMode” and the binding expected for it to be present. I fixed this bug in the latest binding by verifying the property exists before reading it..

Can you update to the latest binding JAR and retry. Worst case, enable debug logging and then shoot the exception over where the error occurred? Thanks

---

<div class="post-metadata">

**Author:** ![Jose\_Olcese](https://community.openhab.org/user_avatar/community.openhab.org/jose_olcese/32/58538_2.png) [@Jose\_Olcese](https://community.openhab.org/u/Jose_Olcese)\
**Post date:** [October 28, 2020, 6:40pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/68 "2020-10-28T18:40:13Z")

</div>

Thanks Brian!  
I don’t have any thing added manually.

I tried the latest JAR and getting the same result even with DEBUG logs

```
11:33:01.185 [ERROR] [internal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types '[nestdeviceaccess:nest-device-access, nestdeviceaccess:nest-device-thermostat]' on 'nestdeviceaccessDiscovery'!
java.lang.NullPointerException: null
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.refreshAccessToken(NestUtility.java:162) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.discovery.nestdeviceaccessDiscovery.startScan(nestdeviceaccessDiscovery.java:139) ~[?:?]
        at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:209) ~[bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:382) [bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:367) [bundleFile:?]
        at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:216) [bundleFile:?]
        at org.eclipse.smarthome.io.rest.core.internal.discovery.DiscoveryResource.scan(DiscoveryResource.java:97) [bundleFile:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_265]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_265]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]
        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) [bundleFile:?]
        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) [bundleFile:?]
        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) [bundleFile:?]
        at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [bundleFile:?]
        at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [bundleFile:?]
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [bundleFile:?]
        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [bundleFile:?]
        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [bundleFile:?]
        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [bundleFile:?]
        at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [bundleFile:?]
        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [bundleFile:?]
        at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [bundleFile:?]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [bundleFile:?]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.Server.handle(Server.java:494) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:426) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:320) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:158) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]

```

---

<div class="post-metadata">

**Author:** ![zerosottozero](https://community.openhab.org/user_avatar/community.openhab.org/zerosottozero/32/47852_2.png) [@zerosottozero](https://community.openhab.org/u/zerosottozero)\
**Post date:** [October 29, 2020, 12:36pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/69 "2020-10-29T12:36:49Z")

</div>

Working, perfectly!!  
I had that “timerMode” entry on my log but was a “warning” and I just ignored it.

---

<div class="post-metadata">

**Author:** ![Daniel101](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/cc9497/32.png) [@Daniel101](https://community.openhab.org/u/Daniel101)\
**Post date:** [October 29, 2020, 12:39pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/70 "2020-10-29T12:39:08Z")

</div>

Hi All - Thanks for all the work put into this. I’m running openhab 3 (Windows, Java 11) and getting the below error.

12:33:18.889 [WARN] [org.apache.felix.fileinstall] - Error while starting bundle: file:/C:/Openhab/addons/org.openhab.binding.nestdeviceaccess-2.5.5-SNAPSHOT%20(1).jar  
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.nestdeviceaccess [239]  
Unresolved requirement: Import-Package: org.eclipse.smarthome.config.core

```
    at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi-3.12.100.jar:?]
    at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[org.eclipse.osgi-3.12.100.jar:?]
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.4]
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.4]
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.4]
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.4]
    at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.4]

```

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [October 29, 2020, 1:51pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/71 "2020-10-29T13:51:11Z")

</div>

Thanks Daniel. I would need the entire stack bundle to be absolutely sure but I’m pretty sure this is a result of not running mvn clean install and having dependencies added for an openhab 3 instance.. I actually haven’t tested this binding against openhab 3 yet.. A todo for now..

I’ll see if I can get that going this weekend and report back..

---

<div class="post-metadata">

**Author:** ![Daniel101](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/cc9497/32.png) [@Daniel101](https://community.openhab.org/u/Daniel101)\
**Post date:** [October 29, 2020, 1:52pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/72 "2020-10-29T13:52:40Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![wborn](https://community.openhab.org/user_avatar/community.openhab.org/wborn/32/55946_2.png) [@wborn](https://community.openhab.org/u/wborn)\
**Post date:** [October 29, 2020, 3:22pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/73 "2020-10-29T15:22:54Z")

</div>

> [@BHigg](#):
>
> I actually haven’t tested this binding against openhab 3 yet

If the code is stable/working now I can do that while adding it to the existing Nest Binding. 🙂

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [October 30, 2020, 2:09am UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/74 "2020-10-30T02:09:16Z")

</div>

Oh, that would be awesome. The thermostat code is good right now..

I just bought a Nest Hello and I’m going to get started on the doorbell class.. I already committed a teaser to the 2.5.x branch on my github that allows Nest Doorbells to be discovered and added as a thing.. Not much more than that right now because I need to get the eventing logic coded in the NestUtility class.

---

<div class="post-metadata">

**Author:** ![mm1804](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/34f0e0/32.png) [@mm1804](https://community.openhab.org/u/mm1804)\
**Post date:** [October 30, 2020, 7:47am UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/75 "2020-10-30T07:47:24Z")

</div>

Great to hear… let me know if I can support testing

---

<div class="post-metadata">

**Author:** ![Marcusfacius](https://community.openhab.org/user_avatar/community.openhab.org/marcusfacius/32/59295_2.png) [@Marcusfacius](https://community.openhab.org/u/Marcusfacius)\
**Post date:** [October 31, 2020, 9:41pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/76 "2020-10-31T21:41:27Z")

</div>

Thanks to everyone who is working on this! Dumb question I am sure- I am kindof a novice… but just to be safe: I’ve been avoiding migrating my old Nest account to Google because I was worried I might lose access should the old Nest binding become active again. Sounds like with recent changes, migrating the old Nest account to Google is now necessary to utilize this binding? I am hoping to have some time to devote to understanding/setting up the new binding this weekend, but haven’t attempted yet. Sounds like it could be beyond my skill level honestly but I would be really excited to get my thermostats working with OH.

---

<div class="post-metadata">

**Author:** ![wborn](https://community.openhab.org/user_avatar/community.openhab.org/wborn/32/55946_2.png) [@wborn](https://community.openhab.org/u/wborn)\
**Post date:** [November 2, 2020, 12:43pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/77 "2020-11-02T12:43:44Z")

</div>

> [@Marcusfacius](#):
>
> Sounds like with recent changes, migrating the old Nest account to Google is now necessary to utilize this binding?

The new SDM API implementation will be added to the existing Binding so you can still choose which one to use SDM or WWN. Not all features and devices are available in the new SDM API. So I think its best to only remove it when the WWN API is killed by Google or when the SDM API has feature parity.

---

<div class="post-metadata">

**Author:** ![wborn](https://community.openhab.org/user_avatar/community.openhab.org/wborn/32/55946_2.png) [@wborn](https://community.openhab.org/u/wborn)\
**Post date:** [November 3, 2020, 12:34am UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/78 "2020-11-03T00:34:37Z")

</div>

I’ve now ported @BHigg’s code to OH3 and added it to my PR for adding the SDM API support in OH3:

> <https://github.com/openhab/openhab-addons/pull/8947>
>
> \* Reworks WWN implementation so that the thing types have a wwn\_ prefix and the …classes have a WWN prefix and reside in a 'wwn' package
> \* Adds an SDM implementation which is also based on: https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess
> \* Adds unit tests for (de)serialization of the SDM and Pub/Sub API requests and responses
> \* Updates the binding documentation for the changes and additions
> 
> Fixes #8664
> 
> \---
> 
> The following bundles can be used for testing the changes:
> 
> \* \[org.openhab.binding.nest-2.5.13.20210530.jar\](https://github.com/wborn/openhab-addons/releases/download/nest-sdm-api-20210530/org.openhab.binding.nest-2.5.13.20210530.jar) (retro OH versions: 2.5.0, 2.5.1, ... 2.5.10, 2.5.11, 2.5.12)
> \* \[org.openhab.binding.nest-3.0.3.20210530.jar\](https://github.com/wborn/openhab-addons/releases/download/nest-sdm-api-20210530/org.openhab.binding.nest-3.0.3.20210530.jar) (older OH versions: 3.0.0, 3.0.1, 3.0.2, 3.1.0.M1, 3.1.0.M2, 3.1.0.M3, 3.1.0.M4)
> \* \[org.openhab.binding.nest-3.1.0.20210530.jar\](https://github.com/wborn/openhab-addons/releases/download/nest-sdm-api-20210530/org.openhab.binding.nest-3.1.0.20210530.jar) (newer OH versions: 3.1.0-SNAPSHOT, 3.1.0.M5)
> 
> For documentation, see the updated \[README.md\](https://github.com/wborn/openhab-addons/blob/ee410fe865fe9bd0759abe774acf7d944e8477ff/bundles/org.openhab.binding.nest/README.md#nest-binding).

There’s also a [org.openhab.binding.nestdeviceaccess-3.0.0-SNAPSHOT.jar](https://github.com/wborn/openhab-addons/releases/download/nest-sdm-api-20201103/org.openhab.binding.nestdeviceaccess-3.0.0-SNAPSHOT.jar) for those already on OH3.

I haven’t given it a lot of testing but I see the SDM Thing Types etc. 🙂 . Next I’ll start refactoring the code so it becomes part of the same binding as well as add some improvements and fix any errors I encounter.

---

<div class="post-metadata">

**Author:** ![BHigg](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@BHigg](https://community.openhab.org/u/BHigg)\
**Post date:** [November 3, 2020, 7:28pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/79 "2020-11-03T19:28:02Z")

</div>

Great news on the port… Hopefully the 3.0 JAR helps @Daniel101. I got the Pubsub notification working now.. I’m going to move the asynchronous refreshChannel polling, 60s, to Pubsub notifications (Near realtime updates.) The refreshChannel will still be used to handle Pubsub synch issues but this change will overhaul the property/channel settings to ensure the most updated values are set. The Pubsub was a requirement for event notification on camera and doorbell event processing. Once that is done, I should be able to move pretty quick on the Doorbell class.

More to come..

---

<div class="post-metadata">

**Author:** ![Daniel101](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/cc9497/32.png) [@Daniel101](https://community.openhab.org/u/Daniel101)\
**Post date:** [November 3, 2020, 8:33pm UTC](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/80 "2020-11-03T20:33:09Z")

</div>

Dump the JAR file in and looks good. Now to setup my project. Thank you everyone!

[Previous page](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404.md?page=3)

[Next page](https://community.openhab.org/t/google-nest-device-access-console-now-available/105404.md?page=5)
