GithubHelp home page GithubHelp logo

robomagus / home-assistant-mobile-apps-fcm-push Goto Github PK

View Code? Open in Web Editor NEW

This project forked from home-assistant/mobile-apps-fcm-push

0.0 0.0 0.0 517 KB

Push Notification Sender for Home Assistant official mobile apps

License: Apache License 2.0

JavaScript 98.81% HTML 1.19%

home-assistant-mobile-apps-fcm-push's Introduction

mobile-apps-fcm-push

This is the code that powers the official mobile app push notifications. Feel free to submit PRs!

Developer Setup

Install NPM dependencies:

cd functions
npm install

Startup function for local testing:

# Only Once
npm install -g firebase-tools

firebase functions:config:set debug.local=true
firebase functions:config:get > .runtimeconfig.json

# Whenever you want to start
npm run serve

Deploy your own

Change the target project if needed:

# Only once
sed -i s/home-assistant-mobile-apps/myproject/g ../.firebaserc

You can set the app.region setting if you want to deploy your functions in a another location than us-central1, e.g. europe-west1:

# Only once
firebase functions:config:set app.region="us-central1"

Then deploy the Cloud Functions:

firebase deploy

home-assistant-mobile-apps-fcm-push's People

Contributors

balloob avatar chriss158 avatar dependabot[bot] avatar dshokouhi avatar frenck avatar gadgetchnnel avatar jbassett avatar ludeeus avatar mdegat01 avatar nickm-27 avatar pdecat avatar robbiet480 avatar robomagus avatar wrt54g avatar zacwest avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.