Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [Solved] Shelly: Historyaufzeicnung stoppt nach ca 2 Tagen

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

[Solved] Shelly: Historyaufzeicnung stoppt nach ca 2 Tagen

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
shelly shellyplug2
14 Beiträge 3 Kommentatoren 881 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • harrymH harrym

    @klassisch kommt darauf an, was du loggst. CoAP Werte kommen passiv vom Gerät andere werden via http abgefragt. Im derzeitigen CoAP ist ein FW Fehler vorhanden. Kann damit zusammenhängen.

    Es ist jedenfalls kein Fehler vom Adapter.

    K Offline
    K Offline
    klassisch
    Most Active
    schrieb am zuletzt editiert von
    #4

    @harrym vielen Dankfür Deine Expertise.
    Als Laie würde ich sagen, daß der Weg bis zum Adapter zu funktionieren scheint. Die Zahlen (Power) werden alle paar Sekunden aktualisiert, was man auch in der Objektansicht mitverfolgen kann.
    Auch das debug-log läßt darauf schließen.

    2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":63882,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:32.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
    2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 18.96 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:32.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
    2020-08-26 10:37:32.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
    2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64138,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:35.551 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 17.27 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:35.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
    2020-08-26 10:37:35.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
    2020-08-26 10:37:38.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64394,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:38.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:38.553 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.554 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 14.91 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
    2020-08-26 10:37:38.563 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
    2020-08-26 10:37:38.563 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
    

    Dennoch landen diese Werte, dann nicht mehr im history-json file, wie man auch im Diagramm sehen kann
    Shelly-plug-history-gaps-20200826.JPG

    Deshalb wa meine Vermutung, daß es beim handover der Daten vom Shelly Adapter zum history Adapter zu irgendwelchen Unstimmigkeiten kommt.

    harrymH paul53P 2 Antworten Letzte Antwort
    0
    • K klassisch

      @harrym vielen Dankfür Deine Expertise.
      Als Laie würde ich sagen, daß der Weg bis zum Adapter zu funktionieren scheint. Die Zahlen (Power) werden alle paar Sekunden aktualisiert, was man auch in der Objektansicht mitverfolgen kann.
      Auch das debug-log läßt darauf schließen.

      2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":63882,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:32.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
      2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 18.96 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:32.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
      2020-08-26 10:37:32.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
      2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64138,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:35.551 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 17.27 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:35.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
      2020-08-26 10:37:35.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
      2020-08-26 10:37:38.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64394,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:38.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:38.553 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.554 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 14.91 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
      2020-08-26 10:37:38.563 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
      2020-08-26 10:37:38.563 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
      

      Dennoch landen diese Werte, dann nicht mehr im history-json file, wie man auch im Diagramm sehen kann
      Shelly-plug-history-gaps-20200826.JPG

      Deshalb wa meine Vermutung, daß es beim handover der Daten vom Shelly Adapter zum history Adapter zu irgendwelchen Unstimmigkeiten kommt.

      harrymH Offline
      harrymH Offline
      harrym
      schrieb am zuletzt editiert von
      #5

      @klassisch ich nutze den influxdb in verbindung mit grafana und habe keinerlei "aussetzer". liegt also sicherlich nicht am shelly-adapter ;)

      ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

      K 1 Antwort Letzte Antwort
      0
      • harrymH harrym

        @klassisch ich nutze den influxdb in verbindung mit grafana und habe keinerlei "aussetzer". liegt also sicherlich nicht am shelly-adapter ;)

        K Offline
        K Offline
        klassisch
        Most Active
        schrieb am zuletzt editiert von klassisch
        #6

        @harrym Damit sind wir an dieser Stelle disjunkt. Ich nutze history und damit werden alle anderen Werte ohne Aussetzer aufgezeichnet, also....
        Ich habe leider keine Ahnung, wie der handover-Prozeß zwischen Adaptern und history funktioniert und wie man den überprüfen kann.
        Ich vermute mal, daß history bei den Adaptern subscribiert und dann Lieferungen erwartet, die dann über eine standardisierte Schnittstelle des Controllers übertragen werden.
        Es könnte aber auch sein, daß eine andereInstanz die Objekte beobachtet und dann auch die Subscriptionen verwaltet und bearbeitet.
        Wie gesagt, reine Vermutung und keine Ahnung, wie das zu testen ist.

        1 Antwort Letzte Antwort
        0
        • K klassisch

          @harrym vielen Dankfür Deine Expertise.
          Als Laie würde ich sagen, daß der Weg bis zum Adapter zu funktionieren scheint. Die Zahlen (Power) werden alle paar Sekunden aktualisiert, was man auch in der Objektansicht mitverfolgen kann.
          Auch das debug-log läßt darauf schließen.

          2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":63882,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:32.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
          2020-08-26 10:37:32.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 18.96 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,18.96],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:32.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
          2020-08-26 10:37:32.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
          2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64138,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:35.551 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:35.551 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 17.27 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.552 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.553 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,17.27],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.553 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:35.562 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
          2020-08-26 10:37:35.562 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
          2020-08-26 10:37:38.552 - debug: shelly.0 (3152) CoAP status package received: {"3332":"SHPLG2-1#6D9B6A#2","3412":38400,"3420":64394,"Uri-Path":"cit/s"} / {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:38.552 - debug: shelly.0 (3152) Status update received for SHPLG2-1#6D9B6A#2: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:38.553 - debug: shelly.0 (3152) CoAP device description request for SHPLG2-1#6D9B6A#2 to 192.168.1.86(0)
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) CoAP Message for SHPLG2-1#6D9B6A#1 : {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]}
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Switch, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Power, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.554 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.Relay0.Power, Value: 14.91 for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.Relay0.Energy, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.temperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) State change : SHPLG2-1#6D9B6A#1.temperature, Value: null for 192.168.1.86 (shellyplug-s / shellyplug-s-6D9B6A / SHPLG2-1#6D9B6A#1)
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: {"G":[[0,9103,1],[0,1101,1],[0,4101,14.91],[0,4103,87606],[0,6102,0],[0,6109,0]]} for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.555 - debug: shelly.0 (3152) Create State : SHPLG2-1#6D9B6A#1.overtemperature, Payload: [object Object] for SHPLG2-1#6D9B6A#1
          2020-08-26 10:37:38.563 - debug: shelly.0 (3152) CoAP response: {"3332":"SHPLG2-1#6D9B6A#2"}
          2020-08-26 10:37:38.563 - debug: shelly.0 (3152) Device description received: {"3332":"SHPLG2-1#6D9B6A#2"} / {"blk":[{"I":1,"D":"relay_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":1101,"T":"S","D":"output","R":"0/1","L":1},{"I":4101,"T":"P","D":"power","U":"W","R":["0/3500","-1"],"L":1},{"I":4103,"T":"E","D":"energy","U":"Wmin","R":["U32","-1"],"L":1},{"I":6102,"T":"A","D":"overpower","R":["0/1","-1"],"L":1},{"I":6109,"T":"P","D":"overpowerValue","U":"W","R":["U32","-1"],"L":1}]}
          

          Dennoch landen diese Werte, dann nicht mehr im history-json file, wie man auch im Diagramm sehen kann
          Shelly-plug-history-gaps-20200826.JPG

          Deshalb wa meine Vermutung, daß es beim handover der Daten vom Shelly Adapter zum history Adapter zu irgendwelchen Unstimmigkeiten kommt.

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #7

          @klassisch sagte:

          Die Zahlen (Power) werden alle paar Sekunden aktualisiert

          Zeige mal die History-Einstellungen zu dem Datenpunkt.

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          K 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @klassisch sagte:

            Die Zahlen (Power) werden alle paar Sekunden aktualisiert

            Zeige mal die History-Einstellungen zu dem Datenpunkt.

            K Offline
            K Offline
            klassisch
            Most Active
            schrieb am zuletzt editiert von
            #8

            @paul53 gerne,..
            Shelly-plug-history-settings-20200826.JPG

            paul53P 1 Antwort Letzte Antwort
            0
            • K klassisch

              @paul53 gerne,..
              Shelly-plug-history-settings-20200826.JPG

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von paul53
              #9

              @klassisch
              Das hatte ich vermutet: Du hast eine Entprellzeit von 60 s eingestellt. Wenn Wertänderungen schneller erfolgen, verhindert die Entprellzeit die Aufzeichnung.
              Du möchtest nur jede Minute einen Wert aufzeichnen ? Dann benötigst Du einen eigenen Datenpunkt, der nur jede Minute aktualisiert wird - idealerweise mit dem Mittelwert über die Minute.

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              K 1 Antwort Letzte Antwort
              1
              • paul53P paul53

                @klassisch
                Das hatte ich vermutet: Du hast eine Entprellzeit von 60 s eingestellt. Wenn Wertänderungen schneller erfolgen, verhindert die Entprellzeit die Aufzeichnung.
                Du möchtest nur jede Minute einen Wert aufzeichnen ? Dann benötigst Du einen eigenen Datenpunkt, der nur jede Minute aktualisiert wird - idealerweise mit dem Mittelwert über die Minute.

                K Offline
                K Offline
                klassisch
                Most Active
                schrieb am zuletzt editiert von
                #10

                @paul53 sagte in Shelly: Historyaufzeicnung stoppt nach ca 2 Tagen:

                @klassisch
                Das hatte ich vermutet: Du hast eine Entprellzeit von 60 s eingestellt. Wenn Wertänderungen schneller erfolgen, verhindert die Entprellzeit die Aufzeichnung.

                vielen Dank, @paul53 . scheint ein Volltreffer zu sein. Also liegt das Problem in der unverstandenen Konfiguration und damit vor dem Rechner .

                Du möchtest nur jede Minute einen Wert aufzeichnen ? Dann benötigst Du einen eigenen Datenpunkt, der nur jede Minute aktualisiert wird - idealerweise mit dem Mittelwert über die Minute.

                Du kannst Gedanken lesen.
                Also die Aufzeichnung dieses Datenpunktes aufheben und einen eigenen Datenpunkt, z.B. unter 0-usetrdata anlegen und per javascript kopieren bzw. moving average? Oder anders?

                paul53P 1 Antwort Letzte Antwort
                0
                • K klassisch

                  @paul53 sagte in Shelly: Historyaufzeicnung stoppt nach ca 2 Tagen:

                  @klassisch
                  Das hatte ich vermutet: Du hast eine Entprellzeit von 60 s eingestellt. Wenn Wertänderungen schneller erfolgen, verhindert die Entprellzeit die Aufzeichnung.

                  vielen Dank, @paul53 . scheint ein Volltreffer zu sein. Also liegt das Problem in der unverstandenen Konfiguration und damit vor dem Rechner .

                  Du möchtest nur jede Minute einen Wert aufzeichnen ? Dann benötigst Du einen eigenen Datenpunkt, der nur jede Minute aktualisiert wird - idealerweise mit dem Mittelwert über die Minute.

                  Du kannst Gedanken lesen.
                  Also die Aufzeichnung dieses Datenpunktes aufheben und einen eigenen Datenpunkt, z.B. unter 0-usetrdata anlegen und per javascript kopieren bzw. moving average? Oder anders?

                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von paul53
                  #11

                  @klassisch sagte:

                  moving average?

                  Kein "moving average", sondern Mittelwert über die Zeitspanne zwischen zwei Aktualisierungen: Z.B. Schedule jede Minute: Mittelwert über Array ermitteln und in eigenen Datenpunkt schreiben, anschließend Array leeren. Trigger auf den Shelly-Datenpunkt füllen das Array mit den Werten.

                  Blockly_temp.JPG

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable id="yoCJ7sNly#qzH`?RWc:9">Liste</variable>
                     <variable id="Tm]_XH:h.VU).GWyvqYq">avr</variable>
                   </variables>
                   <block type="variables_set" id="bxQV9rHVA~v30iVNO#[S" x="37" y="-113">
                     <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                     <value name="VALUE">
                       <block type="lists_create_with" id="_tDF~@-Z|l{qH)}Z3G,=">
                         <mutation items="0"></mutation>
                       </block>
                     </value>
                     <next>
                       <block type="schedule" id="$*vJ):gAOBInxpbjFB2Z">
                         <field name="SCHEDULE">* * * * *</field>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="`eQdd)qT[!xm*QaPJ2.:">
                             <value name="IF0">
                               <block type="logic_compare" id="6T2(J`:?{*K?ug(EPn|T">
                                 <field name="OP">GT</field>
                                 <value name="A">
                                   <block type="lists_length" id="DTJ2tpP~)Y*L;2M{]?V:">
                                     <value name="VALUE">
                                       <block type="variables_get" id="*0lv$n_O^(oeSQjr$H[V">
                                         <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="zNzm]vtG|teq#=u_mH.p">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="variables_set" id="I9e,lBKjx*3,56^1w8}Q">
                                 <field name="VAR" id="Tm]_XH:h.VU).GWyvqYq">avr</field>
                                 <value name="VALUE">
                                   <block type="math_on_list" id="2Y%V1ck9zi%ow:g}DWpV">
                                     <mutation op="AVERAGE"></mutation>
                                     <field name="OP">AVERAGE</field>
                                     <value name="LIST">
                                       <block type="variables_get" id="xw$#7/L:vDDM42(x14@Q">
                                         <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="update" id="tD{2Sg.%8*Y_Nvhm@J5K">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_rndfixed" id="FyRS}2u{gpAx(iKf(;|K">
                                         <field name="n">1</field>
                                         <value name="x">
                                           <shadow type="math_number" id="rjn!qzLsI}34as3!4RUF">
                                             <field name="NUM">3.1234</field>
                                           </shadow>
                                           <block type="variables_get" id="NB*i}e.Oedpnxpv-Q1NG">
                                             <field name="VAR" id="Tm]_XH:h.VU).GWyvqYq">avr</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="variables_set" id="v/G)#O8%MCUh[8@hdsTj">
                                 <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                 <value name="VALUE">
                                   <block type="lists_create_with" id="JDab;C,D-Y[Lq2,.nTh)">
                                     <mutation items="0"></mutation>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <next>
                           <block type="on_ext" id="E/q*?PD]6S~~=#A9t2PE">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                             <field name="CONDITION">any</field>
                             <field name="ACK_CONDITION"></field>
                             <value name="OID0">
                               <shadow type="field_oid" id="bP3,|T}sr:fN@lcy[6*O">
                                 <field name="oid">default</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="lists_setIndex" id="maNXG{X%p|bpb{=Op]wq">
                                 <mutation at="false"></mutation>
                                 <field name="MODE">INSERT</field>
                                 <field name="WHERE">LAST</field>
                                 <value name="LIST">
                                   <block type="variables_get" id="hzr0PzXohpR0IMuVT#bz">
                                     <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                   </block>
                                 </value>
                                 <value name="TO">
                                   <block type="on_source" id="f/yk50;+Vc%xUeUUi|]|">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                  </xml>
                  

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  K 1 Antwort Letzte Antwort
                  1
                  • paul53P paul53

                    @klassisch sagte:

                    moving average?

                    Kein "moving average", sondern Mittelwert über die Zeitspanne zwischen zwei Aktualisierungen: Z.B. Schedule jede Minute: Mittelwert über Array ermitteln und in eigenen Datenpunkt schreiben, anschließend Array leeren. Trigger auf den Shelly-Datenpunkt füllen das Array mit den Werten.

                    Blockly_temp.JPG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id="yoCJ7sNly#qzH`?RWc:9">Liste</variable>
                       <variable id="Tm]_XH:h.VU).GWyvqYq">avr</variable>
                     </variables>
                     <block type="variables_set" id="bxQV9rHVA~v30iVNO#[S" x="37" y="-113">
                       <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                       <value name="VALUE">
                         <block type="lists_create_with" id="_tDF~@-Z|l{qH)}Z3G,=">
                           <mutation items="0"></mutation>
                         </block>
                       </value>
                       <next>
                         <block type="schedule" id="$*vJ):gAOBInxpbjFB2Z">
                           <field name="SCHEDULE">* * * * *</field>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="`eQdd)qT[!xm*QaPJ2.:">
                               <value name="IF0">
                                 <block type="logic_compare" id="6T2(J`:?{*K?ug(EPn|T">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="lists_length" id="DTJ2tpP~)Y*L;2M{]?V:">
                                       <value name="VALUE">
                                         <block type="variables_get" id="*0lv$n_O^(oeSQjr$H[V">
                                           <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="zNzm]vtG|teq#=u_mH.p">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="I9e,lBKjx*3,56^1w8}Q">
                                   <field name="VAR" id="Tm]_XH:h.VU).GWyvqYq">avr</field>
                                   <value name="VALUE">
                                     <block type="math_on_list" id="2Y%V1ck9zi%ow:g}DWpV">
                                       <mutation op="AVERAGE"></mutation>
                                       <field name="OP">AVERAGE</field>
                                       <value name="LIST">
                                         <block type="variables_get" id="xw$#7/L:vDDM42(x14@Q">
                                           <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="update" id="tD{2Sg.%8*Y_Nvhm@J5K">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">Object ID</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_rndfixed" id="FyRS}2u{gpAx(iKf(;|K">
                                           <field name="n">1</field>
                                           <value name="x">
                                             <shadow type="math_number" id="rjn!qzLsI}34as3!4RUF">
                                               <field name="NUM">3.1234</field>
                                             </shadow>
                                             <block type="variables_get" id="NB*i}e.Oedpnxpv-Q1NG">
                                               <field name="VAR" id="Tm]_XH:h.VU).GWyvqYq">avr</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <next>
                                 <block type="variables_set" id="v/G)#O8%MCUh[8@hdsTj">
                                   <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                   <value name="VALUE">
                                     <block type="lists_create_with" id="JDab;C,D-Y[Lq2,.nTh)">
                                       <mutation items="0"></mutation>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="E/q*?PD]6S~~=#A9t2PE">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                               <field name="CONDITION">any</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="bP3,|T}sr:fN@lcy[6*O">
                                   <field name="oid">default</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="lists_setIndex" id="maNXG{X%p|bpb{=Op]wq">
                                   <mutation at="false"></mutation>
                                   <field name="MODE">INSERT</field>
                                   <field name="WHERE">LAST</field>
                                   <value name="LIST">
                                     <block type="variables_get" id="hzr0PzXohpR0IMuVT#bz">
                                       <field name="VAR" id="yoCJ7sNly#qzH`?RWc:9">Liste</field>
                                     </block>
                                   </value>
                                   <value name="TO">
                                     <block type="on_source" id="f/yk50;+Vc%xUeUUi|]|">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                    </xml>
                    

                    K Offline
                    K Offline
                    klassisch
                    Most Active
                    schrieb am zuletzt editiert von
                    #12

                    @paul53 Respekt und tief verneigt! Hatte bisher nichts mit blockly gemacht.
                    Hier in Deinem Blockly jetzt die zwei Datenpunkte eingetragen und läuft auf Anhieb! Respekt!

                    Wie machst Du das so schnell? Hast Du einen wohlorganisierten Werkzeugkasten mit Lösungen für immer wiederkehrende Standardlösungen?

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • K klassisch

                      @paul53 Respekt und tief verneigt! Hatte bisher nichts mit blockly gemacht.
                      Hier in Deinem Blockly jetzt die zwei Datenpunkte eingetragen und läuft auf Anhieb! Respekt!

                      Wie machst Du das so schnell? Hast Du einen wohlorganisierten Werkzeugkasten mit Lösungen für immer wiederkehrende Standardlösungen?

                      paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von paul53
                      #13

                      @klassisch sagte:

                      Wie machst Du das so schnell?

                      Hatte Anfangs eine Abneigung gegenüber Blockly und nutze selbst nur Javascript. Da aber die Mehrzahl der Nutzer offenbar Blockly gegenüber Javascript bevorzugt, bin ich darauf eingegangen und muss mittlerweile nicht mehr suchen, sondern brauche die Lösung, die ich bereits im Kopf habe, nur noch zusammen klicken.

                      Um das Fragezeichen gegen ein grünes Häkchen auszutauschen, markiere die Antwort, die am besten geholfen hat.

                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                      K 1 Antwort Letzte Antwort
                      0
                      • paul53P paul53

                        @klassisch sagte:

                        Wie machst Du das so schnell?

                        Hatte Anfangs eine Abneigung gegenüber Blockly und nutze selbst nur Javascript. Da aber die Mehrzahl der Nutzer offenbar Blockly gegenüber Javascript bevorzugt, bin ich darauf eingegangen und muss mittlerweile nicht mehr suchen, sondern brauche die Lösung, die ich bereits im Kopf habe, nur noch zusammen klicken.

                        Um das Fragezeichen gegen ein grünes Häkchen auszutauschen, markiere die Antwort, die am besten geholfen hat.

                        K Offline
                        K Offline
                        klassisch
                        Most Active
                        schrieb am zuletzt editiert von
                        #14

                        @paul53 sagte in Shelly: Historyaufzeicnung stoppt nach ca 2 Tagen:

                        Hatte Anfangs eine Abneigung gegenüber Blockly und nutze selbst nur Javascript.

                        geht mir ähnlich

                        Da aber die Mehrzahl der Nutzer offenbar Blockly gegenüber Javascript bevorzugt, bin ich darauf eingegangen

                        Auch dafür Respekt! :+1: Und vielen Dank, daß Du uns allen so den Weg weist!

                        und muss mittlerweile nicht mehr suchen, sondern brauche die Lösung, die ich bereits im Kopf habe, nur noch zusammen klicken.

                        Also keine Sammlung auf dem Rechner, sondern alle Templates im Kopf und geschwind zusammengeklickt?
                        Nochmals Respekt! Respekt! :+1: :+1:

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        825

                        Online

                        32.4k

                        Benutzer

                        81.5k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe