Added a note for how to generate keys (#3718)

Added a line on randomly generating the client_id and access_id strings. Not sure if there's a better way?
This commit is contained in:
DubhAd 2017-10-22 20:10:08 +01:00 committed by Fabian Affolter
parent ab83a9eb09
commit 433b884356

View File

@ -30,7 +30,9 @@ google_assistant:
- group - group
``` ```
*Note:* It's very important that you use very long strings for `client_id` and `access_token`. Those are essentially the credentials to your Home Assistant instance. *Note:* It's very important that you use very long strings for `client_id` and `access_token`. Those are essentially the credentials to your Home Assistant instance. You can generate them with the following command:
`cat /dev/urandom|fold -w 120|head -n 1|base64 -w 0|tr -dc '0-9A-Za-z'|cut -c -80`
*Configuration Variables:* *Configuration Variables:*
* *expose_by_default* (Optional): Expose devices in all supported domains by default. * *expose_by_default* (Optional): Expose devices in all supported domains by default.