Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: SMA SEMP

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Adapter: SMA SEMP

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Webwanze @Rene_HM last edited by 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_HM 1 Reply Last reply Reply Quote 0
      • Rene_HM
        Rene_HM Developer @Webwanze last edited by

        @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 Reply Last reply Reply Quote 0
        • W
          Webwanze @Rene_HM last edited by

          @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_HM 1 Reply Last reply Reply Quote 0
          • Rene_HM
            Rene_HM Developer @Webwanze last edited by

            @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 Reply Last reply Reply Quote 0
            • W
              Webwanze @Rene_HM last edited by

              @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_HM 1 Reply Last reply Reply Quote 0
              • Rene_HM
                Rene_HM Developer @Webwanze last edited by 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 1 Reply Last reply Reply Quote 0
                • W
                  Webwanze @Rene_HM last edited by

                  @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_HM 1 Reply Last reply Reply Quote 0
                  • Rene_HM
                    Rene_HM Developer @Webwanze last edited by

                    @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 Reply Last reply Reply Quote 0
                    • W
                      Webwanze @Rene_HM last edited by 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 1 Reply Last reply Reply Quote 0
                      • W
                        Webwanze @Webwanze last edited by 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_HM 2 Replies Last reply Reply Quote 0
                        • Rene_HM
                          Rene_HM Developer @Webwanze last edited by

                          @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 Reply Last reply Reply Quote 0
                          • Rene_HM
                            Rene_HM Developer @Webwanze last edited by

                            @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 Reply Last reply Reply Quote 0
                            • W
                              Webwanze @Rene_HM last edited by

                              @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 Reply Last reply Reply Quote 0
                              • C
                                cb187 @Webwanze last edited by

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

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  cb187 @cb187 last edited by

                                  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_HM 1 Reply Last reply Reply Quote 0
                                  • Rene_HM
                                    Rene_HM Developer @cb187 last edited by

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

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      cb187 @Rene_HM last edited by

                                      @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 Reply Last reply Reply Quote 0
                                      • C
                                        cb187 @cb187 last edited by

                                        @Rene_HM Was ich nicht verstehe beobachte ich gerade wieder wenn zb die WP eingeplant ist und genügend PV Überschusss da ist bricht immer Wallbox nach kurzer Zeit ab.Wenn die nicht existiert dann funzt das top.Ich glaub wir müssen uns mal über anydesk verbinden.Damit du da mal life siehst und besser interpretieren kannst.

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          cb187 @cb187 last edited by

                                          IMG_5627.jpeg

                                          Besser machts der Evcc usw auch nicht.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            beender last edited by

                                            Hallo zusammen,

                                            ich verstehe das Verhalten von dem Plugin oder SMA nicht, oder ich habe etwas komplett falsch konfiguriert.
                                            Aktuell habe ich einen Überschuss von ca. 6000W und die Empfehlung vom Home Manager sind 0 W:

                                            f733f3ae-4315-40fe-bcb1-ba281759741e-image.png

                                            Ich versuche damit meine Wallbox zu steuern. Für eine halbe Stunde hat diese auch geladen, dann wurde diese gestoppt.
                                            Die Wallbox ist recht minimal konfiguriert:
                                            5d1ce0f2-642c-4f33-b7df-650247df1e23-image.png

                                            c8ff151f-5da9-48f1-8975-fcd3c57e1d92-image.png

                                            46512203-d91e-4a0f-8795-d8fe7679c6ef-image.png

                                            Grüße
                                            Philipp

                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            979
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            25
                                            232
                                            24089
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo