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. ioBroker Allgemein
  4. Adapter: SMA SEMP

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Adapter: SMA SEMP

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
232 Beiträge 25 Kommentatoren 49.8k Aufrufe 24 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.
  • W Webwanze

    Hallo,

    ich habe die aktuelle Version des Adapters auf meinem iobroker. V 0.3.1

    Nach der Erstellung der Instanz läuft diese wie gewünscht. Grün.

    Nachdem ich auch nur ein Device erstellt habe, ist das leider nicht mehr der Fall. Folgende Meldung im Log:
    unnamed.jpg

    Habe den Adapter auch schon deinstalliert/installiert, löst das Problem aber nicht.

    Grüße,

    Thomas

    Rene_HMR Offline
    Rene_HMR Offline
    Rene_HM
    Developer
    schrieb am zuletzt editiert von
    #143

    @webwanze Die Fehlermeldung sagt, dass auf einen Datenpunkt, den der Adapter eigentlich anlegt, nicht zugegriffen werden kann...

    Zeige mal den Datenbaum für dein neues Device. Der sollte irgendwie so aussehen:

    bild.PNG

    Bei dir fehlt wohl der State...
    Wie heisst dein device? sind da evtl. Leerzeichen drin?

    W 1 Antwort Letzte Antwort
    0
    • Rene_HMR Rene_HM

      @webwanze Die Fehlermeldung sagt, dass auf einen Datenpunkt, den der Adapter eigentlich anlegt, nicht zugegriffen werden kann...

      Zeige mal den Datenbaum für dein neues Device. Der sollte irgendwie so aussehen:

      bild.PNG

      Bei dir fehlt wohl der State...
      Wie heisst dein device? sind da evtl. Leerzeichen drin?

      W Offline
      W Offline
      Webwanze
      schrieb am zuletzt editiert von Webwanze
      #144

      @rene_hm
      Datenpunkt passt. Mit State usw.
      Leerzeichen gibt es auch nicht.
      Auch wenn ich auf 'Schätzung' stelle, kommt der Fehler. Also ohne jeglichen Datenpunkte.

      Nochmal zum Reproduzieren:
      Ausgangssituation:

      • Adapter installiert und Basiseinstellungen (IP, Port, ...) OK.
      • Kein Device konfiguriert
        -> Läuft!

      Hinzufügen eines Devices:

      • '+' klicken
      • ID: F-00...-00...1-00 lassen
      • Name: newDevice0 lassen
      • Speichern
        -> Läuft nicht mehr.

      Zurück zur Konfiguration des Devices:

      • Hersteller=ACME/Seriennummer=1234/Gerätetyp=Heizung/Mindestleistung=0;max. Leistung 1000; Unterbrechung erlaubt=Nein
      • Zähler=Schätzung
      • Schalter=Immer an; Gerät kann ein/ausgeschaltet werden=Nein
      • Energieanforderungen aktiv = Nein
        -> Läuft nicht

      Habe auch versucht, alle möglichen Datenpunkte im Device zu setzen, falls der Adapter dort Daten holen will, auch wenn die Funktionalität eigentlich deaktiviert ist. Egal was ich einstelle, es funktioniert nicht. Sobald ich das gesamte Device deaktiviere (Checkbox) läuft der Adapter wieder.

      Nachtrag:
      In den Objekten werden wie bei deinem Screenshot alle Datenpunkte angezeigt:
      Changed = null
      Energy = 0 Wh
      RecommendedState = null
      State = null

      Rene_HMR 1 Antwort Letzte Antwort
      0
      • W Webwanze

        @rene_hm
        Datenpunkt passt. Mit State usw.
        Leerzeichen gibt es auch nicht.
        Auch wenn ich auf 'Schätzung' stelle, kommt der Fehler. Also ohne jeglichen Datenpunkte.

        Nochmal zum Reproduzieren:
        Ausgangssituation:

        • Adapter installiert und Basiseinstellungen (IP, Port, ...) OK.
        • Kein Device konfiguriert
          -> Läuft!

        Hinzufügen eines Devices:

        • '+' klicken
        • ID: F-00...-00...1-00 lassen
        • Name: newDevice0 lassen
        • Speichern
          -> Läuft nicht mehr.

        Zurück zur Konfiguration des Devices:

        • Hersteller=ACME/Seriennummer=1234/Gerätetyp=Heizung/Mindestleistung=0;max. Leistung 1000; Unterbrechung erlaubt=Nein
        • Zähler=Schätzung
        • Schalter=Immer an; Gerät kann ein/ausgeschaltet werden=Nein
        • Energieanforderungen aktiv = Nein
          -> Läuft nicht

        Habe auch versucht, alle möglichen Datenpunkte im Device zu setzen, falls der Adapter dort Daten holen will, auch wenn die Funktionalität eigentlich deaktiviert ist. Egal was ich einstelle, es funktioniert nicht. Sobald ich das gesamte Device deaktiviere (Checkbox) läuft der Adapter wieder.

        Nachtrag:
        In den Objekten werden wie bei deinem Screenshot alle Datenpunkte angezeigt:
        Changed = null
        Energy = 0 Wh
        RecommendedState = null
        State = null

        Rene_HMR Offline
        Rene_HMR Offline
        Rene_HM
        Developer
        schrieb am zuletzt editiert von
        #145

        @webwanze sagte in Adapter: SMA SEMP:

        State = null

        und da sehen wir das Problem. Der Adapter versucht "waiting" dorthin zu schreiben, null sollte da nicht stehen...

        Kopiere mal den kompletten Namen dieses Datenpunktes und poste ihn hier oder mache einen screen shot wie ich ihn gezeigt habe.

        W 1 Antwort Letzte Antwort
        0
        • Rene_HMR Rene_HM

          @webwanze sagte in Adapter: SMA SEMP:

          State = null

          und da sehen wir das Problem. Der Adapter versucht "waiting" dorthin zu schreiben, null sollte da nicht stehen...

          Kopiere mal den kompletten Namen dieses Datenpunktes und poste ihn hier oder mache einen screen shot wie ich ihn gezeigt habe.

          W Offline
          W Offline
          Webwanze
          schrieb am zuletzt editiert von Webwanze
          #146

          @rene_hm
          44432258-3b18-42db-a953-b56f84e2f52b-grafik.png

          Muss bei mir da auch 'waiting' stehen?
          Ich will ja nicht über semp steuern lassen. Also wartet bei mir auch nix - zumindest nicht auf den HM2.

          Rene_HMR 1 Antwort Letzte Antwort
          0
          • W Webwanze

            @rene_hm
            44432258-3b18-42db-a953-b56f84e2f52b-grafik.png

            Muss bei mir da auch 'waiting' stehen?
            Ich will ja nicht über semp steuern lassen. Also wartet bei mir auch nix - zumindest nicht auf den HM2.

            Rene_HMR Offline
            Rene_HMR Offline
            Rene_HM
            Developer
            schrieb am zuletzt editiert von
            #147

            @webwanze ja, da wird auch "waiting" stehen, weil das der Standard-Zustand ist.

            Ich sehe den Absturz auch im sentry (36 mal heute, 28 mal gestern, aber nur bei dir) , kann es mir aber noch nicht erklären.
            Ich habe mal eine kleine Änderung eingebaut und auf github hochgeladen. Kannst du den Adapter von https://github.com/rg-engineering/ioBroker.semp installieren und debug-loglevel einschalten? Vielleicht sehen wir dann etwas mehr im log...

            W 1 Antwort Letzte Antwort
            0
            • Rene_HMR Rene_HM

              @webwanze ja, da wird auch "waiting" stehen, weil das der Standard-Zustand ist.

              Ich sehe den Absturz auch im sentry (36 mal heute, 28 mal gestern, aber nur bei dir) , kann es mir aber noch nicht erklären.
              Ich habe mal eine kleine Änderung eingebaut und auf github hochgeladen. Kannst du den Adapter von https://github.com/rg-engineering/ioBroker.semp installieren und debug-loglevel einschalten? Vielleicht sehen wir dann etwas mehr im log...

              W Offline
              W Offline
              Webwanze
              schrieb am zuletzt editiert von
              #148

              @rene_hm

              2023-03-10 20:56:58.669 - info: host.ioBroker "system.adapter.semp.0" enabled
              2023-03-10 20:56:58.704 - info: host.ioBroker instance system.adapter.semp.0 started with pid 52584
              2023-03-10 20:56:59.337 - debug: semp.0 (52584) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2023-03-10 20:56:59.359 - debug: semp.0 (52584) Objects client ready ... initialize now
              2023-03-10 20:56:59.360 - debug: semp.0 (52584) Objects create System PubSub Client
              2023-03-10 20:56:59.361 - debug: semp.0 (52584) Objects create User PubSub Client
              2023-03-10 20:56:59.375 - debug: semp.0 (52584) Objects client initialize lua scripts
              2023-03-10 20:56:59.379 - debug: semp.0 (52584) Objects connected to redis: 127.0.0.1:9001
              2023-03-10 20:56:59.390 - debug: semp.0 (52584) Redis States: Use Redis connection: 127.0.0.1:9000
              2023-03-10 20:56:59.395 - debug: semp.0 (52584) States create System PubSub Client
              2023-03-10 20:56:59.396 - debug: semp.0 (52584) States create User PubSub Client
              2023-03-10 20:56:59.403 - debug: semp.0 (52584) States connected to redis: 127.0.0.1:9000
              2023-03-10 20:56:59.428 - debug: semp.0 (52584) Plugin sentry Initialize Plugin (enabled=true)
              2023-03-10 20:56:59.609 - info: semp.0 (52584) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#dedf941c7e0615cb00f7c78d6024a7b4a006eb1a) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
              2023-03-10 20:56:59.627 - debug: semp.0 (52584) SSDPServer created: http://192.168.1.2:9765/description.xml e27c0561-11b3-47b8-a98a-006d408b0dd1
              2023-03-10 20:56:59.632 - debug: semp.0 (52584) SEMPServer created
              2023-03-10 20:56:59.632 - debug: semp.0 (52584) gateway created...
              2023-03-10 20:56:59.635 - debug: semp.0 (52584) SEMP server listening on 9765
              2023-03-10 20:56:59.638 - debug: semp.0 (52584) SSDPServer started
              2023-03-10 20:56:59.638 - debug: semp.0 (52584) gateway started...
              2023-03-10 20:56:59.638 - debug: semp.0 (52584) Started all!
              2023-03-10 20:56:59.638 - debug: semp.0 (52584) add device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
              2023-03-10 20:56:59.639 - debug: semp.0 (52584) add device F-00000000-000000000001-00
              2023-03-10 20:56:59.640 - debug: semp.0 (52584) can use optional energy: false
              2023-03-10 20:56:59.640 - debug: semp.0 (52584) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
              2023-03-10 20:56:59.642 - info: semp.0 (52584) device created F-00000000-000000000001-00 newDevice0
              2023-03-10 20:56:59.643 - debug: semp.0 (52584) set device
              2023-03-10 20:56:59.643 - debug: semp.0 (52584) newDevice0 setState On
              2023-03-10 20:56:59.644 - debug: semp.0 (52584) UpdateData
              2023-03-10 20:56:59.644 - debug: semp.0 (52584) device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
              2023-03-10 20:56:59.644 - debug: semp.0 (52584) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
              2023-03-10 20:56:59.644 - debug: semp.0 (52584) result [{"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
              2023-03-10 20:56:59.655 - debug: semp.0 (52584) newDevice0 setLastPower 33 number AlwaysOn W
              2023-03-10 20:56:59.658 - debug: semp.0 (52584) newDevice0 got null from Devices.newDevice0.State
              2023-03-10 20:56:59.659 - error: semp.0 (52584) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              2023-03-10 20:56:59.659 - error: semp.0 (52584) unhandled promise rejection: Cannot read properties of null (reading 'val')
              2023-03-10 20:56:59.663 - error: semp.0 (52584) TypeError: Cannot read properties of null (reading 'val')
              at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:56:59.663 - error: semp.0 (52584) Cannot read properties of null (reading 'val')
              2023-03-10 20:56:59.676 - debug: semp.0 (52584) newDevice0 got null from Devices.newDevice0.State
              2023-03-10 20:56:59.677 - error: semp.0 (52584) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              2023-03-10 20:56:59.677 - error: semp.0 (52584) unhandled promise rejection: Cannot read properties of null (reading 'val')
              2023-03-10 20:56:59.678 - error: semp.0 (52584) TypeError: Cannot read properties of null (reading 'val')
              at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              at runNextTicks (node:internal/process/task_queues:61:5)
              at processImmediate (node:internal/timers:437:9)
              2023-03-10 20:56:59.679 - error: semp.0 (52584) Cannot read properties of null (reading 'val')
              2023-03-10 20:56:59.683 - debug: semp.0 (52584) delete all devices
              2023-03-10 20:56:59.683 - debug: semp.0 (52584) SEMP server stopped
              2023-03-10 20:56:59.684 - info: semp.0 (52584) terminating
              2023-03-10 20:56:59.685 - debug: semp.0 (52584) Plugin sentry destroyed
              2023-03-10 20:56:59.685 - warn: semp.0 (52584) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2023-03-10 20:56:59.689 - debug: semp.0 (52584) SSDPServer stopped
              2023-03-10 20:56:59.689 - debug: semp.0 (52584) gateway stopped...
              2023-03-10 20:57:00.225 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[1]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: TypeError: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at runNextTicks (node:internal/process/task_queues:61:5)
              2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at processImmediate (node:internal/timers:437:9)
              2023-03-10 20:57:00.226 - error: host.ioBroker instance system.adapter.semp.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2023-03-10 20:57:00.226 - info: host.ioBroker Restart adapter system.adapter.semp.0 because enabled
              2023-03-10 20:57:30.259 - info: host.ioBroker instance system.adapter.semp.0 started with pid 52599
              2023-03-10 20:57:30.854 - debug: semp.0 (52599) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2023-03-10 20:57:30.877 - debug: semp.0 (52599) Objects client ready ... initialize now
              2023-03-10 20:57:30.878 - debug: semp.0 (52599) Objects create System PubSub Client
              2023-03-10 20:57:30.879 - debug: semp.0 (52599) Objects create User PubSub Client
              2023-03-10 20:57:30.895 - debug: semp.0 (52599) Objects client initialize lua scripts
              2023-03-10 20:57:30.898 - debug: semp.0 (52599) Objects connected to redis: 127.0.0.1:9001
              2023-03-10 20:57:30.911 - debug: semp.0 (52599) Redis States: Use Redis connection: 127.0.0.1:9000
              2023-03-10 20:57:30.916 - debug: semp.0 (52599) States create System PubSub Client
              2023-03-10 20:57:30.917 - debug: semp.0 (52599) States create User PubSub Client
              2023-03-10 20:57:30.925 - debug: semp.0 (52599) States connected to redis: 127.0.0.1:9000
              2023-03-10 20:57:30.948 - debug: semp.0 (52599) Plugin sentry Initialize Plugin (enabled=true)
              2023-03-10 20:57:31.103 - info: semp.0 (52599) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#dedf941c7e0615cb00f7c78d6024a7b4a006eb1a) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
              2023-03-10 20:57:31.121 - debug: semp.0 (52599) SSDPServer created: http://192.168.1.2:9765/description.xml e27c0561-11b3-47b8-a98a-006d408b0dd1
              2023-03-10 20:57:31.125 - debug: semp.0 (52599) SEMPServer created
              2023-03-10 20:57:31.126 - debug: semp.0 (52599) gateway created...
              2023-03-10 20:57:31.129 - debug: semp.0 (52599) SEMP server listening on 9765
              2023-03-10 20:57:31.132 - debug: semp.0 (52599) SSDPServer started
              2023-03-10 20:57:31.132 - debug: semp.0 (52599) gateway started...
              2023-03-10 20:57:31.132 - debug: semp.0 (52599) Started all!
              2023-03-10 20:57:31.132 - debug: semp.0 (52599) add device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
              2023-03-10 20:57:31.133 - debug: semp.0 (52599) add device F-00000000-000000000001-00
              2023-03-10 20:57:31.134 - debug: semp.0 (52599) can use optional energy: false
              2023-03-10 20:57:31.134 - debug: semp.0 (52599) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
              2023-03-10 20:57:31.136 - info: semp.0 (52599) device created F-00000000-000000000001-00 newDevice0
              2023-03-10 20:57:31.137 - debug: semp.0 (52599) set device
              2023-03-10 20:57:31.137 - debug: semp.0 (52599) newDevice0 setState On
              2023-03-10 20:57:31.137 - debug: semp.0 (52599) UpdateData
              2023-03-10 20:57:31.138 - debug: semp.0 (52599) device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
              2023-03-10 20:57:31.138 - debug: semp.0 (52599) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
              2023-03-10 20:57:31.138 - debug: semp.0 (52599) result [{"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
              2023-03-10 20:57:31.148 - debug: semp.0 (52599) newDevice0 setLastPower 33 number AlwaysOn W
              2023-03-10 20:57:31.150 - debug: semp.0 (52599) newDevice0 got null from Devices.newDevice0.State
              2023-03-10 20:57:31.151 - error: semp.0 (52599) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              2023-03-10 20:57:31.151 - error: semp.0 (52599) unhandled promise rejection: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.154 - error: semp.0 (52599) TypeError: Cannot read properties of null (reading 'val')
              at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:57:31.154 - error: semp.0 (52599) Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.166 - debug: semp.0 (52599) newDevice0 got null from Devices.newDevice0.State
              2023-03-10 20:57:31.166 - error: semp.0 (52599) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              2023-03-10 20:57:31.166 - error: semp.0 (52599) unhandled promise rejection: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.167 - error: semp.0 (52599) TypeError: Cannot read properties of null (reading 'val')
              at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              at runNextTicks (node:internal/process/task_queues:61:5)
              at processImmediate (node:internal/timers:437:9)
              2023-03-10 20:57:31.168 - error: semp.0 (52599) Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.171 - debug: semp.0 (52599) delete all devices
              2023-03-10 20:57:31.171 - debug: semp.0 (52599) SEMP server stopped
              2023-03-10 20:57:31.172 - info: semp.0 (52599) terminating
              2023-03-10 20:57:31.172 - debug: semp.0 (52599) Plugin sentry destroyed
              2023-03-10 20:57:31.172 - warn: semp.0 (52599) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2023-03-10 20:57:31.175 - debug: semp.0 (52599) SSDPServer stopped
              2023-03-10 20:57:31.176 - debug: semp.0 (52599) gateway stopped...
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[1]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: TypeError: Cannot read properties of null (reading 'val')
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at runNextTicks (node:internal/process/task_queues:61:5)
              2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at processImmediate (node:internal/timers:437:9)
              2023-03-10 20:57:31.720 - error: host.ioBroker instance system.adapter.semp.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
              2023-03-10 20:57:31.721 - info: host.ioBroker Restart adapter system.adapter.semp.0 because enabled
              
              
              Rene_HMR 1 Antwort Letzte Antwort
              0
              • W Webwanze

                @rene_hm

                2023-03-10 20:56:58.669 - info: host.ioBroker "system.adapter.semp.0" enabled
                2023-03-10 20:56:58.704 - info: host.ioBroker instance system.adapter.semp.0 started with pid 52584
                2023-03-10 20:56:59.337 - debug: semp.0 (52584) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2023-03-10 20:56:59.359 - debug: semp.0 (52584) Objects client ready ... initialize now
                2023-03-10 20:56:59.360 - debug: semp.0 (52584) Objects create System PubSub Client
                2023-03-10 20:56:59.361 - debug: semp.0 (52584) Objects create User PubSub Client
                2023-03-10 20:56:59.375 - debug: semp.0 (52584) Objects client initialize lua scripts
                2023-03-10 20:56:59.379 - debug: semp.0 (52584) Objects connected to redis: 127.0.0.1:9001
                2023-03-10 20:56:59.390 - debug: semp.0 (52584) Redis States: Use Redis connection: 127.0.0.1:9000
                2023-03-10 20:56:59.395 - debug: semp.0 (52584) States create System PubSub Client
                2023-03-10 20:56:59.396 - debug: semp.0 (52584) States create User PubSub Client
                2023-03-10 20:56:59.403 - debug: semp.0 (52584) States connected to redis: 127.0.0.1:9000
                2023-03-10 20:56:59.428 - debug: semp.0 (52584) Plugin sentry Initialize Plugin (enabled=true)
                2023-03-10 20:56:59.609 - info: semp.0 (52584) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#dedf941c7e0615cb00f7c78d6024a7b4a006eb1a) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                2023-03-10 20:56:59.627 - debug: semp.0 (52584) SSDPServer created: http://192.168.1.2:9765/description.xml e27c0561-11b3-47b8-a98a-006d408b0dd1
                2023-03-10 20:56:59.632 - debug: semp.0 (52584) SEMPServer created
                2023-03-10 20:56:59.632 - debug: semp.0 (52584) gateway created...
                2023-03-10 20:56:59.635 - debug: semp.0 (52584) SEMP server listening on 9765
                2023-03-10 20:56:59.638 - debug: semp.0 (52584) SSDPServer started
                2023-03-10 20:56:59.638 - debug: semp.0 (52584) gateway started...
                2023-03-10 20:56:59.638 - debug: semp.0 (52584) Started all!
                2023-03-10 20:56:59.638 - debug: semp.0 (52584) add device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                2023-03-10 20:56:59.639 - debug: semp.0 (52584) add device F-00000000-000000000001-00
                2023-03-10 20:56:59.640 - debug: semp.0 (52584) can use optional energy: false
                2023-03-10 20:56:59.640 - debug: semp.0 (52584) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                2023-03-10 20:56:59.642 - info: semp.0 (52584) device created F-00000000-000000000001-00 newDevice0
                2023-03-10 20:56:59.643 - debug: semp.0 (52584) set device
                2023-03-10 20:56:59.643 - debug: semp.0 (52584) newDevice0 setState On
                2023-03-10 20:56:59.644 - debug: semp.0 (52584) UpdateData
                2023-03-10 20:56:59.644 - debug: semp.0 (52584) device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                2023-03-10 20:56:59.644 - debug: semp.0 (52584) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                2023-03-10 20:56:59.644 - debug: semp.0 (52584) result [{"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                2023-03-10 20:56:59.655 - debug: semp.0 (52584) newDevice0 setLastPower 33 number AlwaysOn W
                2023-03-10 20:56:59.658 - debug: semp.0 (52584) newDevice0 got null from Devices.newDevice0.State
                2023-03-10 20:56:59.659 - error: semp.0 (52584) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                2023-03-10 20:56:59.659 - error: semp.0 (52584) unhandled promise rejection: Cannot read properties of null (reading 'val')
                2023-03-10 20:56:59.663 - error: semp.0 (52584) TypeError: Cannot read properties of null (reading 'val')
                at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:56:59.663 - error: semp.0 (52584) Cannot read properties of null (reading 'val')
                2023-03-10 20:56:59.676 - debug: semp.0 (52584) newDevice0 got null from Devices.newDevice0.State
                2023-03-10 20:56:59.677 - error: semp.0 (52584) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                2023-03-10 20:56:59.677 - error: semp.0 (52584) unhandled promise rejection: Cannot read properties of null (reading 'val')
                2023-03-10 20:56:59.678 - error: semp.0 (52584) TypeError: Cannot read properties of null (reading 'val')
                at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                at runNextTicks (node:internal/process/task_queues:61:5)
                at processImmediate (node:internal/timers:437:9)
                2023-03-10 20:56:59.679 - error: semp.0 (52584) Cannot read properties of null (reading 'val')
                2023-03-10 20:56:59.683 - debug: semp.0 (52584) delete all devices
                2023-03-10 20:56:59.683 - debug: semp.0 (52584) SEMP server stopped
                2023-03-10 20:56:59.684 - info: semp.0 (52584) terminating
                2023-03-10 20:56:59.685 - debug: semp.0 (52584) Plugin sentry destroyed
                2023-03-10 20:56:59.685 - warn: semp.0 (52584) Terminated (UNCAUGHT_EXCEPTION): Without reason
                2023-03-10 20:56:59.689 - debug: semp.0 (52584) SSDPServer stopped
                2023-03-10 20:56:59.689 - debug: semp.0 (52584) gateway stopped...
                2023-03-10 20:57:00.225 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[1]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: TypeError: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at runNextTicks (node:internal/process/task_queues:61:5)
                2023-03-10 20:57:00.226 - error: host.ioBroker Caught by controller[2]: at processImmediate (node:internal/timers:437:9)
                2023-03-10 20:57:00.226 - error: host.ioBroker instance system.adapter.semp.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                2023-03-10 20:57:00.226 - info: host.ioBroker Restart adapter system.adapter.semp.0 because enabled
                2023-03-10 20:57:30.259 - info: host.ioBroker instance system.adapter.semp.0 started with pid 52599
                2023-03-10 20:57:30.854 - debug: semp.0 (52599) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2023-03-10 20:57:30.877 - debug: semp.0 (52599) Objects client ready ... initialize now
                2023-03-10 20:57:30.878 - debug: semp.0 (52599) Objects create System PubSub Client
                2023-03-10 20:57:30.879 - debug: semp.0 (52599) Objects create User PubSub Client
                2023-03-10 20:57:30.895 - debug: semp.0 (52599) Objects client initialize lua scripts
                2023-03-10 20:57:30.898 - debug: semp.0 (52599) Objects connected to redis: 127.0.0.1:9001
                2023-03-10 20:57:30.911 - debug: semp.0 (52599) Redis States: Use Redis connection: 127.0.0.1:9000
                2023-03-10 20:57:30.916 - debug: semp.0 (52599) States create System PubSub Client
                2023-03-10 20:57:30.917 - debug: semp.0 (52599) States create User PubSub Client
                2023-03-10 20:57:30.925 - debug: semp.0 (52599) States connected to redis: 127.0.0.1:9000
                2023-03-10 20:57:30.948 - debug: semp.0 (52599) Plugin sentry Initialize Plugin (enabled=true)
                2023-03-10 20:57:31.103 - info: semp.0 (52599) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#dedf941c7e0615cb00f7c78d6024a7b4a006eb1a) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                2023-03-10 20:57:31.121 - debug: semp.0 (52599) SSDPServer created: http://192.168.1.2:9765/description.xml e27c0561-11b3-47b8-a98a-006d408b0dd1
                2023-03-10 20:57:31.125 - debug: semp.0 (52599) SEMPServer created
                2023-03-10 20:57:31.126 - debug: semp.0 (52599) gateway created...
                2023-03-10 20:57:31.129 - debug: semp.0 (52599) SEMP server listening on 9765
                2023-03-10 20:57:31.132 - debug: semp.0 (52599) SSDPServer started
                2023-03-10 20:57:31.132 - debug: semp.0 (52599) gateway started...
                2023-03-10 20:57:31.132 - debug: semp.0 (52599) Started all!
                2023-03-10 20:57:31.132 - debug: semp.0 (52599) add device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                2023-03-10 20:57:31.133 - debug: semp.0 (52599) add device F-00000000-000000000001-00
                2023-03-10 20:57:31.134 - debug: semp.0 (52599) can use optional energy: false
                2023-03-10 20:57:31.134 - debug: semp.0 (52599) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                2023-03-10 20:57:31.136 - info: semp.0 (52599) device created F-00000000-000000000001-00 newDevice0
                2023-03-10 20:57:31.137 - debug: semp.0 (52599) set device
                2023-03-10 20:57:31.137 - debug: semp.0 (52599) newDevice0 setState On
                2023-03-10 20:57:31.137 - debug: semp.0 (52599) UpdateData
                2023-03-10 20:57:31.138 - debug: semp.0 (52599) device {"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                2023-03-10 20:57:31.138 - debug: semp.0 (52599) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                2023-03-10 20:57:31.138 - debug: semp.0 (52599) result [{"IsActive":true,"ID":"F-00000000-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                2023-03-10 20:57:31.148 - debug: semp.0 (52599) newDevice0 setLastPower 33 number AlwaysOn W
                2023-03-10 20:57:31.150 - debug: semp.0 (52599) newDevice0 got null from Devices.newDevice0.State
                2023-03-10 20:57:31.151 - error: semp.0 (52599) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                2023-03-10 20:57:31.151 - error: semp.0 (52599) unhandled promise rejection: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.154 - error: semp.0 (52599) TypeError: Cannot read properties of null (reading 'val')
                at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:57:31.154 - error: semp.0 (52599) Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.166 - debug: semp.0 (52599) newDevice0 got null from Devices.newDevice0.State
                2023-03-10 20:57:31.166 - error: semp.0 (52599) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                2023-03-10 20:57:31.166 - error: semp.0 (52599) unhandled promise rejection: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.167 - error: semp.0 (52599) TypeError: Cannot read properties of null (reading 'val')
                at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                at runNextTicks (node:internal/process/task_queues:61:5)
                at processImmediate (node:internal/timers:437:9)
                2023-03-10 20:57:31.168 - error: semp.0 (52599) Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.171 - debug: semp.0 (52599) delete all devices
                2023-03-10 20:57:31.171 - debug: semp.0 (52599) SEMP server stopped
                2023-03-10 20:57:31.172 - info: semp.0 (52599) terminating
                2023-03-10 20:57:31.172 - debug: semp.0 (52599) Plugin sentry destroyed
                2023-03-10 20:57:31.172 - warn: semp.0 (52599) Terminated (UNCAUGHT_EXCEPTION): Without reason
                2023-03-10 20:57:31.175 - debug: semp.0 (52599) SSDPServer stopped
                2023-03-10 20:57:31.176 - debug: semp.0 (52599) gateway stopped...
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[1]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: TypeError: Cannot read properties of null (reading 'val')
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at Device.SetState (/opt/iobroker/node_modules/iobroker.semp/lib/semp/Device.js:1052:30)
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at runNextTicks (node:internal/process/task_queues:61:5)
                2023-03-10 20:57:31.720 - error: host.ioBroker Caught by controller[2]: at processImmediate (node:internal/timers:437:9)
                2023-03-10 20:57:31.720 - error: host.ioBroker instance system.adapter.semp.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                2023-03-10 20:57:31.721 - info: host.ioBroker Restart adapter system.adapter.semp.0 because enabled
                
                
                Rene_HMR Offline
                Rene_HMR Offline
                Rene_HM
                Developer
                schrieb am zuletzt editiert von
                #149

                @webwanze Das log sieht eigentlich gut aus, trotzdem funktioniert das ganze bei dir nicht. :-(
                Ich habe nochmal ein paar logs hinzugefügt. Kannst du bitte nochmal von github (wie oben) installieren?

                W 1 Antwort Letzte Antwort
                0
                • Rene_HMR Rene_HM

                  @webwanze Das log sieht eigentlich gut aus, trotzdem funktioniert das ganze bei dir nicht. :-(
                  Ich habe nochmal ein paar logs hinzugefügt. Kannst du bitte nochmal von github (wie oben) installieren?

                  W Offline
                  W Offline
                  Webwanze
                  schrieb am zuletzt editiert von
                  #150

                  @rene_hm

                  Hallo,

                  die Instanz wird jetzt grün:

                  2023-03-11 09:55:55.393 - info: host.ioBroker "system.adapter.semp.0" enabled
                  2023-03-11 09:55:55.426 - info: host.ioBroker instance system.adapter.semp.0 started with pid 53629
                  2023-03-11 09:55:56.057 - debug: semp.0 (53629) Redis Objects: Use Redis connection: 127.0.0.1:9001
                  2023-03-11 09:55:56.076 - debug: semp.0 (53629) Objects client ready ... initialize now
                  2023-03-11 09:55:56.078 - debug: semp.0 (53629) Objects create System PubSub Client
                  2023-03-11 09:55:56.078 - debug: semp.0 (53629) Objects create User PubSub Client
                  2023-03-11 09:55:56.099 - debug: semp.0 (53629) Objects client initialize lua scripts
                  2023-03-11 09:55:56.103 - debug: semp.0 (53629) Objects connected to redis: 127.0.0.1:9001
                  2023-03-11 09:55:56.114 - debug: semp.0 (53629) Redis States: Use Redis connection: 127.0.0.1:9000
                  2023-03-11 09:55:56.120 - debug: semp.0 (53629) States create System PubSub Client
                  2023-03-11 09:55:56.121 - debug: semp.0 (53629) States create User PubSub Client
                  2023-03-11 09:55:56.128 - debug: semp.0 (53629) States connected to redis: 127.0.0.1:9000
                  2023-03-11 09:55:56.154 - debug: semp.0 (53629) Plugin sentry Initialize Plugin (enabled=true)
                  2023-03-11 09:55:56.299 - info: semp.0 (53629) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#6225ab9cb4be90b2b25f1f20179f6e884e287309) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                  2023-03-11 09:55:56.317 - debug: semp.0 (53629) SSDPServer created: http://192.168.1.2:9765/description.xml ba7895e3-74c6-47ee-a912-e544105b6f50
                  2023-03-11 09:55:56.322 - debug: semp.0 (53629) SEMPServer created
                  2023-03-11 09:55:56.322 - debug: semp.0 (53629) gateway created...
                  2023-03-11 09:55:56.325 - debug: semp.0 (53629) SEMP server listening on 9765
                  2023-03-11 09:55:56.328 - debug: semp.0 (53629) SSDPServer started
                  2023-03-11 09:55:56.328 - debug: semp.0 (53629) gateway started...
                  2023-03-11 09:55:56.328 - debug: semp.0 (53629) Started all!
                  2023-03-11 09:55:56.328 - debug: semp.0 (53629) add device {"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                  2023-03-11 09:55:56.329 - debug: semp.0 (53629) add device F-0-000000000001-00
                  2023-03-11 09:55:56.330 - error: semp.0 (53629) newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz
                  2023-03-11 09:55:56.330 - debug: semp.0 (53629) can use optional energy: false
                  2023-03-11 09:55:56.330 - debug: semp.0 (53629) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                  2023-03-11 09:55:56.332 - info: semp.0 (53629) device created F-0-000000000001-00 newDevice0
                  2023-03-11 09:55:56.333 - debug: semp.0 (53629) set device
                  2023-03-11 09:55:56.333 - debug: semp.0 (53629) newDevice0 setState On
                  2023-03-11 09:55:56.334 - debug: semp.0 (53629) UpdateData
                  2023-03-11 09:55:56.334 - debug: semp.0 (53629) device {"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                  2023-03-11 09:55:56.334 - debug: semp.0 (53629) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                  2023-03-11 09:55:56.334 - debug: semp.0 (53629) result [{"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                  2023-03-11 09:55:56.348 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                  2023-03-11 09:55:56.350 - debug: semp.0 (53629) newDevice0 got null from Devices.newDevice0.State
                  2023-03-11 09:55:56.351 - error: semp.0 (53629) newDevice0 could not set state waiting on Devices.newDevice0.State
                  2023-03-11 09:55:56.354 - debug: semp.0 (53629) newDevice0 got null from Devices.newDevice0.State
                  2023-03-11 09:55:56.355 - error: semp.0 (53629) newDevice0 could not set state on on Devices.newDevice0.State
                  2023-03-11 09:55:56.357 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"recommended state from SHM","type":"boolean","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926725,"_id":"semp.0.Devices.newDevice0.RecommendedState","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                  2023-03-11 09:55:56.381 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"last time recommendation changed","type":"string","role":"value.time","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926734,"_id":"semp.0.Devices.newDevice0.Changed","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                  2023-03-11 09:55:56.385 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"current State","type":"string","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926738,"_id":"semp.0.Devices.newDevice0.State","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                  2023-03-11 09:55:56.386 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"Energy used","type":"number","unit":"Wh","role":"value","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926744,"_id":"semp.0.Devices.newDevice0.Energy","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                  2023-03-11 09:55:59.376 - debug: semp.0 (53629) SHM requested description
                  2023-03-11 09:55:59.377 - info: semp.0 (53629) adapter discovered by SHM
                  2023-03-11 09:56:00.033 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                  2023-03-11 09:56:00.033 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524956349 = 0.11973000000000002Wh
                  2023-03-11 09:56:15.007 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                  2023-03-11 09:56:15.008 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524960033 = 0.6064175Wh
                  2023-03-11 09:56:16.376 - debug: semp.0 (53629) SHM requested description
                  2023-03-11 09:56:30.009 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                  2023-03-11 09:56:30.009 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524975008 = 1.09395Wh
                  2023-03-11 09:56:36.377 - debug: semp.0 (53629) SHM requested description
                  2023-03-11 09:56:45.007 - debug: semp.0 (53629) newDevice0 setLastPower 122 number AlwaysOn W
                  2023-03-11 09:56:45.007 - debug: semp.0 (53629) newDevice0 calc energy 122 1678524990009 = 1.6022155555555555Wh
                  

                  Bei den Objekten finden sich immer noch die (null)s.
                  f3090048-628d-42bf-99fa-207a54ed335f-grafik.png

                  Danke für deine Unterstützung!!!

                  Rene_HMR 1 Antwort Letzte Antwort
                  0
                  • W Webwanze

                    @rene_hm

                    Hallo,

                    die Instanz wird jetzt grün:

                    2023-03-11 09:55:55.393 - info: host.ioBroker "system.adapter.semp.0" enabled
                    2023-03-11 09:55:55.426 - info: host.ioBroker instance system.adapter.semp.0 started with pid 53629
                    2023-03-11 09:55:56.057 - debug: semp.0 (53629) Redis Objects: Use Redis connection: 127.0.0.1:9001
                    2023-03-11 09:55:56.076 - debug: semp.0 (53629) Objects client ready ... initialize now
                    2023-03-11 09:55:56.078 - debug: semp.0 (53629) Objects create System PubSub Client
                    2023-03-11 09:55:56.078 - debug: semp.0 (53629) Objects create User PubSub Client
                    2023-03-11 09:55:56.099 - debug: semp.0 (53629) Objects client initialize lua scripts
                    2023-03-11 09:55:56.103 - debug: semp.0 (53629) Objects connected to redis: 127.0.0.1:9001
                    2023-03-11 09:55:56.114 - debug: semp.0 (53629) Redis States: Use Redis connection: 127.0.0.1:9000
                    2023-03-11 09:55:56.120 - debug: semp.0 (53629) States create System PubSub Client
                    2023-03-11 09:55:56.121 - debug: semp.0 (53629) States create User PubSub Client
                    2023-03-11 09:55:56.128 - debug: semp.0 (53629) States connected to redis: 127.0.0.1:9000
                    2023-03-11 09:55:56.154 - debug: semp.0 (53629) Plugin sentry Initialize Plugin (enabled=true)
                    2023-03-11 09:55:56.299 - info: semp.0 (53629) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#6225ab9cb4be90b2b25f1f20179f6e884e287309) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                    2023-03-11 09:55:56.317 - debug: semp.0 (53629) SSDPServer created: http://192.168.1.2:9765/description.xml ba7895e3-74c6-47ee-a912-e544105b6f50
                    2023-03-11 09:55:56.322 - debug: semp.0 (53629) SEMPServer created
                    2023-03-11 09:55:56.322 - debug: semp.0 (53629) gateway created...
                    2023-03-11 09:55:56.325 - debug: semp.0 (53629) SEMP server listening on 9765
                    2023-03-11 09:55:56.328 - debug: semp.0 (53629) SSDPServer started
                    2023-03-11 09:55:56.328 - debug: semp.0 (53629) gateway started...
                    2023-03-11 09:55:56.328 - debug: semp.0 (53629) Started all!
                    2023-03-11 09:55:56.328 - debug: semp.0 (53629) add device {"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                    2023-03-11 09:55:56.329 - debug: semp.0 (53629) add device F-0-000000000001-00
                    2023-03-11 09:55:56.330 - error: semp.0 (53629) newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz
                    2023-03-11 09:55:56.330 - debug: semp.0 (53629) can use optional energy: false
                    2023-03-11 09:55:56.330 - debug: semp.0 (53629) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                    2023-03-11 09:55:56.332 - info: semp.0 (53629) device created F-0-000000000001-00 newDevice0
                    2023-03-11 09:55:56.333 - debug: semp.0 (53629) set device
                    2023-03-11 09:55:56.333 - debug: semp.0 (53629) newDevice0 setState On
                    2023-03-11 09:55:56.334 - debug: semp.0 (53629) UpdateData
                    2023-03-11 09:55:56.334 - debug: semp.0 (53629) device {"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                    2023-03-11 09:55:56.334 - debug: semp.0 (53629) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                    2023-03-11 09:55:56.334 - debug: semp.0 (53629) result [{"IsActive":true,"ID":"F-0-000000000001-00","Name":"newDevice0","Vendor":"ACME","Type":"Heater","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                    2023-03-11 09:55:56.348 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                    2023-03-11 09:55:56.350 - debug: semp.0 (53629) newDevice0 got null from Devices.newDevice0.State
                    2023-03-11 09:55:56.351 - error: semp.0 (53629) newDevice0 could not set state waiting on Devices.newDevice0.State
                    2023-03-11 09:55:56.354 - debug: semp.0 (53629) newDevice0 got null from Devices.newDevice0.State
                    2023-03-11 09:55:56.355 - error: semp.0 (53629) newDevice0 could not set state on on Devices.newDevice0.State
                    2023-03-11 09:55:56.357 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"recommended state from SHM","type":"boolean","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926725,"_id":"semp.0.Devices.newDevice0.RecommendedState","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                    2023-03-11 09:55:56.381 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"last time recommendation changed","type":"string","role":"value.time","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926734,"_id":"semp.0.Devices.newDevice0.Changed","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                    2023-03-11 09:55:56.385 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"current State","type":"string","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926738,"_id":"semp.0.Devices.newDevice0.State","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                    2023-03-11 09:55:56.386 - debug: semp.0 (53629) newDevice0 got object {"type":"state","common":{"name":"Energy used","type":"number","unit":"Wh","role":"value","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678524926744,"_id":"semp.0.Devices.newDevice0.Energy","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                    2023-03-11 09:55:59.376 - debug: semp.0 (53629) SHM requested description
                    2023-03-11 09:55:59.377 - info: semp.0 (53629) adapter discovered by SHM
                    2023-03-11 09:56:00.033 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                    2023-03-11 09:56:00.033 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524956349 = 0.11973000000000002Wh
                    2023-03-11 09:56:15.007 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                    2023-03-11 09:56:15.008 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524960033 = 0.6064175Wh
                    2023-03-11 09:56:16.376 - debug: semp.0 (53629) SHM requested description
                    2023-03-11 09:56:30.009 - debug: semp.0 (53629) newDevice0 setLastPower 117 number AlwaysOn W
                    2023-03-11 09:56:30.009 - debug: semp.0 (53629) newDevice0 calc energy 117 1678524975008 = 1.09395Wh
                    2023-03-11 09:56:36.377 - debug: semp.0 (53629) SHM requested description
                    2023-03-11 09:56:45.007 - debug: semp.0 (53629) newDevice0 setLastPower 122 number AlwaysOn W
                    2023-03-11 09:56:45.007 - debug: semp.0 (53629) newDevice0 calc energy 122 1678524990009 = 1.6022155555555555Wh
                    

                    Bei den Objekten finden sich immer noch die (null)s.
                    f3090048-628d-42bf-99fa-207a54ed335f-grafik.png

                    Danke für deine Unterstützung!!!

                    Rene_HMR Offline
                    Rene_HMR Offline
                    Rene_HM
                    Developer
                    schrieb am zuletzt editiert von Rene_HM
                    #151

                    @webwanze sagte in Adapter: SMA SEMP:

                    error: semp.0 (53629) newDevice0 could not set state waiting on Devices.newDevice0.State

                    Der Fehler ist noch nicht behoben, nur ignoriert. Ich schaue das log nochmal genauer an. Irgendetwas passt noch nicht...

                    newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz

                    und den Fehler darfst du auch nicht ignorieren...

                    W 1 Antwort Letzte Antwort
                    0
                    • Rene_HMR Rene_HM

                      @webwanze sagte in Adapter: SMA SEMP:

                      error: semp.0 (53629) newDevice0 could not set state waiting on Devices.newDevice0.State

                      Der Fehler ist noch nicht behoben, nur ignoriert. Ich schaue das log nochmal genauer an. Irgendetwas passt noch nicht...

                      newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz

                      und den Fehler darfst du auch nicht ignorieren...

                      W Offline
                      W Offline
                      Webwanze
                      schrieb am zuletzt editiert von
                      #152

                      @rene_hm sagte in Adapter: SMA SEMP:

                      newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz

                      und den Fehler darfst du auch nicht ignorieren...

                      Ich habe da nichts geändert. Die ID wurde beim Hinzufügen des Devices automatisch generiert. Habe es aber jetzt mal geändert. Macht natürlich keinen Unterschied.

                      Über Java-Script
                      setState("semp.0.Devices.newDevice0.State", "test")
                      kann ich den State übrigens ändern.

                      Rene_HMR 1 Antwort Letzte Antwort
                      0
                      • W Webwanze

                        @rene_hm sagte in Adapter: SMA SEMP:

                        newDevice0 wrong device id F-0-000000000001-00! must follow F-xxxxxxxx-yyyyyyyyyyyy-zz

                        und den Fehler darfst du auch nicht ignorieren...

                        Ich habe da nichts geändert. Die ID wurde beim Hinzufügen des Devices automatisch generiert. Habe es aber jetzt mal geändert. Macht natürlich keinen Unterschied.

                        Über Java-Script
                        setState("semp.0.Devices.newDevice0.State", "test")
                        kann ich den State übrigens ändern.

                        Rene_HMR Offline
                        Rene_HMR Offline
                        Rene_HM
                        Developer
                        schrieb am zuletzt editiert von
                        #153

                        @webwanze sagte in Adapter: SMA SEMP:

                        Macht natürlich keinen Unterschied.

                        für o.g. Problem macht es keinen Unterschied, funktionell ist das wichtig.

                        W 1 Antwort Letzte Antwort
                        0
                        • Rene_HMR Rene_HM

                          @webwanze sagte in Adapter: SMA SEMP:

                          Macht natürlich keinen Unterschied.

                          für o.g. Problem macht es keinen Unterschied, funktionell ist das wichtig.

                          W Offline
                          W Offline
                          Webwanze
                          schrieb am zuletzt editiert von Webwanze
                          #154

                          @rene_hm
                          Ich habe noch etwas herumgespielt und auch was herausgefunden:

                          Adapter installieren
                          Device anlegen
                          -> kein Update State

                          Host neu starten
                          -> kein Update State

                          State von Hand oder Script ändern
                          -> Fehler verschwunden, allerdings wird mein String "test" nicht upgedated
                          -> ich nehme an, weil sich der State für die Instanz nicht geändert hat, erfolgt kein Update. OK.

                          Instanz neu starten
                          -> Alles i.O.
                          -> State wird auf "on" gesetzt.

                          W 1 Antwort Letzte Antwort
                          0
                          • W Webwanze

                            @rene_hm
                            Ich habe noch etwas herumgespielt und auch was herausgefunden:

                            Adapter installieren
                            Device anlegen
                            -> kein Update State

                            Host neu starten
                            -> kein Update State

                            State von Hand oder Script ändern
                            -> Fehler verschwunden, allerdings wird mein String "test" nicht upgedated
                            -> ich nehme an, weil sich der State für die Instanz nicht geändert hat, erfolgt kein Update. OK.

                            Instanz neu starten
                            -> Alles i.O.
                            -> State wird auf "on" gesetzt.

                            W Offline
                            W Offline
                            Webwanze
                            schrieb am zuletzt editiert von Webwanze
                            #155

                            Wenn ich nun ein weiteres Device hinzufüge, wird der State ebenfalls nicht upgedated.
                            State von Hand auf z.B. "off" setzen.
                            Instanz neu starten

                            funktioniert.

                            Die Were für "Changed" und "RecommendedState" werden übrigens nicht gesetzt. Evtl. wird das auch nicht von der Instanz versucht ...

                            Rene_HMR 2 Antworten Letzte Antwort
                            0
                            • W Webwanze

                              Wenn ich nun ein weiteres Device hinzufüge, wird der State ebenfalls nicht upgedated.
                              State von Hand auf z.B. "off" setzen.
                              Instanz neu starten

                              funktioniert.

                              Die Were für "Changed" und "RecommendedState" werden übrigens nicht gesetzt. Evtl. wird das auch nicht von der Instanz versucht ...

                              Rene_HMR Offline
                              Rene_HMR Offline
                              Rene_HM
                              Developer
                              schrieb am zuletzt editiert von
                              #156

                              @webwanze sagte in Adapter: SMA SEMP:

                              Die Werte für "Changed" und "RecommendedState" werden übrigens nicht gesetzt

                              Die werden erst gesetzt, wenn eine Energieanforderung vom SHM beantwortet wurde. Solange du dein Gerät auf "immer an" hast und keine Energieanforderung stellst, reagiert der SHM nicht. Das Gerät wird dann nur im Portal dargestellt und zur Berechnung der Prognose herangezogen...

                              1 Antwort Letzte Antwort
                              0
                              • W Webwanze

                                Wenn ich nun ein weiteres Device hinzufüge, wird der State ebenfalls nicht upgedated.
                                State von Hand auf z.B. "off" setzen.
                                Instanz neu starten

                                funktioniert.

                                Die Were für "Changed" und "RecommendedState" werden übrigens nicht gesetzt. Evtl. wird das auch nicht von der Instanz versucht ...

                                Rene_HMR Offline
                                Rene_HMR Offline
                                Rene_HM
                                Developer
                                schrieb am zuletzt editiert von
                                #157

                                @webwanze sagte in Adapter: SMA SEMP:

                                State von Hand auf z.B. "off" setzen.
                                Instanz neu starten
                                funktioniert.

                                Habe die Reihenfolge des startups vom Adapter geändert. Außerdem schreibe ich jetzt default-Werte auf die DP. Hoffe, das löst das Problem...

                                W 1 Antwort Letzte Antwort
                                0
                                • Rene_HMR Rene_HM

                                  @webwanze sagte in Adapter: SMA SEMP:

                                  State von Hand auf z.B. "off" setzen.
                                  Instanz neu starten
                                  funktioniert.

                                  Habe die Reihenfolge des startups vom Adapter geändert. Außerdem schreibe ich jetzt default-Werte auf die DP. Hoffe, das löst das Problem...

                                  W Offline
                                  W Offline
                                  Webwanze
                                  schrieb am zuletzt editiert von
                                  #158

                                  @rene_hm

                                  Scheint jetzt zu funkionieren:

                                  2023-03-11 14:33:46.618 - info: host.ioBroker "system.adapter.semp.0" enabled
                                  2023-03-11 14:33:46.650 - info: host.ioBroker instance system.adapter.semp.0 started with pid 4472
                                  2023-03-11 14:33:47.283 - debug: semp.0 (4472) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                  2023-03-11 14:33:47.302 - debug: semp.0 (4472) Objects client ready ... initialize now
                                  2023-03-11 14:33:47.303 - debug: semp.0 (4472) Objects create System PubSub Client
                                  2023-03-11 14:33:47.304 - debug: semp.0 (4472) Objects create User PubSub Client
                                  2023-03-11 14:33:47.317 - debug: semp.0 (4472) Objects client initialize lua scripts
                                  2023-03-11 14:33:47.321 - debug: semp.0 (4472) Objects connected to redis: 127.0.0.1:9001
                                  2023-03-11 14:33:47.332 - debug: semp.0 (4472) Redis States: Use Redis connection: 127.0.0.1:9000
                                  2023-03-11 14:33:47.337 - debug: semp.0 (4472) States create System PubSub Client
                                  2023-03-11 14:33:47.338 - debug: semp.0 (4472) States create User PubSub Client
                                  2023-03-11 14:33:47.347 - debug: semp.0 (4472) States connected to redis: 127.0.0.1:9000
                                  2023-03-11 14:33:47.370 - debug: semp.0 (4472) Plugin sentry Initialize Plugin (enabled=true)
                                  2023-03-11 14:33:47.546 - info: semp.0 (4472) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#ba417263657375badc4c456e5859f8b0e308da66) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                                  2023-03-11 14:33:47.563 - debug: semp.0 (4472) SSDPServer created: http://192.168.1.2:9765/description.xml 58ee6313-b746-46aa-aae2-954018429865
                                  2023-03-11 14:33:47.568 - debug: semp.0 (4472) SEMPServer created
                                  2023-03-11 14:33:47.568 - debug: semp.0 (4472) gateway created...
                                  2023-03-11 14:33:47.571 - debug: semp.0 (4472) SEMP server listening on 9765
                                  2023-03-11 14:33:47.574 - debug: semp.0 (4472) SSDPServer started
                                  2023-03-11 14:33:47.574 - debug: semp.0 (4472) gateway started...
                                  2023-03-11 14:33:47.574 - debug: semp.0 (4472) Started all!
                                  2023-03-11 14:33:47.575 - debug: semp.0 (4472) add device {"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                                  2023-03-11 14:33:47.575 - debug: semp.0 (4472) add device F-12345678-123456789012-12
                                  2023-03-11 14:33:47.576 - debug: semp.0 (4472) can use optional energy: false
                                  2023-03-11 14:33:47.577 - info: semp.0 (4472) device created F-12345678-123456789012-12 newDevice0
                                  2023-03-11 14:33:47.577 - debug: semp.0 (4472) set device
                                  2023-03-11 14:33:47.577 - debug: semp.0 (4472) newDevice0 setState On
                                  2023-03-11 14:33:47.578 - debug: semp.0 (4472) UpdateData
                                  2023-03-11 14:33:47.579 - debug: semp.0 (4472) device {"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                                  2023-03-11 14:33:47.579 - debug: semp.0 (4472) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                                  2023-03-11 14:33:47.579 - debug: semp.0 (4472) result [{"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                                  2023-03-11 14:33:47.593 - debug: semp.0 (4472) newDevice0 got {"val":"on","ack":true,"ts":1678541192446,"q":0,"from":"system.adapter.semp.0","user":"system.user.admin","lc":1678541192446} from Devices.newDevice0.State
                                  2023-03-11 14:33:47.597 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"recommended state from SHM","type":"boolean","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192445,"_id":"semp.0.Devices.newDevice0.RecommendedState","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.RecommendedState
                                  2023-03-11 14:33:47.649 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"last time recommendation changed","type":"string","role":"value.time","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192499,"_id":"semp.0.Devices.newDevice0.Changed","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.Changed
                                  2023-03-11 14:33:47.650 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"current State","type":"string","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192505,"_id":"semp.0.Devices.newDevice0.State","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.State
                                  2023-03-11 14:33:47.652 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"Energy used","type":"number","unit":"Wh","role":"value","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192509,"_id":"semp.0.Devices.newDevice0.Energy","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.Energy
                                  2023-03-11 14:33:47.655 - debug: semp.0 (4472) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                                  2023-03-11 14:33:47.657 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:33:47.681 - debug: semp.0 (4472) newDevice0 got {"val":"on","ack":true,"ts":1678541192446,"q":0,"from":"system.adapter.semp.0","user":"system.user.admin","lc":1678541192446} from Devices.newDevice0.State
                                  2023-03-11 14:33:50.632 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:33:50.632 - info: semp.0 (4472) adapter discovered by SHM
                                  2023-03-11 14:33:56.466 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:33:56.466 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:33:56.467 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:33:56.469 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:33:56.470 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:33:56.627 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:33:56.627 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:33:56.627 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:33:56.628 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:33:56.629 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:33:56.727 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:33:56.727 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:33:56.727 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:33:56.728 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:33:56.728 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:34:00.048 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:34:00.048 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541627657 = 0.11358416666666667Wh
                                  2023-03-11 14:34:07.617 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:34:15.008 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:34:15.008 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541640048 = 0.2507175Wh
                                  2023-03-11 14:34:27.620 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:34:30.026 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:34:30.027 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541655008 = 0.3883916666666667Wh
                                  2023-03-11 14:34:41.757 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:34:41.795 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:34:45.008 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:34:45.008 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541670027 = 0.5257175000000001Wh
                                  2023-03-11 14:34:47.615 - debug: semp.0 (4472) SHM requested description
                                  2023-03-11 14:34:56.905 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:34:56.905 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:34:56.906 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:34:56.907 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:34:56.909 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:34:57.093 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:34:57.093 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:34:57.094 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:34:57.094 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:34:57.095 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:34:57.185 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                  2023-03-11 14:34:57.186 - debug: semp.0 (4472) get all devices
                                  2023-03-11 14:34:57.186 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                  2023-03-11 14:34:57.186 - debug: semp.0 (4472) response xml
                                  F-12345678-123456789012-12
                                  newDevice0
                                  Dryer
                                  1234
                                  ACME
                                  1000
                                  Measurement
                                  false
                                  false
                                  false
                                  F-12345678-123456789012-12
                                  true
                                  On
                                  33
                                  0
                                  60
                                  2023-03-11 14:34:57.187 - debug: semp.0 (4472) response sent
                                  2023-03-11 14:35:00.013 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                  2023-03-11 14:35:00.014 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541685008 = 0.6632633333333334Wh
                                  
                                  
                                  C 1 Antwort Letzte Antwort
                                  0
                                  • W Webwanze

                                    @rene_hm

                                    Scheint jetzt zu funkionieren:

                                    2023-03-11 14:33:46.618 - info: host.ioBroker "system.adapter.semp.0" enabled
                                    2023-03-11 14:33:46.650 - info: host.ioBroker instance system.adapter.semp.0 started with pid 4472
                                    2023-03-11 14:33:47.283 - debug: semp.0 (4472) Redis Objects: Use Redis connection: 127.0.0.1:9001
                                    2023-03-11 14:33:47.302 - debug: semp.0 (4472) Objects client ready ... initialize now
                                    2023-03-11 14:33:47.303 - debug: semp.0 (4472) Objects create System PubSub Client
                                    2023-03-11 14:33:47.304 - debug: semp.0 (4472) Objects create User PubSub Client
                                    2023-03-11 14:33:47.317 - debug: semp.0 (4472) Objects client initialize lua scripts
                                    2023-03-11 14:33:47.321 - debug: semp.0 (4472) Objects connected to redis: 127.0.0.1:9001
                                    2023-03-11 14:33:47.332 - debug: semp.0 (4472) Redis States: Use Redis connection: 127.0.0.1:9000
                                    2023-03-11 14:33:47.337 - debug: semp.0 (4472) States create System PubSub Client
                                    2023-03-11 14:33:47.338 - debug: semp.0 (4472) States create User PubSub Client
                                    2023-03-11 14:33:47.347 - debug: semp.0 (4472) States connected to redis: 127.0.0.1:9000
                                    2023-03-11 14:33:47.370 - debug: semp.0 (4472) Plugin sentry Initialize Plugin (enabled=true)
                                    2023-03-11 14:33:47.546 - info: semp.0 (4472) starting. Version 0.3.1 (non-npm: rg-engineering/ioBroker.semp#ba417263657375badc4c456e5859f8b0e308da66) in /opt/iobroker/node_modules/iobroker.semp, node: v16.19.0, js-controller: 4.0.24
                                    2023-03-11 14:33:47.563 - debug: semp.0 (4472) SSDPServer created: http://192.168.1.2:9765/description.xml 58ee6313-b746-46aa-aae2-954018429865
                                    2023-03-11 14:33:47.568 - debug: semp.0 (4472) SEMPServer created
                                    2023-03-11 14:33:47.568 - debug: semp.0 (4472) gateway created...
                                    2023-03-11 14:33:47.571 - debug: semp.0 (4472) SEMP server listening on 9765
                                    2023-03-11 14:33:47.574 - debug: semp.0 (4472) SSDPServer started
                                    2023-03-11 14:33:47.574 - debug: semp.0 (4472) gateway started...
                                    2023-03-11 14:33:47.574 - debug: semp.0 (4472) Started all!
                                    2023-03-11 14:33:47.575 - debug: semp.0 (4472) add device {"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}]}
                                    2023-03-11 14:33:47.575 - debug: semp.0 (4472) add device F-12345678-123456789012-12
                                    2023-03-11 14:33:47.576 - debug: semp.0 (4472) can use optional energy: false
                                    2023-03-11 14:33:47.577 - info: semp.0 (4472) device created F-12345678-123456789012-12 newDevice0
                                    2023-03-11 14:33:47.577 - debug: semp.0 (4472) set device
                                    2023-03-11 14:33:47.577 - debug: semp.0 (4472) newDevice0 setState On
                                    2023-03-11 14:33:47.578 - debug: semp.0 (4472) UpdateData
                                    2023-03-11 14:33:47.579 - debug: semp.0 (4472) device {"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}
                                    2023-03-11 14:33:47.579 - debug: semp.0 (4472) result [{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}]
                                    2023-03-11 14:33:47.579 - debug: semp.0 (4472) result [{"IsActive":true,"ID":"F-12345678-123456789012-12","Name":"newDevice0","Vendor":"ACME","Type":"Dryer","SerialNr":"1234","MaxPower":"1000","MinPower":"0","InterruptionsAllowed":false,"MinOnTime":"","MaxOnTime":"","MinOffTime":"","MaxOffTime":"","MeasurementMethod":"Measurement","OID_Power":"0_userdata.0.DEVICES.ECENTRALHEATING_P","MeasurementUnit":"W","BatteryCapacity":"","WallboxHas3phaseEnabler":false,"StatusDetection":"AlwaysOn","StatusDetectionLimit":0,"StatusDetectionLimitTimeOn":0,"StatusDetectionLimitTimeOff":0,"StatusDetectionMinRunTime":0,"OID_Status":"","HasOIDSwitch":false,"OID_Switch":"","SwitchOffAtEndOfTimer":false,"TimerActive":false,"TimerCancelIfNotOn":false,"TimerCancelIfNotOnTime":0,"EnergyRequestPeriods":[{"ID":"1","Days":"","EarliestStartTime":"","LatestEndTime":"","MinRunTime":"","MaxRunTime":""}],"WallboxOIDs":[{"active":true,"must":"obligatorisch","Name":"DeviceOIDPlugConnected","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsCharging","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDIsError","OID":"","Type":"Boolean","SetValue":"true"},{"active":true,"must":"obligatorisch","Name":"DeviceOIDChargePower","OID":"","Type":"Number","SetValue":"0"},{"active":false,"must":"optional","Name":"DeviceOIDStartCharge","OID":"","Type":"Boolean","SetValue":"true"},{"active":false,"must":"optional","Name":"DeviceOIDStopCharge","OID":"","Type":"Boolean","SetValue":"true"}],"OptionalEnergy":false}]
                                    2023-03-11 14:33:47.593 - debug: semp.0 (4472) newDevice0 got {"val":"on","ack":true,"ts":1678541192446,"q":0,"from":"system.adapter.semp.0","user":"system.user.admin","lc":1678541192446} from Devices.newDevice0.State
                                    2023-03-11 14:33:47.597 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"recommended state from SHM","type":"boolean","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192445,"_id":"semp.0.Devices.newDevice0.RecommendedState","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.RecommendedState
                                    2023-03-11 14:33:47.649 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"last time recommendation changed","type":"string","role":"value.time","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192499,"_id":"semp.0.Devices.newDevice0.Changed","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.Changed
                                    2023-03-11 14:33:47.650 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"current State","type":"string","role":"state","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192505,"_id":"semp.0.Devices.newDevice0.State","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.State
                                    2023-03-11 14:33:47.652 - debug: semp.0 (4472) newDevice0 got object {"type":"state","common":{"name":"Energy used","type":"number","unit":"Wh","role":"value","read":true,"write":false},"from":"system.adapter.semp.0","user":"system.user.admin","ts":1678541192509,"_id":"semp.0.Devices.newDevice0.Energy","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}} for Devices.newDevice0.Energy
                                    2023-03-11 14:33:47.655 - debug: semp.0 (4472) subscribe OID_Power 0_userdata.0.DEVICES.ECENTRALHEATING_P
                                    2023-03-11 14:33:47.657 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:33:47.681 - debug: semp.0 (4472) newDevice0 got {"val":"on","ack":true,"ts":1678541192446,"q":0,"from":"system.adapter.semp.0","user":"system.user.admin","lc":1678541192446} from Devices.newDevice0.State
                                    2023-03-11 14:33:50.632 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:33:50.632 - info: semp.0 (4472) adapter discovered by SHM
                                    2023-03-11 14:33:56.466 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:33:56.466 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:33:56.467 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:33:56.469 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:33:56.470 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:33:56.627 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:33:56.627 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:33:56.627 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:33:56.628 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:33:56.629 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:33:56.727 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:33:56.727 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:33:56.727 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:33:56.728 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:33:56.728 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:34:00.048 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:34:00.048 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541627657 = 0.11358416666666667Wh
                                    2023-03-11 14:34:07.617 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:34:15.008 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:34:15.008 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541640048 = 0.2507175Wh
                                    2023-03-11 14:34:27.620 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:34:30.026 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:34:30.027 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541655008 = 0.3883916666666667Wh
                                    2023-03-11 14:34:41.757 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:34:41.795 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:34:45.008 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:34:45.008 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541670027 = 0.5257175000000001Wh
                                    2023-03-11 14:34:47.615 - debug: semp.0 (4472) SHM requested description
                                    2023-03-11 14:34:56.905 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:34:56.905 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:34:56.906 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:34:56.907 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:34:56.909 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:34:57.093 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:34:57.093 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:34:57.094 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:34:57.094 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:34:57.095 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:34:57.185 - debug: semp.0 (4472) SHM requested all devices. /semp/ ::ffff:192.168.0.49 http
                                    2023-03-11 14:34:57.186 - debug: semp.0 (4472) get all devices
                                    2023-03-11 14:34:57.186 - debug: semp.0 (4472) get all devices [{"deviceInfo":{"Identification":{"DeviceId":"F-12345678-123456789012-12","DeviceName":"newDevice0","DeviceType":"Dryer","DeviceSerial":"1234","DeviceVendor":"ACME"},"Characteristics":{"MaxPowerConsumption":"1000"},"Capabilities":{"CurrentPower":{"Method":"Measurement"},"Timestamps":{"AbsoluteTimestamps":false},"Interruptions":{"InterruptionsAllowed":false},"Requests":{"OptionalEnergy":false}}},"deviceStatus":{"DeviceId":"F-12345678-123456789012-12","EMSignalsAccepted":true,"Status":"On","PowerConsumption":{"PowerInfo":[{"AveragePower":33,"Timestamp":0,"AveragingInterval":60}]}},"planningRequest":{"Timeframe":[]}}]
                                    2023-03-11 14:34:57.186 - debug: semp.0 (4472) response xml
                                    F-12345678-123456789012-12
                                    newDevice0
                                    Dryer
                                    1234
                                    ACME
                                    1000
                                    Measurement
                                    false
                                    false
                                    false
                                    F-12345678-123456789012-12
                                    true
                                    On
                                    33
                                    0
                                    60
                                    2023-03-11 14:34:57.187 - debug: semp.0 (4472) response sent
                                    2023-03-11 14:35:00.013 - debug: semp.0 (4472) newDevice0 setLastPower 33 number AlwaysOn W
                                    2023-03-11 14:35:00.014 - debug: semp.0 (4472) newDevice0 calc energy 33 1678541685008 = 0.6632633333333334Wh
                                    
                                    
                                    C Offline
                                    C Offline
                                    cb187
                                    schrieb am zuletzt editiert von
                                    #159

                                    Nutzt hier noch keiner die PV Überschussladen Funktion mit automatischer Phasenumschaltung?

                                    C 1 Antwort Letzte Antwort
                                    0
                                    • C cb187

                                      Nutzt hier noch keiner die PV Überschussladen Funktion mit automatischer Phasenumschaltung?

                                      C Offline
                                      C Offline
                                      cb187
                                      schrieb am zuletzt editiert von
                                      #160

                                      Hab jetzt mal zwei Wallbox hinzugefügt, schade er lässt nicht beide gleichzeitig laden und teilt sich das auf.Schaltet nur zwischen beiden Boxen immer um.

                                      Rene_HMR 1 Antwort Letzte Antwort
                                      0
                                      • C cb187

                                        Hab jetzt mal zwei Wallbox hinzugefügt, schade er lässt nicht beide gleichzeitig laden und teilt sich das auf.Schaltet nur zwischen beiden Boxen immer um.

                                        Rene_HMR Offline
                                        Rene_HMR Offline
                                        Rene_HM
                                        Developer
                                        schrieb am zuletzt editiert von
                                        #161

                                        @cb187 reicht PV - Leistung nicht für beide?

                                        C 1 Antwort Letzte Antwort
                                        0
                                        • Rene_HMR Rene_HM

                                          @cb187 reicht PV - Leistung nicht für beide?

                                          C Offline
                                          C Offline
                                          cb187
                                          schrieb am zuletzt editiert von
                                          #162

                                          @rene_hm für beide hätte es gereicht wenn es aufgeteilt wäre.Aber ka wie sma das handhabt bzw ist die frage ob das bei den überhaupt geht.

                                          C 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          631

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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