Widget lässt sich nicht speichern

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Antworten
torfkop
Beiträge: 38
Registriert: 3. Jun 2020 07:51
Answers: 1

Widget lässt sich nicht speichern

Beitrag von torfkop »

Moin zusammen,
ich stehe mal wieder vor einem kleinen Problem.
Ich habe ein Widget welches ich nicht speichern kann. Im Editor werden mir keine Fehler mehr angezeigt und trotzdem lässt es nicht nicht speichern. Wenn ich auf "Save" drücke passiert nichts und wenn ich den Editor verlasse ist das Widget gelöscht.

Code: Alles auswählen

uid: energy_flow_dashboard_with_mppt
tags: []
props:
  parameters:
    - description: PV-Leistung Item (z. B. aus Wechselrichter)
      label: PV-Leistung Item
      name: pvPower
      required: true
      type: TEXT
    - description: Netzbezug/-einspeisung Item
      label: Netzleistung Item
      name: gridPower
      required: true
      type: TEXT
    - description: Batteriespeicherleistung Item
      label: Speicherleistung Item
      name: batteryPower
      required: true
      type: TEXT
    - description: Wallbox-Leistung Item
      label: Wallbox Leistung Item
      name: wallboxPower
      required: true
      type: TEXT
    - description: MPPT1-Leistung Item
      label: MPPT1 Leistung Item
      name: mppt1Power
      required: true
      type: TEXT
    - description: MPPT2-Leistung Item
      label: MPPT2 Leistung Item
      name: mppt2Power
      required: true
      type: TEXT
    - description: MPPT3-Leistung Item
      label: MPPT3 Leistung Item
      name: mppt3Power
      required: true
      type: TEXT
    - description: MPPT4-Leistung Item
      label: MPPT4 Leistung Item
      name: mppt4Power
      required: true
      type: TEXT
  parameterGroups: []
timestamp: Jan 15, 2025, 16:00
component: f7-card
config:
  title: Energiefluss mit MPPT-Übersicht
slots:
  default:
    - component: f7-block
      config:
        class: text-align-center
      slots:
        default:
          - component: Label
            config:
              text: "Energiefluss (PV, Netz, Speicher, Wallbox, MPPT)"
    - component: f7-row
      slots:
        default:
          # MPPT1
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: solar_power
                    size: 30
                    color: teal
                - component: Label
                  config:
                    text: "MPPT1"
                - component: oh-label-cell
                  config:
                    item: =props.mppt1Power
                    label: "Leistung MPPT1"
                    icon: f7:bolt_fill
          # MPPT2
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: solar_power
                    size: 30
                    color: green
                - component: Label
                  config:
                    text: "MPPT2"
                - component: oh-label-cell
                  config:
                    item: =props.mppt2Power
                    label: "Leistung MPPT2"
                    icon: f7:bolt_fill
          # MPPT3
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: solar_power
                    size: 30
                    color: purple
                - component: Label
                  config:
                    text: "MPPT3"
                - component: oh-label-cell
                  config:
                    item: =props.mppt3Power
                    label: "Leistung MPPT3"
                    icon: f7:bolt_fill
          # MPPT4
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: solar_power
                    size: 30
                    color: orange
                - component: Label
                  config:
                    text: "MPPT4"
                - component: oh-label-cell
                  config:
                    item: =props.mppt4Power
                    label: "Leistung MPPT4"
                    icon: f7:bolt_fill
    - component: f7-row
      slots:
        default:
          # PV-Anlage (gesamt)
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: solar_power
                    size: 30
                    color: yellow
                - component: Label
                  config:
                    text: "PV-Anlage (gesamt)"
                - component: oh-label-cell
                  config:
                    item: =props.pvPower
                    label: "PV-Leistung"
                    icon: f7:bolt_fill
    - component: f7-row
      slots:
        default:
          # Speicher
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: battery_100
                    size: 30
                    color: green
                - component: Label
                  config:
                    text: "Speicher"
                - component: oh-label-cell
                  config:
                    item: =props.batteryPower
                    label: "Speicherleistung"
                    icon: f7:battery_100
          # Netz
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: building_2_fill
                    size: 30
                    color: blue
                - component: Label
                  config:
                    text: "Netz"
                - component: oh-label-cell
                  config:
                    item: =props.gridPower
                    label: "Netzleistung"
                    icon: f7:arrow_2_circlepath
          # Wallbox
          - component: f7-col
            slots:
              default:
                - component: f7-icon
                  config:
                    f7: car_fill
                    size: 30
                    color: orange
                - component: Label
                  config:
                    text: "Wallbox"
                - component: oh-label-cell
                  config:
                    item: =props.wallboxPower
                    label: "Wallbox-Leistung"
                    icon: f7:bolt_car_fill

Hat einer von euch eine Idee was hier falsch ist?

Viele Grüße
Steffen
von peter-pan » 15. Jan 2025 23:33
Lösch mal die Zeile

Code: Alles auswählen

timestamp: Jan 15, 2025, 16:00
bevor du speicherst.
Da hat wohl jemand am Format gebastelt. ;)
Wenn du jetzt speicherst, wird wieder der korrekte "timestamp" gesetzt und das Widget gespeichert.
Gehe zur vollständigen Antwort

Benutzeravatar
peter-pan
Beiträge: 2758
Registriert: 28. Nov 2018 12:03
Answers: 30
Wohnort: Schwäbisch Gmünd

Re: Widget lässt sich nicht speichern

Beitrag von peter-pan »

Lösch mal die Zeile

Code: Alles auswählen

timestamp: Jan 15, 2025, 16:00
bevor du speicherst.
Da hat wohl jemand am Format gebastelt. ;)
Wenn du jetzt speicherst, wird wieder der korrekte "timestamp" gesetzt und das Widget gespeichert.
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.3.5 openhabian

torfkop
Beiträge: 38
Registriert: 3. Jun 2020 07:51
Answers: 1

Re: Widget lässt sich nicht speichern

Beitrag von torfkop »

so. und wie kann ich dir nun ein Bier zukommen lassen? Ich bin gestern verrückt geworden. Genau das war das Problem.

Herzlichen Dank!

Benutzeravatar
peter-pan
Beiträge: 2758
Registriert: 28. Nov 2018 12:03
Answers: 30
Wohnort: Schwäbisch Gmünd

Re: Widget lässt sich nicht speichern

Beitrag von peter-pan »

Keine Ursache, alles gut. Hauptsache es hat geklappt.
Viel Spaß noch mit OH
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.3.5 openhabian

Antworten