IoT with Raspberry Pi, Firebase, Angular


Leblanc Meneses
Robust Haven Inc.
817-226-5740
leblanc@
leblancmeneses
@leblancmeneses
leblancmeneses

Demo

Why Firebase

  • Forget (IaaS) Infrastructure as a Service and vm pricing
  • Google’s (BaaS) Backend as a service
    • Less expensive billing
    • Authentication - Identity provider
    • Functions - Custom server code for API’s, m2m, IFTTT, express code.
    • Database - 3 way binding realtime database + document db firestore
    • Hosting - Single page applications + server url rewriting
    • Storage - CDN, Google’s cloud storage

Cloud

  • Custom API’s with Firebase Functions for m2m triggering
  • Custom Angular web app to open/close garage, Firebase Authentication, Firebase token validation
  • firebase-bolt - to secure database
  • firebase init
  • firebase deploy

Raspberry Pi

  • nvm - Node Version Manager
  • pm2 - Production Process Manager for Node.js apps with a built-in Load Balancer. Used to launch app on reboot and recover from failures.
  • firebase-queue - processes queued tasks with our custom code to drive Raspberry Pi gpio pins.

More info & docs

sample files

Feedback

Leblanc Meneses
Robust Haven Inc.
817-226-5740
leblanc@
leblancmeneses
@leblancmeneses
leblancmeneses