By storing the keys in a Profile, we're decreasing the memory required to run our Arduino sketch, making it possible to remotely reprogram the sketch with new keys at any time, and making the keys more secure by moving them off the board. We can do this by supplying the Client ID and Client Secret we've just gotten from Google in the corresponding fields on Temboo's website.įinally, save the Client ID, Client Secret, and newly retrieved Refresh Token as a Temboo Profile so that they will be included in your Arduino sketch later. Specify "Web Application," and use the URL that Temboo has generated for you as your Redirect URI. When the bag is full, simply hold the touch button. The built-in motion sensor automatically opens the can when motion is detected. When you do this, you may be prompted to configure a consent screen where you'll need to save a Product Name. For the ultimate in avoiding ickiness, the TOWNEW T1 Self-Sealing and Self-Changing 4 Gallon Trash Can is a smart can that can do just about everything except walk the bag of trash to the curb. This will allow our Arduino to post to the calendar when the trash is emptied.Īdd an OAuth 2.0 client ID credential to give the application permission to access our Google Calendar. Then, enable Google's Calendar API for the application. Rating 4.5 out of 5 stars with 12 reviews (12) Compare. This is because Temboo will store our API credentials as we create them, and then automatically add them to the Arduino sketch we'll be using.įirst, go to the Google developers console and select "Create Project." Select a new kitchen trash can or recycling bin, a smaller bathroom trash can, a trash container for your bedroom, office, or other room. For this step, you'll want to head to Temboo and follow along with the steps listed for the smart trash can IoT application.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |