NEWS
Adapter: SMA SEMP
-
Wenn ich nun ein weiteres Device hinzufüge, wird der State ebenfalls nicht upgedated.
State von Hand auf z.B. "off" setzen.
Instanz neu startenfunktioniert.
Die Were für "Changed" und "RecommendedState" werden übrigens nicht gesetzt. Evtl. wird das auch nicht von der Instanz versucht ...
-
@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...
-
@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...
-
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
-
Nutzt hier noch keiner die PV Überschussladen Funktion mit automatischer Phasenumschaltung?
-
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.
-
@cb187 reicht PV - Leistung nicht für beide?
-
@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.
-
@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.
-
Besser machts der Evcc usw auch nicht.
-
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: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:
Grüße
Philipp -
@beender hey stell mal min energy und max energy auf 0 ein.Und dann sollte reiner PV Überschuss direkt gehen.
Wenn du ne 11kw Wallbox hast solltest du dann auch bei max power 11020 einstellen.beim go musste ich noch drei script hinzufügen.
-
Ich habe noch eine Vermutung. Ich lese die Daten per Modbus von meiner ABB Terra AC aus, bekomme aber gefühlt nicht den korrekten State für "Plug Connected" raus. Das ist vermutlich auch der Grund für den Abbruch.
Die 3800 W sind eher auf mein Hybrid-Auto bezogen, da dieses nur 1-phasig laden kann. Ich habe es trotzdem mal auf die 11kW gesetzt.
Ich werde noch probieren den Plug Connected Status konstant auf true zu setzen. Von mir aus kann der SHM die Wallbox dauerhaft überwachen / kontrollieren. Vermutlich geht das meiste eh über die genutzte Charge Power.
-
Ok probier mal aus.ist ja schnell gemacht plug connect zuerstellen.
@beender said in Adapter: SMA SEMP:
Ich habe noch eine Vermutung. Ich lese die Daten per Modbus von meiner ABB Terra AC aus, bekomme aber gefühlt nicht den korrekten State für "Plug Connected" raus. Das ist vermutlich auch der Grund für den Abbruch.
Die 3800 W sind eher auf mein Hybrid-Auto bezogen, da dieses nur 1-phasig laden kann. Ich habe es trotzdem mal auf die 11kW gesetzt.
Ich werde noch probieren den Plug Connected Status konstant auf true zu setzen. Von mir aus kann der SHM die Wallbox dauerhaft überwachen / kontrollieren. Vermutlich geht das meiste eh über die genutzte Charge Power.
-
Ich habe die Version 1.2.0 des Adapters released.
Folgende Änderungen sind enthalten:
- man kann eine URL anstatt eines einfachen Datenpunktes für die Konfiguration der Schnittstelle der wallbox verwenden
- bug fix: ein Gerät, welches aufgrund einer Energeianforderung durch den SHM eingeschaltet wird, wird am Ende der maximalen Einschaltdauer oder am Ende des timeframes automatisch ausgeschaltet. Die Optio diesbezüglich wurde entfernt
-
bei mir will der Adapter auch nicht so ganz
seh ich aber bekomme keine Geräte geladen auf der Übersicht...
der response sieht eigentlich gut aus würde ich sagen..<?xml version="1.0" encoding="utf-8"?> <Device2EM xmlns="http://www.sma.de/communication/schema/SEMP/v1"> <DeviceInfo> <Identification> <DeviceId>F-7.442202-000000000001-00</DeviceId> <DeviceName>Waschmaschiene</DeviceName> <DeviceType>WashingMachine</DeviceType> <DeviceSerial>111111111111</DeviceSerial> <DeviceVendor>Siemens</DeviceVendor> </Identification> <Characteristics> <MaxPowerConsumption>3500</MaxPowerConsumption> </Characteristics> <Capabilities> <CurrentPower> <Method>Measurement</Method> </CurrentPower> <Timestamps> <AbsoluteTimestamps>false</AbsoluteTimestamps> </Timestamps> <Interruptions> <InterruptionsAllowed>false</InterruptionsAllowed> </Interruptions> <Requests> <OptionalEnergy>false</OptionalEnergy> </Requests> </Capabilities> </DeviceInfo> <DeviceInfo> <Identification> <DeviceId>F-7.442202-000000000002-00</DeviceId> <DeviceName>Hundi-Waschmaschiene</DeviceName> <DeviceType>WashingMachine</DeviceType> <DeviceSerial>2222222222</DeviceSerial> <DeviceVendor>Samsung</DeviceVendor> </Identification> <Characteristics> <MaxPowerConsumption>3500</MaxPowerConsumption> </Characteristics> <Capabilities> <CurrentPower> <Method>Measurement</Method> </CurrentPower> <Timestamps> <AbsoluteTimestamps>false</AbsoluteTimestamps> </Timestamps> <Interruptions> <InterruptionsAllowed>false</InterruptionsAllowed> </Interruptions> <Requests> <OptionalEnergy>false</OptionalEnergy> </Requests> </Capabilities> </DeviceInfo> <DeviceStatus> <DeviceId>F-7.442202-000000000001-00</DeviceId> <EMSignalsAccepted>true</EMSignalsAccepted> <Status>On</Status> <PowerConsumption> <PowerInfo> <AveragePower>0</AveragePower> <Timestamp>0</Timestamp> <AveragingInterval>60</AveragingInterval> </PowerInfo> </PowerConsumption> </DeviceStatus> <DeviceStatus> <DeviceId>F-7.442202-000000000002-00</DeviceId> <EMSignalsAccepted>true</EMSignalsAccepted> <Status>On</Status> <PowerConsumption> <PowerInfo> <AveragePower>0</AveragePower> <Timestamp>0</Timestamp> <AveragingInterval>60</AveragingInterval> </PowerInfo> </PowerConsumption> </DeviceStatus> </Device2EM>
ausserdem bekomme ich die csv nicht geschrieben..
mit welchen rechten versuchst du die zu schreibenmaster semp.0: exception in WriteCSVLog [Error: ENOENT: no such file or directory, open ''] 04 Jun 2023 19:47:11.466 master semp.0: exception in CreateFilename [Error: ENOENT: no such file or directory, stat 'home/iobroker/semp.csv']
egal welchen Ordner ich nehme..
master semp.0: exception in WriteCSVLog [Error: ENOENT: no such file or directory, open ''] 04 Jun 2023 19:48:03.482 master semp.0: exception in WriteCSVLog [Error: ENOENT: no such file or directory, open ''] 04 Jun 2023 19:48:03.286 master semp.0: exception in WriteCSVLog [Error: ENOENT: no such file or directory, open ''] 04 Jun 2023 19:48:03.261 master semp.0: exception in CreateFilename [Error: ENOENT: no such file or directory, stat '/home/iobroker/javascript/semp.csv']
hier /home/iobroker/javascript darf der iobroker user 100% schreiben da ich eine kopie meiner Script da ablege ..
-
home/iobroker/semp.csv
ich denke, hier fehlt der führende "/" also
/home/iobroker/semp.csv
und die DeviceID würde ich ohne Punkt versuchen
also anstattF-7.442202-000000000001-00
besser
F-74422020-000000000001-00
-
nene
master semp.0: exception in WriteCSVLog [Error: ENOENT: no such file or directory, open ''] 04 Jun 2023 20:20:35.164 master semp.0: exception in CreateFilename [Error: ENOENT: no such file or directory, stat '/home/iobroker/semp.csv']
und mit dem . oder ohne.. auch nicht
<?xml version="1.0" encoding="utf-8"?> <Device2EM xmlns="http://www.sma.de/communication/schema/SEMP/v1"> <DeviceInfo> <Identification> <DeviceId>F-7442202-000000000001-00</DeviceId> <DeviceName>Waschmaschiene</DeviceName> <DeviceType>WashingMachine</DeviceType> <DeviceSerial>111111111111</DeviceSerial> <DeviceVendor>Siemens</DeviceVendor> </Identification> <Characteristics> <MaxPowerConsumption>3500</MaxPowerConsumption> </Characteristics> <Capabilities> <CurrentPower> <Method>Measurement</Method> </CurrentPower> <Timestamps> <AbsoluteTimestamps>false</AbsoluteTimestamps> </Timestamps> <Interruptions> <InterruptionsAllowed>false</InterruptionsAllowed> </Interruptions> <Requests> <OptionalEnergy>false</OptionalEnergy> </Requests> </Capabilities> </DeviceInfo> <DeviceInfo> <Identification> <DeviceId>F-7442202-000000000002-00</DeviceId> <DeviceName>Hundi_Waschmaschiene</DeviceName> <DeviceType>WashingMachine</DeviceType> <DeviceSerial>2222222222</DeviceSerial> <DeviceVendor>Samsung</DeviceVendor> </Identification> <Characteristics> <MaxPowerConsumption>3500</MaxPowerConsumption> </Characteristics> <Capabilities> <CurrentPower> <Method>Measurement</Method> </CurrentPower> <Timestamps> <AbsoluteTimestamps>false</AbsoluteTimestamps> </Timestamps> <Interruptions> <InterruptionsAllowed>false</InterruptionsAllowed> </Interruptions> <Requests> <OptionalEnergy>false</OptionalEnergy> </Requests> </Capabilities> </DeviceInfo> <DeviceStatus> <DeviceId>F-7442202-000000000001-00</DeviceId> <EMSignalsAccepted>true</EMSignalsAccepted> <Status>On</Status> <PowerConsumption> <PowerInfo> <AveragePower>0</AveragePower> <Timestamp>0</Timestamp> <AveragingInterval>60</AveragingInterval> </PowerInfo> </PowerConsumption> </DeviceStatus> <DeviceStatus> <DeviceId>F-7442202-000000000002-00</DeviceId> <EMSignalsAccepted>true</EMSignalsAccepted> <Status>On</Status> <PowerConsumption> <PowerInfo> <AveragePower>0</AveragePower> <Timestamp>0</Timestamp> <AveragingInterval>60</AveragingInterval> </PowerInfo> </PowerConsumption> </DeviceStatus> </Device2EM>
-
@arteck versuche es mal ohne Angaber der csv-Datei, einfach nur /home/iobroker. Die csv legt der Adapter selbst an.
und bzgl. Device-ID: wenn du den Punkt weglässt, musst du noch ein Zeichen hinzufügen. Dieser Teil der DeviceID muss 8 Zeichen lang sein.
Hat der Adapter die BaseID mit dem Punkt selbst generiert? Wenn ja, muss ich das noch beheben... -
@rene_hm sagte in Adapter: SMA SEMP:
Hat der Adapter die BaseID mit dem Punkt selbst generiert? Wenn ja, muss ich das noch beheben...
jo hat der
ahhh ok dann schau ich mal...
@rene_hm sagte in Adapter: SMA SEMP:
Dieser Teil der DeviceID muss 8 Zeichen lang sein.
mist hast recht ..muss ich schauen .. ich habs nur gelöscht
mit der Datei check ich auch.. das hab ich nicht gemacht..
NAchtrag : jo gehts.. mit ohne angabe der csv also nur mit /home/iobroker gehts..
und mit den 8 Stelligen kennung ..hab ich die Geräte jetzt auch im sunny Portal