Monday, 17 February 2020

My Home Assistant Server Feb 2020

My Home Assistant Server Feb 2020


I have lots of tech at home, loads and loads in fact.
I recently purchased my daughter a Raspberry Pi 4, 4GB with the intention of teaching her some coding and maybe picking up some useful skills for myself.
My first proper project after playing around a bit with retropie was a Home Assistant server:
https://www.home-assistant.io/
This would allow me to combine all the tech I have at home including the 40 odd hue light bulbs, Ring floodlight, 2 Nest cams, Yale smart alarm, 2 sonos speakers, 2 Google Hubs a google mini and a robot smart vacuum all into one neat interface.

Most of this was pretty straight forward, though one of the biggest challenges i have faced with all this tech is the headache caused by Nest and Google merging, Nest had a very good works with Nest program which allowed developers to easily integrate and come up with weird and wonderful solutions. For a long time now I have used my Nest thermostat which was the first piece of smart tech I purchased as a sort of presence sensor, this works very well and has done for a long time.

Google in their infinite wisdom decided to do away with this program and force users to use their google account for all nest products, this in itself would have been fine were it not for the fact they decided to stonewall any loyal GSuite users, myself included. this has meant no end of fun and games setting up standard google accounts to access my nest items and the fun and games trying to get things like my lifetime photo collection to sync with the otherwise amazing Google Nest Hub Max we recently purchased.

The reason i mention the above is that there is actually a workaround to get the Nest products to "talk" to the home assistant but this involves some clever addins developed in the the form of Badnest  the reason for this blog post is to document the process to renew the cookie token that is required for this to work, the token only seems to be valid for a couple of weeks then needs renewing

Heres a step by step how to get the token:

The values of "issue_token" and "cookie" are specific to your Google Account. To get them, follow these steps (only needs to be done once, as long as you stay logged into your Google Account).
  1. Open a Chrome browser tab in Incognito Mode (or clear your cache).
  2. Open Developer Tools (View/Developer/Developer Tools).
  3. Click on 'Network' tab. Make sure 'Preserve Log' is checked.
  4. In the 'Filter' box, enter issueToken
  5. Go to home.nest.com, and click 'Sign in with Google'. Log into your account.
  6. One network call (beginning with iframerpc) will appear in the Dev Tools window. Click on it.
  7. In the Headers tab, under General, copy the entire Request URL (beginning with https://accounts.google.com, ending with nest.com). This is your "issue_token" in configuration.yaml.
  8. In the 'Filter' box, enter oauth2/iframe
  9. Several network calls will appear in the Dev Tools window. Click on the last iframe call.
  10. In the Headers tab, under Request Headers, copy the entire cookie (beginning OCAK=... - include the whole string which is several lines long and has many field/value pairs - do not include the cookie: name). This is your "cookie" in configuration.yaml.



4 comments:

  1. Merkur 37C HD Review & Expert 2021 - Xn--O80B910a26eepc81il5g.online
    Merkur 37C dafabet HD Review & Expert 2021 - Xn--O80B910a26eepc81il5g.online. The Merkur 37C HD review looks at the best Merkur design for this  leovegas Rating: 4.7 · ‎Review by Mark 메리트카지노총판 Sherwood

    ReplyDelete
  2. air jordan 18 retro men red from my site
    Air jordan 18 retro air jordan 18 retro men red to good site men red from my site · air website to buy air jordan 18 retro men jordan18 retro men red from my site · air jordan18 retro men how to order air jordan 18 retro racer blue red from my site · great air jordan 18 retro racer blue air jordan18 retro men 파워볼 밸런스있나요 벳무브 red

    ReplyDelete
  3. How to login into the casino in 2021
    Here is how to 도레미시디 출장샵 do this: Step 1. Go to the website. · Click on the titanium earrings “Login” link on the right-hand side. · Click septcasino on https://vannienailor4166blog.blogspot.com/ the “Login” button to enter a live chat number. · https://deccasino.com/review/merit-casino/ Enter the

    ReplyDelete
  4. Wynn casino opens in Las Vegas - FilmfileEurope
    Wynn's first hotel casino in herzamanindir.com/ Las 바카라 Vegas since opening its doors nba매니아 in 1996, Wynn Las Vegas is the first https://jancasino.com/review/merit-casino/ hotel on the Strip to offer such a casino-roll.com large selection of

    ReplyDelete