I made a crappy Nest Thermostat integration that will work as a stopgap until alternatives come out

Probably have the working by Monday. Need to get the time this weekend

1 Like

Wow! You rock. Made my weekend, was so mad I lost my nest integration somehow today.

I was able to get my previous nest integration working again.
Luckily I had an old HASS instance that was still connected with the same keys. I copied the nest entry from core.config_entries from my old instance to my new one and I was connected again.

Awesome, watching this. Will this work with doorbell too?

Once multiple devices work I’m happy to test, we have 2 thermostats and 1 doorbell.

Awesome. Better to use the official stuff

Unfortunately, no it won’t support the doorbell, and it likely never will. It’s nearly impossible to know what data is in the bucket for other devices without having them to test with, and I’m never going to buy another Nest device, haha.

1 Like

I couldn’t find it in the HACS store or am I missing something

Yeah, you’ve missed the:

Blockquote
… and you can add it to HACS with https://github.com/USA-RedDragon/badnest

You have to add the github page in the “Settings” of HACS.

1 Like

Oh thanks yes I did

As an user who’s interested in further development of this integration i think we(me and other users) can give you access to these devices via Family share function. (i don’t have the doorbell but i have Protects which i would like to have in HA as well)

The question is, are you interested…? :laughing:

Btw: I have two thermostats and unfortunately none of them are showing in my HA devices. Is possible to get at least one of them in HA or there must be only one device per account in order to get the access? Thanks!

This would also mean that we would need a nest account to use as authentication, and not a google account :frowning: Just tried to find a way to create a nest account, and its gone everything forces you to go authenticate with google

Hi, I am interesting for this integration too. I haven’t install my Nest thermostat yet. Will I be able to integrate my thermostat?

How do you install this? I have HASSIO in Docker. Not sure what HACS is?
Can’t find in addons and can’t add the URL as a repo so I’m a bit lost now.

I’m still trying to migrate from Smarththings, Nest closing API I could do without. Really want to just ditch nest for this, I will eventually.

1 Like

If you search this forum for hacs you’ll find a whole thread.

https://custom-components.github.io/hacs/installation/manual/ [dead link see edit]

For installing HACS

Now for installing in HACS, I haven’t figured it out yet. Someone mentioned in the settings, but I haven’t figured it out totally yet.

[Edit: https://github.com/hacs]

[Edit x2: I guess this post comes up in search queries. So for more info about installing have, go here: https://hacs.xyz/docs/installation/prerequisites]

Guys, just copy/paste the url mentioned above here (oh, right, you have to set also a category):

1 Like

Thanks for the picture! I had tried that but your right! I got a red box, didn’t bother to read and was going to look into it more when I had time. I was missing the category lol

Thanks. That link is dead for me but I’ve now found this:
https://hacs.netlify.com/installation/manual/

I’ll give it a try today

I’ve installed the latest HACS on the latest stable HASSIO release but when trying to add the badnest repo (https://github.com/USA-RedDragon/badnest) as an integration it gives the error: “Could not add ‘USA-RedDragon/badnest’ with type ‘integration’ at this time.”

Got it all installed but hit an error on HA reboot:

2019-10-06 17:56:38 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-10-06 17:56:39 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for badnest which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-10-06 17:56:43 ERROR (MainThread) [homeassistant.setup] Error during setup of component badnest
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/badnest/__init__.py", line 34, in setup
    password
  File "/config/custom_components/badnest/api.py", line 33, in __init__
    self._login(email, password)
  File "/config/custom_components/badnest/api.py", line 41, in _login
    self._user_id = r.json()['userid']
KeyError: 'userid'
2019-10-06 17:56:43 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform badnest.climate: Unable to set up component.
2019-10-06 17:56:57 ERROR (MainThread) [hacs.repository.integration.danobot.entity-controller] Missing manifest file.
2019-10-06 17:56:57 ERROR (MainThread) [hacs] Validation for danobot/entity-controller failed.
2019-10-06 18:01:02 WARNING (zeroconf-ServiceBrowser__coap._udp.local.) [zeroconf] Exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/zeroconf.py", line 2245, in send
    bytes_sent = s.sendto(packet, 0, (addr, port))
PermissionError: [Errno 1] Operation not permitted