Giter VIP home page Giter VIP logo

Comments (5)

amaximus avatar amaximus commented on August 16, 2024 1

Örülök, hogy sikerült. A MET alerts-est hasonlóan kell.

from pollen-hu-card.

amaximus avatar amaximus commented on August 16, 2024

Szia,

röviden a következő lenne:

  • lévén ez egy kártya, elöbb a pollen_hu integrációt kell telepíteni és konfigurálni (https://github.com/amaximus/pollen_hu). Ott a legegyszerübb egy szenzort létrehozni a köv. módon:
platform: pollen_hu

Alapból a szenzor sensor.pollen_hu lesz.

  • a kártyát ha letöltötted, a configuration.yaml-ba hozzá kell adni mint resource:
resources:
  - {type: module, url: '/hacsfiles/pollen-hu-card/pollen-hu-card.js'}
  • újra kell indítanod a HA-t, hogy az integrációt és a resoure konfigurációt felvegye
  • a Lovelace dashboardon pedig konfigurálni kell a kártyát:
cards:
  - type: custom:pollen-hu-card
    above_level: 1
    title: Pollenek

Ha az első lépésben a szenzornak más nevet adtál (definiáltad a name változót, pl: name: sajat_pollen) akkor a szenzor neve sensor.sajat_pollen lesz ill. a kártya konfigurációjánál meg kell adnod a sensor_name: sajat_pollen -t is.

from pollen-hu-card.

Sygnus83 avatar Sygnus83 commented on August 16, 2024

Szia!
Köszönöm a választ !

Na itt lesz akkor a baj, a szenzort hol kell létrehozni ? Hova írjam a platform: pollen_hu -t?

Ha a resources -t beírom a configba ezt a hibát kapom:

A konfiguráció érvénytelen

Integration error: resources - Integration 'resources' not found.

from pollen-hu-card.

amaximus avatar amaximus commented on August 16, 2024

A pollen_hu integrációt a HACS-ből fel kell előbb telepíteni. Egyúttal a pollen_hu_card-ot is, illetve a configuration.yaml-ba beírni a resource-t ill. definiálni a pollen_hu szenzort. Ezután újraindítani a HA-t, ez felveszi a szenzort, a resource-t. Utána lehet a kártyát hozzáadni a dashboardhoz.

A szenzort ott definiáld, ahol a többi szenzor definiálva van.

Nálam a szenzorok szenzoronkénti állományokban vannak egy sensors könyvtárban, a configuration.yaml-ban pedig sensor: !include_dir_list sensors van.

from pollen-hu-card.

Sygnus83 avatar Sygnus83 commented on August 16, 2024

Köszönöm a segítséget !
Így már sikerült a sensor-t létrehozni, most működik !!

from pollen-hu-card.

Related Issues (6)

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.