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