Giter VIP home page Giter VIP logo

teleinfo-android-firebase's Introduction

TELEINFO ANDROID APP

This Android App uses data collected from teleinfo-enphase-xev101-php-firebase and stored into Google Firebase Realtime Database.

The app reflects in near-realtime your electricity consumption and represents it using a gauge.

Teleinfo

How to use

  1. Clone the repo
  2. Add a local.properties at the root containing something like
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/pathToYour/Android/Sdk
  1. Open the project using the Android Studio
  2. Download your google-service.json that you'll find in parameters of your Firebase project
  3. Copy google-service.json in the app folder
  4. Run on the emulator, your phone or build an APK

Security

Don't forget to set some rules on your Realtime Database. You can limit access to your Google Account after the first login, that will give you your UID in the project. After that, you can use a rule like:

{
  "rules": {
    ".read": "auth.uid == 'youruid'",
    ".write": false
  }
}

teleinfo-android-firebase's People

Contributors

vrobert78 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

teleinfo-android-firebase's Issues

Mauvaise unité

Bonjour,

D'après ce que je vois de votre projet, vous avez un compteur en mode historique et vous utilisez l'information PAPP pour obtenir la consommation instantanée mais celle-ci s'exprime en VA et non en Watt. De même, la jauge de mesure de la souscription s'exprime en kVA (6 kVA, 9kVA, 12kVA, etc.).
Il est impossible d'avoir la consommation en watt à partir de la TIC d'un compteur.

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.