Öltanksensor ME201WZ Zigbee

Ja schon klar .. nur mal für einen Test. Umrechnen kann man ja immer noch wenn das "funzt".
 
Wenn Dein Sensor nicht angezeigt wird (versuch es unter "Einzelgeräte hinzufügen") dann prüf mal ob:
device_class = energy / state_class = total oder total_increasing
 
Hallo zusammen,

ich habe mal die Grafik nach gebaut, welche von @u5zzug hier verlinkt wurde.
https://community.home-assistant.io/t/card-for-showing-liquids-fluid-level-background-card/758558/55
Irgendwie habe ich das Gefühl, der Füllstand wird grafisch zu hoch angezeigt.
1749897600310.png

76% müssten doch beim 3 Ring anliegen, oder sehe ich das zu eng?
Hier der yaml Code zum überprüfen...
YAML:
type: custom:fluid-level-background-card
card:
  show_state: true
  show_name: false
  camera_view: auto
  fit_mode: cover
  type: picture-entity
  image: /local/wassertank/OilTank.png
  entity: sensor.zisterne
  name: Zisterne
entity: sensor.zisterne
fill_entity: sensor.zisterne
background_color:
  - 61
  - 110
  - 62
severity:
  - value: 20
    color: red
  - value: 25
    color: yellow
  - value: 40
    color: blue
full_value: 100
grid_options:
  rows: 5
  columns: 9

Wo liegt der Fehler?
 
Hallo @u5zzug,

ok.
Ich habe mal etwas getrickst..... und full_value: 120 gesetzt.
Werde das mal beobachten.
Ist ja schnell geändert.
1749900892228.png

Vielleicht fällt Euch noch was zum validieren der Zisternenanzeige ein.....
 
Hallo zusammen,

bin wieder am basteln...
Ich würde gerne das Bild oder auch andere hier irgendwie erstellen aus dem Link hier...
https://community.home-assistant.io/t/card-for-showing-liquids-fluid-level-background-card/758558/55
1750314321758.png

Wo kann ich das als Download bekommen, ich habe das nicht gefunden.
Oder muss ich das selbst erstellen?

Nachtrag: Bin ein Stück weitergekommen.

1750318546308.png
Da steht noch Konf.....
Wo liegt mein Fehler?
YAML:
type: picture-elements
elements:
  - type: custom:fluid-level-background-card
    entity: sensor.zisterne
    style:
      z-index: 1
      top: 50%
      left: 50%
      transform: translate(-50%, -50%)
      width: 100%
      height: 100%
    card_mod:
      style: |
        ha-card {
          text-align: center;
          --ha-card-border-color: transparent !important;
          box-shadow: none !important;
          background: none !important;
          border-radius: 50px;
          overflow: hidden;
        } 
        #container, .container {
          width: 23.3% !important;
          height: 70% !important;
          position: relative !important;
          border-radius: 14px !important;
          margin-left: 38.2%;
          margin-top: 8%;
          # transform: translate(150%, -50%);
          opacity: 0.9;
          overflow: hidden;
        }
    level_color:
      - 82
      - 171
      - 255
    severity:
      - color:
          - 255
          - 71
          - 71
        value: 0
      - color:
          - 112
          - 200
          - 255
        value: 20
      - color:
          - 56
          - 179
          - 255
        value: 50
      - color:
          - 0
          - 145
          - 255
        value: 80
    fill_entity: input_boolean.water_tank_filling
    full_value: "110"
    card:
      type: custom:card-templater
      card:
        type: entity
        entity: sensor.zisterne
        title_template: "{{states(''sensor.zisterne'')|round(0)}}% "
        show_header_toggle: false
        show_name: false
        name: Water
        icon: mdi:water
        position:
          value: "off"
        card_mod:
          style: |
            ha-card {
             --ha-card-header-font-size: 14px;
               height: 225px !important;

            }
            .card-header {
             justify-content: center !important;
            }
            .name {
             overflow: unset !important;
            }
title: Water Tank Level
image: /local/wassertank/guage.jpg
card_mod:
  style:
    hui-image $: |
      img {
        z-index: 1 !important;
        position: relative !important;
        right: 0px;
        top: 0px;
        width: 100% !important;
        opacity: 1
      }
 
Zuletzt bearbeitet:
Hallo @HA-DAU,
das Bild holen geht in dem Du mit der Rechten Maustaste draufdrückst und wählst "Grafik speichern unter". Bearbeiten und in andere Formate umwandelnm geht z.b. mit dem Greenfish Icon Editor.
 
Hallo @Loxley,
das Bild habe ich mittlerweile downloaden können.
Habe nur noch einen Konfig Fehler, siehe yaml Code.
Finde meinen Fehler nicht.
Wird auch nicht angezeigt wo mein Fehler ist.
Siehe Nachtrag:
 
Was für eine Fehlermeldung kommt denn?
Jedenfalls wird Dein Sensor nicht automatisch aktualisiert. Du brauchst dazu ein Ereignis wie "Füllstandsänderung". Wenn der Fehler ist dass sich der Stand nicht ändert - das ist kein Syntaxfehler.
 
Doppeltes entity-Feld:
Du hast sowohl im card-Abschnitt als auch auf der obersten Ebene ein entity-Feld. Bei custom:fluid-level-background-card sollte das entity-Feld in der Regel nur einmal auf der richtigen Ebene stehen. Es ist wichtig, die Dokumentation der Karte zu prüfen, um sicherzustellen, wo genau entity platziert werden soll.
 
Hallo @Loxley
ich habe das doppelte entity-Feld: rausgenommen.
Ich bekomme es definitiv nicht hin.

Wer bekommt das hin?
Kann mir jemand dann den yaml Code zur Verfügung stellen?

Für heute gebe ich auf.
 
Das mit dem doppelten entity-feld habe ich im Internet gefunden. Wie genau nun der yaml-code sein muss weis ich auch nicht.
 
Hallo zusammen,

also egal was ich unternehme, irgendwas stimmt mit dem yaml Code nicht.
So wie es auf dem Bild dargestellt wird, bekomme ich es definitiv nicht hin.
1750573945720.png

Bei mir kommt nur das herüber...
1750574053054.png
Die Füllmenge ist irgendwie unter dem Wasser versteckt.
Ganz am Anfang sieht man das etwas transparent vor schimmern....

Hat jemand von Euch eine Lösung?
Man denkt, das kann doch nicht so schwer sein.
Andere Sachen habe ich ja auch zum laufen bekommen.

Hier nochmals der yaml Code.
YAML:
type: picture-elements
elements:
  - type: custom:fluid-level-background-card
    entity: sensor.zisterne_prozentberechnung
    style:
      z-index: 1
      top: 50%
      left: 50%
      transform: translate(-50%, -50%)
      width: 100%
      height: 100%
    card_mod:
      style: |
        ha-card {
          text-align: center;
          --ha-card-border-color: transparent !important;
          box-shadow: none !important;
          background: none !important;
          border-radius: 50px;
          overflow: hidden;
        } 
        #container, .container {
          width: 23.3% !important;
          height: 70% !important;
          position: relative !important;
          border-radius: 14px !important;
          margin-left: 38.2%;
          margin-top: 8%;
          # transform: translate(150%, -50%);
          opacity: 0.9;
          overflow: hidden;
        }
    level_color:
      - 82
      - 171
      - 255
    severity:
      - color:
          - 255
          - 71
          - 71
        value: 0
      - color:
          - 112
          - 200
          - 255
        value: 20
      - color:
          - 56
          - 179
          - 255
        value: 50
      - color:
          - 0
          - 145
          - 255
        value: 80
    fill_entity: null
    full_value: "100"
    card:
      type: custom:card-templater
      card:
        title_template: "{{states('sensor.zisterne_prozentberechnung')|round(0)}}% "
        show_header_toggle: false
        show_name: false
        show_icon: false
        icon: mdi.water
        position:
          value: "off"
        card_mod:
          style: |
            ha-card {
             --ha-card-header-font-size: 14px;
               height: 225px !important;
              
            }
            .card-header {
             justify-content: center !important;
            }
            .name {
             overflow: unset !important;
            }
title: Wasser Tank
image: /local/wassertank/guage.jpg
card_mod:
  style:
    hui-image $: |
      img {
        z-index: 1 !important;
        position: relative !important;
        right: 0px;
        top: 0px;
        width: 100% !important;
        opacity: 1
      }
 

Zurzeit aktive Besucher

Letzte Anleitungen

Statistik des Forums

Themen
6.801
Beiträge
65.657
Mitglieder
7.116
Neuestes Mitglied
marcelko78
Zurück
Oben