Connect your Android Things with Firebase
summary
Prototype builds a video doorbell on Android Things and actually works end to end: camera captures images, uploads to Cloud Storage, Firestore, Cloud Functions, Cloud Messaging, app receives FCM topic notifications, displays image via Glide and Firebase UI, homeowner responds and Cloud Functions notifies the device. Setup uses nearby connections token transfer to deliver a Google auth token to the device. Watch for camera API quirks, topic security limits, and insecure default Firebase rules that need tightening.
AI-written summary · about
chapters (22)
- 0:00Intro
- 1:24Rainbow Hat peripheral
- 2:02Types of peripheral I/O
- 3:22Android Things Drivers
- 10:18Capturing the picture
- 12:15Uploading to Cloud Storage
- 16:40Storage upload trigger pt. 2 - send notification to
- 18:10Receiving the notification
- 19:34Handle incoming ring data message (background)
- 20:05Handle incoming ring (Activity)
- 21:05Fetch ring data from Firestore
- 22:39Glide Module - Cloud Storage for Firebase plugin
- 23:44Update ring disposition in Firestore
- 27:41Handle incoming answer data message
- 31:07What to do about security?
- 32:02Authentication login flows are hard (and boring)
- 32:21Authentication is easy (with FirebaseUI)
- 33:31How does a Thing get logged in?
- 35:29Nearby API
- 37:07Log in Thing with Google and Firebase APIs
- 38:04This project needs...
- 41:02Some ideas
related talks
50mOne More Thing: Building the IoT Future with Android Things and Firebase
34mAndroid All the Things!
19mAndroid all the things!
52m♫ These are a few of my favourite (Android) Things ♫
23mIntro to Android Things
39mThese are a few of my favourite (Android) Things
47mDIY Home Automation with Android Things and Google Assistant
21mLive Coding: Adding Machine Learning to Android Things in 10 Mins
