Nest Binding

109 views
Skip to first unread message

Neil Renaud

unread,
Feb 27, 2015, 4:16:40 AM2/27/15
to ope...@googlegroups.com
Hi all,

I've create a new Nest binding for Nest Protect and Nest Thermostats.

This is an early stage of development so looking for some people to test it out.

A pre compiled release can be found here: https://github.com/foxy82/openhab/releases

With details of how to get started here: https://github.com/foxy82/openhab/wiki/Nest-Firebase-Binding

Any issues let me know.

Thanks,
Neil

watou

unread,
Feb 27, 2015, 5:30:09 AM2/27/15
to ope...@googlegroups.com
And just so any who have been following my Nest binding development (which follows the Ecobee binding that will be part of 1.7), my binding will be available next week and appears to work very differently.  Its wiki is here.

Viva la difference!

watou
Message has been deleted

Enis Hoca

unread,
Mar 1, 2015, 12:38:10 PM3/1/15
to ope...@googlegroups.com
Neil - tried to test your binding - the wiki page is not very clear - I don't see any instructions in openhab.log, which log should I look at?

this is what I see in openhab.log
2015-03-01 12:29:19.352 [INFO ] [.service.AbstractActiveService] - Nest Refresh Service has been started
2015-03-01 12:32:47.109 [INFO ] [n.i.NestGenericBindingProvider] - ConfigString[id=XXXN,type=NEST_CODE] ItemName[Nest_Code] Id[XXXN] Type[NEST_CODE]
2015-03-01 12:32:47.114 [INFO ] [n.i.NestGenericBindingProvider] - ConfigString[id=sfdfgdghfhgfgh,type=THERMOSTAT_CURRENT_TEMP] ItemName[Current_Temp] Id[sfdfgdghfhgfgh] Type[THERMOSTAT_CURRENT_TEMP]

Neil Renaud

unread,
Mar 7, 2015, 4:15:34 AM3/7/15
to ope...@googlegroups.com
Hi,

Sorry for the delay - it looks like Firebase changed their API so I've had to change the libs which are in the latest release on my github. 

If you search for NestBinding you should see more log lines.

In particular:

06:20:24.864 INFO  o.o.b.n.internal.NestBinding[:105]- Creating Nest API Binding for clientId[XXX] clientSecret[YYY]
06:20:24.864 INFO  o.o.b.n.internal.NestBinding[:106]- Binding started but not connected waiting for code from Nest website
06:20:24.866 INFO  o.o.b.n.internal.NestBinding[:108]- To get a code go to URL: https://home.nest.com/login/oauth2?client_id=XXX&state=STATE
06:20:24.866 INFO  o.o.b.n.internal.NestBinding[:109]- Then set the code state in Openhab
06:20:24.866 INFO  o.o.b.n.internal.NestBinding[:110]- Something like: http://localhost:8080/CMD?Nest_Code=<code>
06:20:24.866 INFO  o.o.b.n.internal.NestBinding[:111]- Where "NestCode" is the name of the Nest code type in your item file
06:20:24.944 INFO  o.o.c.s.AbstractActiveService[:169]- Nest Refresh Service has been started

That being said watou is out now as well and has been in development a lot longer than this months vs a handful of days so that might be stable.

In answer to your question mine doesn't use polling and doesn't store the code in the openhab.cfg file. As far as I know the code has to be changed every 2 days which is why I've gone with the approach of setting it as a variable in Openhab to make it easy to update (essentially what the instructions above are saying).

Hope that helps,
Neil


--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/MwEzl_dBDWM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/dbf42d32-fa0d-44c0-a754-30db91ebce61%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages