Smart Home Part 2: Homebridge Nest Device Set Up
In this screencast tutorial I continue my look at Homebridge and add Nest Devices to Homebridge and Homekit. The beauty of Homebridge is that it allows for this type of integration. It is not perfect but it does give access to your Nest Devices to use in some of your automation set ups and allows you to use Homekit and Siri to control those devices based on what Nest makes available.
As always thanks for your support. If you find this video helpful please subscribe, like, favorite and share this video as it helps to get it out there.
Cant get the token, I alway get the red error messages starting with:
12/29/2018, 7:03:43 PM] Loaded config.json with 0 accessories and 1 platforms.
[12/29/2018, 7:03:44 PM] —
[12/29/2018, 7:03:44 PM] Loaded plugin: homebridge-nest
[12/29/2018, 7:03:44 PM] Registering platform 'homebridge-nest.Nest'
[12/29/2018, 7:03:44 PM] —
[12/29/2018, 7:03:44 PM] Loading 1 platforms…
[12/29/2018, 7:03:44 PM] [Nest] Initializing Nest platform…
[12/29/2018, 7:03:44 PM] [Nest] Fetching Nest devices.
[12/29/2018, 7:03:44 PM] Loading 0 accessories…
[12/29/2018, 7:03:44 PM] [Nest] Error: If you are going to use {'clientId','clientSecret','code'} then you must specify all three, otherwise use {'token'}
at /usr/local/lib/node_modules/homebridge-nest/index.js:188:14
at Promise._execute (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/debuggability.js:313:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/promise.js:79:10)
at setupConnection (/usr/local/lib/node_modules/homebridge-nest/index.js:172:10)
at NestPlatform.accessories (/usr/local/lib/node_modules/homebridge-nest/index.js:256:5)
at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:386:20)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:330:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Setup Payload:
X-HM://0023ISYWYEO4M
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Will this also work with Nest Hello Doorbell?
Hi I was able to get my Nestcam working with Homebridge and it shows up in my Home.app, but whenever I click on it to view a bigger screen, it says that the Camera is not responsive, however it's showing fine under the main home.app view though. Any ideas? Also how can I get multiple nest products working such as the thermostat and nestcam? Would I need to add 2 platform entries into the config.json file?
Hi Todd Thanks for the great help with this videos. Im still having some errors after I change the code , this is what im gettin
[11/5/2018, 6:37:06 PM] [Nest] Error: You did not specify {'token'} or {'clientId','clientSecret','code'}, one set of which is required for the new API
at /usr/local/lib/node_modules/homebridge-nest/index.js:188:14
at Promise._execute (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/debuggability.js:313:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/usr/local/lib/node_modules/homebridge-nest/node_modules/bluebird/js/release/promise.js:79:10)
at setupConnection (/usr/local/lib/node_modules/homebridge-nest/index.js:172:10)
at NestPlatform.accessories (/usr/local/lib/node_modules/homebridge-nest/index.js:256:5)
at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:386:20)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:330:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
Hi Todd,
Great videos! Could you offer any assistance on getting the nest cams to show video through the home app. I only see the cameras as motion sensors. Using a Mac to setup and run Homebridge. Any help would be greatly appreciated!
Hi, Todd Olthoff I'm still getting the error code in red, I tries going to developer site and cahange the code many time but still it appear in red error code. how to get the token? help plz
I am not getting a token, is anyone else having this issue?
What about adding ADT Pulse to Homekit with Homebridge????
Will nest cameras be visible on the home app? Thanks, for the informative video?
Hello, thanks for the video. Question: the gitbub link – where do I find that? Or do I just copy what you have there? Thank you.
I’ve got the homebridge running and it will add to my home app but once it’s added the home app does not see my nest. The homebridge sees my nest as I can see it’s name on initializing
i get no token after I start homebridge? help
How did you get the "Nest" platform information right at the beginning of the video into Atom? I understand some of those fields are populated by the information produced on the developer page, but what about that initial format to edit?
Thanks!
Jack
Hello ! first of all thanks for the videos, they are great! I have a little problem, can u help me ? I got this error
npm update check failed │
│ Try running with sudo or get access
When i run the home i get a error about NestFirebase disconection detected. Do you have any suggestions. Thanks
I've tried this 10 different way to Sunday and keep getting the same string of errors you did except that each time I put in the code, I keep getting the same errors. Thoughts?
Part 3 of this series is missing? Im enjoying the series so far and hopefully I can translate this onto my RaspberryPI
Can use nodemcu to control relay with homekit ? That is esp8266 based wifi module ? And always happen to use phone to control is not practical ! We need some sought of push button to turn the accessory on or off
I have a couple quick questions. I watched both of your videos and they're great. What I'm a bit confused about is that I have 4 TP-Link H200 Smart Light Switches that I want to work with Homekit. I figured out that these are considered accessories since they have no bridge. However, do I need to add separate lines in the config file for each light? Or, do I do it once then in homekit the switch will show up in whatever room it's supposed to be in? I'm also confused how I tell the lights apart in homekit unless they're automatically in the room they're in. Also, Do I need to leave Terminal running on the computer that homebridge was set up or can I close the terminal?
When I try to control the nest thermostat I get this message in terminal?
It was working fine until I asked Siri to set the temperature.
FIREBASE WARNING: set at /devices/thermostats/JUAx4O2TssHSDRklnI68g3iZVcayrATA/hvac_mode failed: blocked
Can you make a video on how to make homebridge work with Harmony hubs?I want to get a homepod but need it to work with nest and Harmony hubs and Arlo cams.
Keep getting errors (a long string) after the first 2 Nest initiations:
[2018-2-8 20:31:16] [Nest] Initializing Nest platform…
[2018-2-8 20:31:16] [Nest] Fetching Nest devices.
[2018-2-8 20:31:17] [Nest] { Error: UNAUTHORIZED: {"error":"unauthorized","type":"https://developer.nest.com/documentation/cloud/error-messages#auth-error","message":"unauthorized","instance":"1efda429-b00c-4ecf-a62e-812ac23585da"} …… and it continues
Hello these videos are awesome thank you so much for making them. If possible with the comment about adding smart things could you also add iris by Lowe’s? Thank you so much.
Where do you get the token?
where did the initial "token" come from? ("c.5ABsTpo88k5yfNIxzlh…")?? I'm having trouble after inputing my nest pin code…
When will HomeKit allow nest to join the family
Part 1 and 2 are great! My Wemos are running like a charm. Just one perhaps stupid question: after one has started Homebridge in a terminal window can you close the window and is there a command which would automatically restart home ridge if for example my MacServer restarts ?
Thanks for the video! I have successfully configured Nest with Homebridge. I am trying to connect HarmonyHub and Kevo, but I am having trouble with these. Do you have any suggestions? I think I know how to write the config.json file, but I am having trouble installing the plugins.
Hi Todd,
Thanks for the great videos. Could you offer any assistance on getting the nest cams to show video through the home app. I only see the cameras as motion sensors. Using a Mac to setup and run Homebridge. Any help would be greatly appreciated!
Thanks for this series. Managed to add the Nests to Homekit.
Could you do a series on how to keep homebridge running/starting after reboot?
I know it is possible but at the same time too technical for me or many other users…
Hi Todd, can you offer any assistance? Keep getting the "unauthorized" code error in Terminal that you encountered (even on the first try). Recreated the pin code again but still seeing the same problem. Any thoughts? Also, where did the initial "token" come from?
Hi Todd, you should check out Homematic if this is available for the US.
I am trying to follow you from the first video….but where did the nest platform information come from? seems like you left a step out from the first video to the second in the Atom program….we erased everything under "accessories" and then "platform" in video 1 and in video #2 a bunch of code titled "Platform" : "nest" …….etc…etc…magically appeared. Where'd that come from?
I don't trust "tokens of tokens", but all nice – done 🙂
You need to take a look at Indigo home automation software for Mac. It’s been around since X-10 days so it is a mature environment. It is multi protocol with the functionality to write your own plugins.
http://www.indigodomo.com/