GithubHelp home page GithubHelp logo

alexandreaudrain / ecowatt-card Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 329 KB

Home Assistant custom card for EcoWatt data

License: MIT License

JavaScript 13.60% TypeScript 86.40%
custom-card ecowatt home-assistant

ecowatt-card's Introduction

EcoWatt-card pour Home Assistant

EcoWatt is a solution for electricity monitoring in France. This documentation will be in french.

Pour obtenir des informations sur EcoWatt, veuillez visiter le site https://www.monecowatt.fr/.

EcoWatt Card

Installation

Utilisez HACS hacs_badge

Configuration

La carte EcoWatt est alimentée par une entité qui doit avoir un attribut 'signals' identique à ce que produit l'API EcoWatt v4. Par exemple :

{   
    "signals": [
        {
            "GenerationFichier": "2022-06-03T07:36:25+02:00",
            "jour": "2022-06-06T00:00:00+02:00",
            "dvalue": 1,
            "message": "Situation normale ",
            "values": [
                {"pas": 0, "hvalue": 1},
                {"pas": 1, "hvalue": 1},
                {"pas": 2, "hvalue": 1},
                {"...": "..."},
                {"pas": 21, "hvalue": 1},
                {"pas": 22, "hvalue": 1},
                {"pas": 23, "hvalue": 1}
            ]
        },
        {
            {"...": "..."}
        }
    ]
}

API EcoWatt

Pour obtenir les données depuis l'API :

Vous pourrez ainsi solliciter l'API EcoWatt et alimenter la carte EcoWatt

Configurer la carte

La méthode la plus simple consiste à utiliser l'éditeur graphique.

Un seul paramètre est obligatoire : l'entité qui porte les données de l'API EcoWatt Sont optionnels :

  • le libellé associé à la carte
  • la couleur associée à une situation normale
  • la couleur associée à un risque de coupure
  • la couleur associée à des coupures programmées

ecowatt-card's People

Contributors

alexandreaudrain avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ecowatt-card's Issues

Pas possible d'ajouter dans HACS

Si j'essaie d'ajouter le dépôt dans HACS, j'ai le message d'erreur suivant:
<Plugin alexandreaudrain/ecowatt-card> Repository structure for Initial is not compliant

No ecowatt data found

Bonjour,
Je voulais tester la carte, mais il ne trouve pas les données de mes sensors suivent sensor.ecowatt_level_now
sensor.ecowatt_level_today.

J'ai raté une étape ?
image_2023-11-04_202459865

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.