<< return to Vizycam.com

User Tools

Site Tools


wiki:google_cloud_setup2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:google_cloud_setup2 [2022/06/08 19:08]
vizycam [Authorizing]
wiki:google_cloud_setup2 [2022/06/10 14:02] (current)
vizycam [Setting up Google services]
Line 1: Line 1:
 ====== Setting up Google services ====== ====== Setting up Google services ======
  
-Vizy uses several Google services such as Google Photos, Google Sheets, and Gmail to communicate to the outside world and share its findings. ​ The main advantage of these is that they are all free and robust services that many of us are familiar with.  ​+**This page is written for Vizy software version 0.1.102 or greater. ​ The older documentation can be found [[wiki:​google_cloud_setup|here]].**  ​Vizy uses several Google services such as Google Photos, Google Sheets, and Gmail to communicate to the outside world and share its findings. ​ The main advantage of these is that they are all free and robust services that many of us are familiar with.  ​
  
-===== Create ​a Google account =====+===== Creating ​a Google account =====
  
-It's strongly recommended that you create a new Google account exclusively for your Vizy camera instead of using a personal Google account. ​ If you have multiple Vizys, they can easily share a single Google account. ​ Using a separate account for your Vizy(s) will prevent any thorny security issues if the credentials are compromised for some reason (theft, loss of Vizy, etc.)  Particularly,​ you should keep all personal information (passwords, credit card numbers, etc.) free and clear of this account. ​ You can create a new Google account [[https://​accounts.google.com/​SignUp|here]].+It's strongly recommended that you create a new Google account exclusively for your Vizy camera instead of using a personal Google account. ​ If you have multiple Vizys, they can easily share a single Google account. ​ Using a separate account for your Vizy(s) will prevent any thorny security issues if the credentials are compromised for some reason (theft, loss of Vizy, etc.)  Particularly,​ you should keep all personal information (passwords, credit card numbers, etc.) free and clear of this account. ​ You can create a new Google account [[https://​accounts.google.com/​SignUp|here]].  You will use the Gmail address of this account in the next sections.
  
-===== Create ​an API key =====+===== Creating ​an API key =====
  
 The Google cloud services (Photos, Gmail, Drive, Sheets, etc.) require an API key.  This is a key that identifies the application that's making the API requests. ​ You need to create your own key because there are restrictions that make it impractical for us to provide one for you.  Fortunately,​ creating your own API key isn't too difficult. ​ It only takes a few minutes, and once you've created the key, you can use it with multiple Vizys.  ​ The Google cloud services (Photos, Gmail, Drive, Sheets, etc.) require an API key.  This is a key that identifies the application that's making the API requests. ​ You need to create your own key because there are restrictions that make it impractical for us to provide one for you.  Fortunately,​ creating your own API key isn't too difficult. ​ It only takes a few minutes, and once you've created the key, you can use it with multiple Vizys.  ​
  
-Start by going to the [[target=_blank^https://​console.cloud.google.com/​projectcreate|Google Console key creation page]]. ​ If you're not logged into a Google account, it will ask you to log in.  **Use the account that you just created for Vizy.  If it doesn'​t ask you to log in, make sure that you're logged in the account that you just created for Vizy.  If you're logged in under a different Google account, log out and log in with the Google account that you created ​for Vizy.**+Start by going to the [[target=_blank^https://​console.cloud.google.com/​projectcreate|Google Console key creation page]]. ​ If you're not logged into a Google account, it will ask you to log in.  **Use the account that you just created for Vizy.  If it doesn'​t ask you to log in, make sure that you're logged in the account that you just created for Vizy.  If you're logged in under a different Google account, log out and log in with the Google account that you created.**
  
 Next, follow along with the video below, pause as necessary. ​ It's a bit of a process... :-) Next, follow along with the video below, pause as necessary. ​ It's a bit of a process... :-)
Line 38: Line 38:
 This will create a new browser tab, so if you have popups disabled, you may need to provide Vizy permission to bring up the new tab.  Within the new browser tab, you will be asked which account you want to use -- **choose the Google account that you created for your Vizy**. ​ It will likely require that you type in the username and password.  ​ This will create a new browser tab, so if you have popups disabled, you may need to provide Vizy permission to bring up the new tab.  Within the new browser tab, you will be asked which account you want to use -- **choose the Google account that you created for your Vizy**. ​ It will likely require that you type in the username and password.  ​
  
-If you added Vizy's Google account as a "Test User" you should get the message:+If you added Vizy's Google account as a "Test User" you should get the message ​below, which is a good/​expected:
  
 {{wiki:​image_1012.jpg}} {{wiki:​image_1012.jpg}}
Line 58: Line 58:
 Click on **Submit**. Click on **Submit**.
  
-If everything has proceeded without a hitch, you can now test your Google API key and authorization by clicking on **Upload test image** or **Send test email...**. ​ Note, photos will appear in [[https://​photos.google.com|Google Photos]] page of the Google account that you created. ​ And emails will originate from the same Google account. ​ It's almost as if Vizy were alive, yes?  ​(Here in Austin, some would argue that you aren't truly alive until you've had a Bac’n Cheezeburger at Arlo’s, so maybe until then...)+If everything has proceeded without a hitch, you can now test your Google API key and authorization by clicking on **Upload test image** or **Send test email...**. ​ Note, photos/​images ​will appear in [[https://​photos.google.com|Google Photos]] page of the Google account that you created. ​ And emails will originate from the same Google account.  ​(It's almost as if Vizy were alive, yes? 
  
 {{wiki:​image_1019.jpg}} {{wiki:​image_1019.jpg}}
wiki/google_cloud_setup2.1654733310.txt.gz · Last modified: 2022/06/08 19:08 by vizycam