Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nest] Add support for Smart Device Management (SDM) API #8664

Closed
wborn opened this issue Oct 4, 2020 · 26 comments · Fixed by #8947
Closed

[nest] Add support for Smart Device Management (SDM) API #8664

wborn opened this issue Oct 4, 2020 · 26 comments · Fixed by #8947
Assignees
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@wborn
Copy link
Member

wborn commented Oct 4, 2020

The current API used by the binding is based on the Works With Nest (WWN) API for which new users can no longer sign up (see What's happening at Nest?).

Recently a new Smart Device Management API has become available which again allows for controlling Nest devices, see:

There is a non-refundable $5 registration fee for creating a developer account to gain access to this API.

See also the following community topics:

I'll start implementing this SDM API in the existing binding so existing WWN API users can migrate over time.
The new SDM API may also not provide the same functionality.
Most likely the WWN API will be retired and can then be removed from the binding.

@wborn wborn added the enhancement An enhancement or new feature for an existing add-on label Oct 4, 2020
@wborn wborn self-assigned this Oct 4, 2020
@Lovett1991
Copy link

Just seen your message on the forum. Any help required?

@wborn
Copy link
Member Author

wborn commented Oct 4, 2020

Hi! Do you have Doorbells or Displays? I don't have these so it will be difficult to test this functionality. :-)

I think I'll first refactor the existing binding and add some basic implementation and functionality and get that merged. That should get it merged quickly (less code to review) and allows for everyone to start using it and it will make it easier for others to collaborate using the usual PR process.

@wborn wborn changed the title [nest] Add support for Device Access API [nest] Add support for Smart Device Management (SDM) API Oct 4, 2020
@Lovett1991
Copy link

I've only got the thermostat / protects. Ok no worries.

@wborn
Copy link
Member Author

wborn commented Oct 5, 2020

OK I've got those too, as well as some cameras.
But it is too bad the Protects aren't part of the new API and I also don't like that you can't update the away/home state. 😐
Let's hope they will still add this and the product owner decided to go for the most popular stuff first. 🤞

@Lovett1991
Copy link

Yeah that is annoying, is that finalised or are they just gradually rolling stuff out on the new API as the protects would be handy to have.

Home/away state is annoying especially because you could do something cool like a baysian sensor rather than just rely on the gps. But I guess you could have a rule in OpenHab to just switch to ECO mode.

As you seem to be a big/regular contributor to OpenHab, thought I'd ask, how do you get started contributing? I've been using 2.4 for a while and figured I should probably start contributing to the code base.

@wborn
Copy link
Member Author

wborn commented Oct 5, 2020

Just like anything new, it's probably best to start small and learn/find your way around it. I first started with fixing bugs in bindings I used. After that I started adding enhancements to bindings I used. Then I created a binding from scratch and contributed to the core. Now that I know my way around everything, I'm confident enough to touch anything without severely breaking it. :-)

But I've been doing Java development for more than 10 years. The only challenges for me with openHAB were getting to know OSGi and learning the ESH/openHAB framework/domain.

@meingraham
Copy link

I agree it's best to start small, get it right and add incrementally. But they shut down old API new access over a year ago... and still have no equivalent. Ideally, they would continue to allow people to use the old... and when the new is ready and full featured, then cut off the old.

But, it is what it is... and I'm hopeful that the new will eventually surpass the old. Not only in terms of keeping capability the same (e.g., home/away), but also things like accessing temperature sensors through the API, making their schedule more customizable, adding a selectable radius geofence, etc. But now I'm just dreaming 😜

@syndicate0017
Copy link

@wborn

No Nest Hub here, but I do have a doorbell and am happy to send any required info. I've already transitioned to the Google login and am using a Starling Hub in the meantime.

@pieterdevriesch
Copy link

I've got a Thermostat v3 and ready to test. Still on the old Nest login but there's no point anymore so I might as well convert it.

@Lovett1991
Copy link

@wborn ok, thanks for that. Yeah I need to have a poke in OH, I've been a java developer for over 7 years :)

@JeewanBahra
Copy link

I've got a thermostat and doorbell and happy to help 👍

@robnielsen
Copy link
Contributor

Hi! Do you have Doorbells or Displays? I don't have these so it will be difficult to test this functionality. :-)

I have both, and am looking forward to helping out.

@BobMiles
Copy link

Also having a Thermostat, 5 Protects, Hello Doorbell and a Camera. I'll be happy to test for you! All the best, Bob

@CorneNick
Copy link

I'm also having Thermostat, Protects & Hello Doorbell, happy to help!

wborn added a commit to wborn/openhab-addons that referenced this issue Nov 3, 2020
wborn added a commit to wborn/openhab-addons that referenced this issue Nov 15, 2020
wborn added a commit to wborn/openhab-addons that referenced this issue Nov 16, 2020
wborn added a commit to wborn/openhab-addons that referenced this issue Nov 17, 2020
wborn added a commit to wborn/openhab-addons that referenced this issue Nov 29, 2020
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
@bulletprooffool
Copy link

This is great guys.
I am happy to convert my existin gaccount over - the old one has been flakey anyway - but it would be nice if you could post a simple 'how to get going' guide.

Juist a 'visit xxz
register an abc abd request a token

Drop jar from y in z location
Manage via paperui

wborn added a commit to wborn/openhab-addons that referenced this issue Dec 23, 2020
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
@randye007
Copy link

randye007 commented Jan 2, 2021

Thanks @wborn for the work on this!
Is the jar snapshot at a point we can test it using the new google SDM API and camera support? Thx.

@wborn
Copy link
Member Author

wborn commented Jan 2, 2021

Hello! The coming week I plan on spending a lot of time on this PR and if it all works out well I'll also update the JAR so it has the camera support. 🙂 🤞

@randye007
Copy link

That’s great! Thank-you! 👍

@techie66
Copy link

techie66 commented Jan 10, 2021

I've been testing the jar with OH3.0.0 I am using my own developer account and tokens. Everything was great until I restarted OH. Now I am getting a NullPointer Exception:

2021-01-10 13:14:05.246 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.NullPointerException: null
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.isAccessTokenExpired(NestUtility.java:128) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.getAccessToken(NestUtility.java:108) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.getDeviceInfo(NestUtility.java:171) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.thermostat.NestThermostat.getThermostatInfo(NestThermostat.java:414) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.thermostat.NestThermostatHandler.refreshChannels(NestThermostatHandler.java:148) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

I tried getting new authorization codes, but the error remains.

@bulletprooffool
Copy link

bulletprooffool commented Jan 10, 2021 via email

wborn added a commit to wborn/openhab-addons that referenced this issue Feb 28, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
@dschoepel
Copy link

I have 2 thermostats, 5 Cameras (Nest Cams, Drop Cams, Outdoor Cams), and 5 Nest Protects 2nd Gen. Happy to be part of the group testing the binding.

I also put together a guide (GitHub Wiki) to help folks get set up using the SDM API Nest On OpenHAB - Step By Step Guide

wborn added a commit to wborn/openhab-addons that referenced this issue Mar 3, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue Mar 3, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue Mar 4, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue Mar 4, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue Apr 1, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue Apr 15, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/google-nest-device-access-console-now-available/105404/243

@junalmeida
Copy link

I'm getting the following error:

16:38:33.326 [ERROR] [.core.thing.internal.ThingManagerImpl] - Exception occurred while calling thing handler factory 'org.openhab.binding.nestdeviceaccess.internal.nestdeviceaccessHandlerFactory@c136bb4': null
java.lang.NullPointerException: null
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:878) ~[?:?]
        at com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:125) ~[?:?]
        at com.google.api.client.auth.oauth2.RefreshTokenRequest.setRefreshToken(RefreshTokenRequest.java:142) ~[?:?]
        at com.google.api.client.googleapis.auth.oauth2.GoogleRefreshTokenRequest.setRefreshToken(GoogleRefreshTokenRequest.java:119) ~[?:?]
        at com.google.api.client.googleapis.auth.oauth2.GoogleRefreshTokenRequest.setRefreshToken(GoogleRefreshTokenRequest.java:74) ~[?:?]
        at com.google.api.client.auth.oauth2.RefreshTokenRequest.<init>(RefreshTokenRequest.java:95) ~[?:?]
        at com.google.api.client.googleapis.auth.oauth2.GoogleRefreshTokenRequest.<init>(GoogleRefreshTokenRequest.java:85) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.refreshAccessToken(NestUtility.java:198) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nesthelper.NestUtility.<init>(NestUtility.java:67) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nestdeviceaccessHandler.<init>(nestdeviceaccessHandler.java:36) ~[?:?]
        at org.openhab.binding.nestdeviceaccess.internal.nestdeviceaccessHandlerFactory.createHandler(nestdeviceaccessHandlerFactory.java:74) ~[?:?]
        at org.openhab.core.thing.binding.BaseThingHandlerFactory.registerHandler(BaseThingHandlerFactory.java:129) ~[bundleFile:?]
        at org.openhab.core.thing.internal.ThingManagerImpl.doRegisterHandler(ThingManagerImpl.java:666) [bundleFile:?]
        at org.openhab.core.thing.internal.ThingManagerImpl.registerHandler(ThingManagerImpl.java:643) [bundleFile:?]
        at org.openhab.core.thing.internal.ThingManagerImpl.registerAndInitializeHandler(ThingManagerImpl.java:1112) [bundleFile:?]
        at org.openhab.core.thing.internal.ThingManagerImpl.setEnabled(ThingManagerImpl.java:1216) [bundleFile:?]
        at org.openhab.core.io.rest.core.internal.thing.ThingResource.setEnabled(ThingResource.java:570) [bundleFile:?]

Using latest jar at https://github.com/wborn/openhab-addons/releases/tag/nest-sdm-api-20201103

wborn added a commit to wborn/openhab-addons that referenced this issue May 4, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 11, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 22, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 24, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 24, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 25, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 25, 2021
Port nestdeviceaccess add-on to OH3 based on:

https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess

Rework code so WWN and SDM are supported by existing binding

Fixes openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 30, 2021
* Reworks WWN implementation so there 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
wborn added a commit to wborn/openhab-addons that referenced this issue May 30, 2021
* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>
@wborn
Copy link
Member Author

wborn commented May 30, 2021

Hello everyone! I've finished my work on the PR that adds SDM support to the Nest Binding and marked it as ready for review. 🙂
If you want to help with testing/reviewing, there are links to JARs and the updated documentation in the initial PR comment.

fwolter pushed a commit that referenced this issue Jun 20, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this issue Jul 13, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this issue Jul 26, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this issue Jul 26, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this issue Aug 3, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Luca Calcaterra <[email protected]>
frederictobiasc pushed a commit to frederictobiasc/openhab-addons that referenced this issue Oct 26, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
* [nest] Add support for Smart Device Management (SDM) API

* 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 openhab#8664

Also-by: Brian Higginbotham <[email protected]>
Signed-off-by: Wouter Born <[email protected]>

* Fix and improve documentation

Signed-off-by: Wouter Born <[email protected]>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.