NEWS
Alpha Testing: OCPP Wallbox Adapter
-
Sorry gelobe Besserung
pi@iobroker-pi:~ $ iobroker debug ocpp Debugger listening on ws://127.0.0.1:9229/9525d1f9-4e6e-4427-8085-06d0c63aa0a6 For help, see: https://nodejs.org/en/docs/inspector 2022-07-08 19:11:02.689 - debug: ocpp.0 (1506) Redis Objects: Use Redis connection: 127.0.0.1:9001 2022-07-08 19:11:02.785 - debug: ocpp.0 (1506) Objects client ready ... initialize now 2022-07-08 19:11:02.790 - debug: ocpp.0 (1506) Objects create System PubSub Client 2022-07-08 19:11:02.793 - debug: ocpp.0 (1506) Objects create User PubSub Client 2022-07-08 19:11:02.873 - debug: ocpp.0 (1506) Objects client initialize lua scripts 2022-07-08 19:11:02.885 - debug: ocpp.0 (1506) Objects connected to redis: 127.0.0.1:9001 2022-07-08 19:11:02.944 - debug: ocpp.0 (1506) Redis States: Use Redis connection: 127.0.0.1:9000 2022-07-08 19:11:02.969 - debug: ocpp.0 (1506) States create System PubSub Client 2022-07-08 19:11:02.973 - debug: ocpp.0 (1506) States create User PubSub Client 2022-07-08 19:11:03.032 - debug: ocpp.0 (1506) States connected to redis: 127.0.0.1:9000 2022-07-08 19:11:03.124 - error: ocpp.0 (1506) adapter disabled 2022-07-08 19:11:03.428 - info: ocpp.0 (1506) starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.ocpp, node: v14.20.0, js-controller: 4.0.23 2022-07-08 19:11:03.508 - info: ocpp.0 (1506) Starting OCPP Server [winston] Attempt to write logs with no transports, which can increase memory usage: {"message":"Listen on default host:9220","level":"debug"} 2022-07-08 19:11:03.611 - info: ocpp.0 (1506) Server listening on port 9220 2022-07-08 19:11:04.000 - debug: ocpp.0 (1506) Connection from "/C2011601CNYEYPES" with credentials "undefined", protocol: "http", OCPP: ocpp1.6 2022-07-08 19:11:04.002 - info: ocpp.0 (1506) New valid connection from "/C2011601CNYEYPES" (http/ocpp1.6) [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","protocol":"ocpp1.6","isValid":true,"headers":{"connection":"Upgrade","host":"192.168.178.49:9220","sec-websocket-key":"TSCsoaMNHeBhvENtnKEFqQ==","sec-websocket-protocol":"ocpp1.6","sec-websocket-version":"13","upgrade":"websocket"},"level":"info","message":"[OCPP] Request for connect \"/C2011601CNYEYPES\" (ocpp1.6) - Valid identifier. Headers: {\"connection\":\"Upgrade\",\"host\":\"192.168.178.49:9220\",\"sec-websocket-key\":\"TSCsoaMNHeBhvENtnKEFqQ==\",\"sec-websocket-protocol\":\"ocpp1.6\",\"sec-websocket-version\":\"13\",\"upgrade\":\"websocket\"}"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"ip":"::ffff:192.168.178.93","protocol":"ocpp1.6","url":"/C2011601CNYEYPES","level":"info","message":"[OCPP] New connection from \"::ffff:192.168.178.93\", protocol \"ocpp1.6\", url \"/C2011601CNYEYPES\""} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received message: [2,\"11286\",\"BootNotification\",{\"firmwareVersion\":\"1.1.1807.1-2.2.10.23\",\"imsi\":\"460010912121001\",\"chargePointModel\":\"C2EU\",\"chargePointSerialNumber\":\"C2011601CNYEYPES\",\"chargePointVendor\":\"XC\"}] [2,\"11286\",\"BootNotification\",{\"firmwareVersion\":\"1.1.1807.1-2.2.10.23\",\"imsi\":\"460010912121001\",\"chargePointModel\":\"C2EU\",\"chargePointSerialNumber\":\"C2011601CNYEYPES\",\"chargePointVendor\":\"XC\"}]","level":"info"} 2022-07-08 19:11:04.152 - info: ocpp.0 (1506) New device connected: "/C2011601CNYEYPES" 2022-07-08 19:11:04.155 - info: ocpp.0 (1506) Requesting StatusNotification from "/C2011601CNYEYPES" [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending message: [2,\"b71c38c0-1566-4148-b827-47f709a490ef\",\"TriggerMessage\",{\"requestedMessage\":\"StatusNotification\"}] [2,\"b71c38c0-1566-4148-b827-47f709a490ef\",\"TriggerMessage\",{\"requestedMessage\":\"StatusNotification\"}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received response: [3,\"b71c38c0-1566-4148-b827-47f709a490ef\",{\"status\":\"Accepted\"}] [3,\"b71c38c0-1566-4148-b827-47f709a490ef\",{\"status\":\"Accepted\"}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received message: [2,\"11287\",\"StatusNotification\",{\"errorCode\":\"NoError\",\"timestamp\":\"2022-07-08T17:11:03+00:00\",\"connectorId\":1,\"status\":\"Finishing\"}] [2,\"11287\",\"StatusNotification\",{\"errorCode\":\"NoError\",\"timestamp\":\"2022-07-08T17:11:03+00:00\",\"connectorId\":1,\"status\":\"Finishing\"}]","level":"info"} 2022-07-08 19:11:04.213 - debug: ocpp.0 (1506) {"errorCode":"NoError","timestamp":"2022-07-08T17:11:03+00:00","connectorId":1,"status":"Finishing","commandOcpp":"StatusNotification"} 2022-07-08 19:11:04.214 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Finishing [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending response: [3,\"11287\",{}] [3,\"11287\",{}]","level":"info"} 2022-07-08 19:11:04.338 - debug: ocpp.0 (1506) {"firmwareVersion":"1.1.1807.1-2.2.10.23","imsi":"460010912121001","chargePointModel":"C2EU","chargePointSerialNumber":"C2011601CNYEYPES","chargePointVendor":"XC","commandOcpp":"BootNotification"} 2022-07-08 19:11:04.340 - info: ocpp.0 (1506) Received boot notification from "/C2011601CNYEYPES" [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending response: [3,\"11286\",{\"status\":\"Accepted\",\"currentTime\":\"2022-07-08T17:11:04.363Z\",\"interval\":55}] [3,\"11286\",{\"status\":\"Accepted\",\"currentTime\":\"2022-07-08T17:11:04.363Z\",\"interval\":55}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received message: [2,\"11288\",\"StatusNotification\",{\"connectorId\":1,\"timestamp\":\"2022-07-08T17:11:04+00:00\",\"errorCode\":\"NoError\",\"status\":\"Finishing\"}] [2,\"11288\",\"StatusNotification\",{\"connectorId\":1,\"timestamp\":\"2022-07-08T17:11:04+00:00\",\"errorCode\":\"NoError\",\"status\":\"Finishing\"}]","level":"info"} 2022-07-08 19:11:04.578 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:11:04+00:00","errorCode":"NoError","status":"Finishing","commandOcpp":"StatusNotification"} 2022-07-08 19:11:04.581 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Finishing [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending response: [3,\"11288\",{}] [3,\"11288\",{}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received message: [2,\"11289\",\"Heartbeat\",{}] [2,\"11289\",\"Heartbeat\",{}]","level":"info"} 2022-07-08 19:11:04.625 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:11:04.627 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending response: [3,\"11289\",{\"currentTime\":\"2022-07-08T17:11:04.630Z\"}] [3,\"11289\",{\"currentTime\":\"2022-07-08T17:11:04.630Z\"}]","level":"info"} 2022-07-08 19:11:05.212 - info: ocpp.0 (1506) Requesting MeterValues from "/C2011601CNYEYPES" [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending message: [2,\"bd690c97-9bca-4451-a945-d0b289f30f8b\",\"TriggerMessage\",{\"requestedMessage\":\"MeterValues\"}] [2,\"bd690c97-9bca-4451-a945-d0b289f30f8b\",\"TriggerMessage\",{\"requestedMessage\":\"MeterValues\"}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received response: [3,\"bd690c97-9bca-4451-a945-d0b289f30f8b\",{\"status\":\"Accepted\"}] [3,\"bd690c97-9bca-4451-a945-d0b289f30f8b\",{\"status\":\"Accepted\"}]","level":"info"} [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Received message: [2,\"11290\",\"MeterValues\",{\"connectorId\":1,\"meterValue\":[{\"timestamp\":\"2022-07-08T17:11:04+00:00\",\"sampledValue\":[{\"context\":\"Trigger\",\"value\":\"43.0\",\"unit\":\"Celsius\",\"measurand\":\"Temperature\",\"format\":\"Raw\",\"location\":\"Body\"},{\"context\":\"Trigger\",\"value\":\"0.0\",\"unit\":\"A\",\"measurand\":\"Current.Import\",\"format\":\"Raw\",\"location\":\"Outlet\",\"phase\":\"L1\"},{\"context\":\"Trigger\",\"value\":\"234.3\",\"unit\":\"V\",\"measurand\":\"Voltage\",\"format\":\"Raw\",\"location\":\"Outlet\",\"phase\":\"L1\"},{\"context\":\"Trigger\",\"value\":\"0.0\",\"unit\":\"kW\",\"measurand\":\"Power.Active.Import\",\"format\":\"Raw\",\"location\":\"Outlet\"},{\"context\":\"Trigger\",\"value\":\"6340\",\"unit\":\"Wh\",\"measurand\":\"Energy.Active.Import.Register\",\"format\":\"Raw\",\"location\":\"Outlet\"}]}]}] [2,\"11290\",\"MeterValues\",{\"connectorId\":1,\"meterValue\":[{\"timestamp\":\"2022-07-08T17:11:04+00:00\",\"sampledValue\":[{\"context\":\"Trigger\",\"value\":\"43.0\",\"unit\":\"Celsius\",\"measurand\":\"Temperature\",\"format\":\"Raw\",\"location\":\"Body\"},{\"context\":\"Trigger\",\"value\":\"0.0\",\"unit\":\"A\",\"measurand\":\"Current.Import\",\"format\":\"Raw\",\"location\":\"Outlet\",\"phase\":\"L1\"},{\"context\":\"Trigger\",\"value\":\"234.3\",\"unit\":\"V\",\"measurand\":\"Voltage\",\"format\":\"Raw\",\"location\":\"Outlet\",\"phase\":\"L1\"},{\"context\":\"Trigger\",\"value\":\"0.0\",\"unit\":\"kW\",\"measurand\":\"Power.Active.Import\",\"format\":\"Raw\",\"location\":\"Outlet\"},{\"context\":\"Trigger\",\"value\":\"6340\",\"unit\":\"Wh\",\"measurand\":\"Energy.Active.Import.Register\",\"format\":\"Raw\",\"location\":\"Outlet\"}]}]}]","level":"info"} 2022-07-08 19:11:05.304 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:11:04+00:00","sampledValue":[{"context":"Trigger","value":"43.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Trigger","value":"0.0","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Trigger","value":"234.3","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Trigger","value":"0.0","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Trigger","value":"6340","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"commandOcpp":"MeterValues"} 2022-07-08 19:11:05.307 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" [winston] Attempt to write logs with no transports, which can increase memory usage: {"url":"/C2011601CNYEYPES","message":"[OCPP] Sending response: [3,\"11290\",{}] [3,\"11290\",{}]","level":"info"} 2022-07-08 19:11:06.297 - info: ocpp.0 (1506) Sending GetConfiguration to "/C2011601CNYEYPES" 2022-07-08 19:11:59.453 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:11:59.456 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:12:09.710 - debug: ocpp.0 (1506) Sending SetChargingProfile for /C2011601CNYEYPES 2022-07-08 19:12:54.459 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:12:54.461 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES"
-
Was mir auffällt das die Zeit nicht zusammen passt.
Wie reagiert OCPP darauf. wüsste auch nicht wie ich die an der Box einstellen sollte.
Müsste dann eher den ioBroker auf die UTC bringen -
@moonlanderpi sagte in Alpha Testing: OCPP Wallbox Adapter:
@glasfaser
Sorry gelobe BesserungBitte auch die anderen dazu auch änderen , die du zuvor eingestellt hast !
-
@moonlanderpi sagte in Alpha Testing: OCPP Wallbox Adapter:
Was mir auffällt das die Zeit nicht zusammen passt.
Was meinst du? Die Wallbox läuft auf Z-Zeit. Das ist aber vollkommen i. O., würde ich sagen.
-
So habe jetzt mal überall rumgespielt und geloggt.
Es scheint alles irgendwie eine Reaktion auszulösen.
Nur das ChargeLimit verläuft im Sand.Wenn ich TransaktionActive schalte, sendet er auch den eingestellten Limit Wert mit habe ich gesehen. Das ändert nur an der Box nichts da diese stoppt wenn ich da spiele.
Vielleicht kann da jemand was aus dem Log lesen.
Bin da echt ratlos2022-07-08 19:22:04.531 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:22:04.534 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:22:24.979 - debug: ocpp.0 (1506) Sending RemoteStartTransaction for /C2011601CNYEYPES: {"connectorId":1,"idTag":"1","chargingProfile":{"chargingProfileId":1,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":86400,"startSchedule":"2013-01-01T00:00Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":6}]}}} 2022-07-08 19:22:59.532 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:22:59.534 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:23:13.013 - debug: ocpp.0 (1506) Sending SetChargingProfile for /C2011601CNYEYPES 2022-07-08 19:23:21.697 - debug: ocpp.0 (1506) Sending RemoteStopTransaction for /C2011601CNYEYPES 2022-07-08 19:23:34.709 - debug: ocpp.0 (1506) Sending RemoteStartTransaction for /C2011601CNYEYPES: {"connectorId":1,"idTag":"1","chargingProfile":{"chargingProfileId":1,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":86400,"startSchedule":"2013-01-01T00:00Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":8}]}}} 2022-07-08 19:23:54.545 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:23:54.546 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:24:49.557 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:24:49.559 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:25:44.560 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:25:44.562 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:26:39.575 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:26:39.577 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:27:34.583 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:27:34.585 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:28:29.594 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:28:29.596 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:28:32.846 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:28:32+00:00","errorCode":"NoError","status":"Available","commandOcpp":"StatusNotification"} 2022-07-08 19:28:32.847 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Available 2022-07-08 19:28:44.783 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:28:44+00:00","errorCode":"NoError","status":"Preparing","commandOcpp":"StatusNotification"} 2022-07-08 19:28:44.786 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Preparing 2022-07-08 19:29:24.599 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:29:24.601 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:29:37.288 - debug: ocpp.0 (1506) {"timestamp":"2022-07-08T17:29:36+00:00","idTag":"C7131506","connectorId":1,"meterStart":6340,"commandOcpp":"StartTransaction"} 2022-07-08 19:29:37.290 - info: ocpp.0 (1506) Received Start transaction from "/C2011601CNYEYPES" 2022-07-08 19:29:37.394 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:29:36+00:00","errorCode":"NoError","status":"Charging","commandOcpp":"StatusNotification"} 2022-07-08 19:29:37.396 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Charging 2022-07-08 19:30:01.418 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:30:00+00:00","sampledValue":[{"value":"47.0","context":"Sample.Clock","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"value":"9.81","context":"Sample.Clock","unit":"A","measurand":"Current.Import","format":"Raw","phase":"L1","location":"Outlet"},{"value":"225.0","context":"Sample.Clock","unit":"V","measurand":"Voltage","format":"Raw","phase":"L1","location":"Outlet"},{"value":"2.198","context":"Sample.Clock","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"value":"6350","context":"Sample.Clock","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"transactionId":1,"commandOcpp":"MeterValues"} 2022-07-08 19:30:01.421 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" 2022-07-08 19:30:19.603 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:30:19.606 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:30:37.385 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:30:36+00:00","sampledValue":[{"value":"47.0","context":"Sample.Periodic","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"value":"9.95","context":"Sample.Periodic","unit":"A","measurand":"Current.Import","format":"Raw","phase":"L1","location":"Outlet"},{"value":"224.9","context":"Sample.Periodic","unit":"V","measurand":"Voltage","format":"Raw","phase":"L1","location":"Outlet"},{"value":"2.227","context":"Sample.Periodic","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"value":"6380","context":"Sample.Periodic","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"transactionId":1,"commandOcpp":"MeterValues"} 2022-07-08 19:30:37.387 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" 2022-07-08 19:31:14.603 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:31:14.604 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:31:37.587 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:31:37+00:00","sampledValue":[{"value":"45.0","context":"Sample.Periodic","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"value":"10.02","context":"Sample.Periodic","unit":"A","measurand":"Current.Import","format":"Raw","phase":"L1","location":"Outlet"},{"value":"225.8","context":"Sample.Periodic","unit":"V","measurand":"Voltage","format":"Raw","phase":"L1","location":"Outlet"},{"value":"2.253","context":"Sample.Periodic","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"value":"6410","context":"Sample.Periodic","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"transactionId":1,"commandOcpp":"MeterValues"} 2022-07-08 19:31:37.589 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" 2022-07-08 19:32:09.619 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:32:09.621 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:32:37.760 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:32:37+00:00","sampledValue":[{"value":"43.0","context":"Sample.Periodic","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"value":"9.94","context":"Sample.Periodic","unit":"A","measurand":"Current.Import","format":"Raw","phase":"L1","location":"Outlet"},{"value":"225.2","context":"Sample.Periodic","unit":"V","measurand":"Voltage","format":"Raw","phase":"L1","location":"Outlet"},{"value":"2.229","context":"Sample.Periodic","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"value":"6450","context":"Sample.Periodic","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"transactionId":1,"commandOcpp":"MeterValues"} 2022-07-08 19:32:37.762 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" 2022-07-08 19:32:42.762 - debug: ocpp.0 (1506) Sending SetChargingProfile for /C2011601CNYEYPES 2022-07-08 19:33:04.620 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:33:04.623 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:33:37.860 - debug: ocpp.0 (1506) {"connectorId":1,"meterValue":[{"timestamp":"2022-07-08T17:33:37+00:00","sampledValue":[{"value":"42.0","context":"Sample.Periodic","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"value":"9.9","context":"Sample.Periodic","unit":"A","measurand":"Current.Import","format":"Raw","phase":"L1","location":"Outlet"},{"value":"224.5","context":"Sample.Periodic","unit":"V","measurand":"Voltage","format":"Raw","phase":"L1","location":"Outlet"},{"value":"2.215","context":"Sample.Periodic","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"value":"6490","context":"Sample.Periodic","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"transactionId":1,"commandOcpp":"MeterValues"} 2022-07-08 19:33:37.862 - info: ocpp.0 (1506) Received MeterValues from "/C2011601CNYEYPES" 2022-07-08 19:33:59.648 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:33:59.651 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:34:08.486 - debug: ocpp.0 (1506) Sending RemoteStopTransaction for /C2011601CNYEYPES 2022-07-08 19:34:09.804 - debug: ocpp.0 (1506) {"timestamp":"2022-07-08T17:34:08+00:00","transactionData":[{"timestamp":"2022-07-08T17:30:00+00:00","sampledValue":[{"context":"Sample.Clock","value":"47.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Sample.Clock","value":"9.81","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Clock","value":"225.0","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Clock","value":"2.198","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Sample.Clock","value":"6350","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]},{"timestamp":"2022-07-08T17:30:36+00:00","sampledValue":[{"context":"Sample.Periodic","value":"47.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Sample.Periodic","value":"9.95","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"224.9","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"2.227","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Sample.Periodic","value":"6380","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]},{"timestamp":"2022-07-08T17:31:37+00:00","sampledValue":[{"context":"Sample.Periodic","value":"45.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Sample.Periodic","value":"10.02","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"225.8","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"2.253","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Sample.Periodic","value":"6410","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]},{"timestamp":"2022-07-08T17:32:37+00:00","sampledValue":[{"context":"Sample.Periodic","value":"43.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Sample.Periodic","value":"9.94","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"225.2","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"2.229","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Sample.Periodic","value":"6450","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]},{"timestamp":"2022-07-08T17:33:37+00:00","sampledValue":[{"context":"Sample.Periodic","value":"42.0","unit":"Celsius","measurand":"Temperature","format":"Raw","location":"Body"},{"context":"Sample.Periodic","value":"9.9","unit":"A","measurand":"Current.Import","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"224.5","unit":"V","measurand":"Voltage","format":"Raw","location":"Outlet","phase":"L1"},{"context":"Sample.Periodic","value":"2.215","unit":"kW","measurand":"Power.Active.Import","format":"Raw","location":"Outlet"},{"context":"Sample.Periodic","value":"6490","unit":"Wh","measurand":"Energy.Active.Import.Register","format":"Raw","location":"Outlet"}]}],"meterStop":6510,"transactionId":1,"idTag":"C7131506","reason":"Local","commandOcpp":"StopTransaction"} 2022-07-08 19:34:09.810 - info: ocpp.0 (1506) Received stop transaction from "/C2011601CNYEYPES" 2022-07-08 19:34:09.829 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:34:09+00:00","errorCode":"NoError","status":"Finishing","commandOcpp":"StatusNotification"} 2022-07-08 19:34:09.833 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Finishing 2022-07-08 19:34:21.779 - debug: ocpp.0 (1506) Sending RemoteStartTransaction for /C2011601CNYEYPES: {"connectorId":1,"idTag":"1","chargingProfile":{"chargingProfileId":1,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":86400,"startSchedule":"2013-01-01T00:00Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":8}]}}} 2022-07-08 19:34:54.666 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:34:54.668 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:35:21.726 - debug: ocpp.0 (1506) Sending ChangeAvailability for /C2011601CNYEYPES: Inoperative 2022-07-08 19:35:22.320 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:35:21+00:00","errorCode":"NoError","status":"Unavailable","commandOcpp":"StatusNotification"} 2022-07-08 19:35:22.322 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Unavailable 2022-07-08 19:35:32.543 - debug: ocpp.0 (1506) Sending RemoteStopTransaction for /C2011601CNYEYPES 2022-07-08 19:35:45.796 - debug: ocpp.0 (1506) Sending ChangeAvailability for /C2011601CNYEYPES: Operative 2022-07-08 19:35:46.361 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:35:45+00:00","errorCode":"NoError","status":"Finishing","commandOcpp":"StatusNotification"} 2022-07-08 19:35:46.363 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Finishing 2022-07-08 19:35:49.681 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:35:49.683 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:35:53.654 - debug: ocpp.0 (1506) Sending RemoteStartTransaction for /C2011601CNYEYPES: {"connectorId":1,"idTag":"1","chargingProfile":{"chargingProfileId":1,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":86400,"startSchedule":"2013-01-01T00:00Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":8}]}}} 2022-07-08 19:36:32.550 - debug: ocpp.0 (1506) Sending ChangeAvailability for /C2011601CNYEYPES: Inoperative 2022-07-08 19:36:33.094 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:36:32+00:00","errorCode":"NoError","status":"Unavailable","commandOcpp":"StatusNotification"} 2022-07-08 19:36:33.096 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Unavailable 2022-07-08 19:36:39.931 - debug: ocpp.0 (1506) Sending ChangeAvailability for /C2011601CNYEYPES: Operative 2022-07-08 19:36:40.540 - debug: ocpp.0 (1506) {"connectorId":1,"timestamp":"2022-07-08T17:36:39+00:00","errorCode":"NoError","status":"Finishing","commandOcpp":"StatusNotification"} 2022-07-08 19:36:40.541 - info: ocpp.0 (1506) Received Status Notification from "/C2011601CNYEYPES": Finishing 2022-07-08 19:36:44.684 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:36:44.686 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES" 2022-07-08 19:37:39.688 - debug: ocpp.0 (1506) {"commandOcpp":"Heartbeat"} 2022-07-08 19:37:39.690 - debug: ocpp.0 (1506) Received heartbeat from "/C2011601CNYEYPES"
-
@glasfaser
Erledigt -
Kurioserweise ist das auch nur im Protocoll. Hab die Uhrzeit in der Box gecheckt. Die passt.
-
Also bei mir geht das mit ChargeLimit ändern plötzlich. Keine Ahnung warum. Was aber ist, es funktioniert bei mir nur wenn ich ein Auto angestöpselt habe und das Auto wirklich lädt.
Hat von euch jemand OCPP und NodeRED Adapter im einsetz? Auslegen klappt jetzt mit * statt Namen der Wallbox. Schreiben geht aber nicht mit * und ohne Stern ersetzt NodeRed den / immer durch den *. Wäre hier um einen Tip dankbar. Finde NodeRed einfacher als das JS.
-
Sorry, hab es mit JS gelöst. Finde es mit Blocky sogar viel einfacher als Node.
Leider habe ich das senden immernoch nicht hinbekommen.
Auto ist angestöpselt und lädt, dennoch wird das Chargelimit ignoriert.
Kannst du mal einstellen was du für ein String sendest bzw. bekommst wenn du das Limit gesendet hast? -
Ich habe leider keine Doku von der Box wie OCPP umgesetzt wurde.
Eine Möglichkeit ist eventuell das meine Box Watt statt Ampere braucht.
Soweit ich das im OCPP sehe ist es möglich siehe Beispieltelegram.Below you will find an example of a csChargingProfiles sent from the central system to a charge point.
Below you will find an example of a csChargingProfiles sent from the central system to a charge point. “csChargingProfiles”: { “chargingProfileId”: 158798, “chargingProfileKind”: “Absolute”, “chargingProfilePurpose”: “TxProfile”, “chargingSchedule”: { “chargingRateUnit”: “W”, “chargingSchedulePeriod”: [ { “limit”: 11000.0, “startPeriod”: 0 }, { “limit”: 9000.0, “startPeriod”: 780 }, { “limit”: 4500.0, “startPeriod”: 1680 }, “duration”: 1680 }, ], “stackLevel”: 0, “transactionId”: 339373, “validFrom”: “2020–10–15T14:32:00+00:00”, “validTo”: “2020–10–16T14:15:00+00:00” }
Gibt es irgendwie eine Möglichkeit im Adapter das mal testweise von "A" auf "W" zu ändern?
-
Also Watt ist es anscheinend auch nicht.
Was ich aber bemerkt habe, dass bei RemotetransactionStart, der ID Tag mitgesendet wird.
Hab es mal bei der WB getestet, er beginnt nach Status Finishing ert wieder, wenn ich die RFID Karte vorhalte.
Den IdTag habe ich auch, aber wie bekomme ich den mitgesendet?
Eventuell erwartet die WB das, um Änderungen zu akzeptieren. -
So hab den IDTag reingebastel. Bringt auch nichts.
Stacklevel mal mit 1 probiert leider auch kein Erfolg.
Jetzt bin ich echt ratlos was es noch sein könnte.Sending RemoteStartTransaction for /: {"connectorId":1,"idTag":"C7131506","chargingProfile":{"chargingProfileId":1,"stackLevel":1,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":86400,"startSchedule":"2013-01-01T00:00Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":8}]}}} `
-
@manubt
Wie hast du das in der Elvi aktiviert/eingerichtet?
Habe diese Wallbox jetzt auch.
Danke. -
@manubt sagte in Alpha Testing: OCPP Wallbox Adapter:
Der Adapter spricht mit einer EVBox Elvi.
Da ich in diesem thread keine weiteren Hinweise gefunden habe, bitte ich mal direkt:
Schreibt mir bitte jemand, was man in der App dieser EVBox im Installermenü der Lademanagement Software unter "different backend url" eintragen muss, damit sie mit dem ioBroker kommuniziert?
Könnte es diese Syntax sein?
ws://<IP_des_ioBroker>:<Port_der_Instanz>edit: Okay, da muss noch ein backslash ans Ende, dann funktioniert es.
-
So "Er lebt", der Server empfängt heartbeats.
Nach einem Firmwareupdate der EVBox erhalte ich folgendes debug log:
Was hat es aber mit dem log in Zeile 19 auf sich Command not implemented ?
-
@meister-mopper sagte in Alpha Testing: OCPP Wallbox Adapter:
DataTransfer
Die Wallbox sendet DataTransfer Nachrichten, welche ich aktuell nicht behandle. Ich kann mal sehen was man damit anstellen kann. Dafür werde ich mal etwas einbauen, dann benötige ich dein Feedback. Ich gebe dir Bescheid sobald ich es eingebaut habe.
-
@meister-mopper Gerne 0.6.0 probieren, es sollte ein Channel mit
dataTransfer
angelegt werden, der die transferierten Daten enthält. -
@foxriver76
Super, das warndataTransfer
taucht nicht mehr auf, allerdings bekomme ich immer einen Adapter Neustart, wenn ichtransactionActive
umstelle true/false.Im log kommt:
ocpp.0 2022-08-14 16:28:15.966 error AssertionError [ERR_ASSERTION]: you must provide a joi schema at module.exports.internals.Any.root.reach (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/node_modules/joi/lib/index.js:200:14) at _loop (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/helpers.js:58:35) at applyPropertiesValidators (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/helpers.js:78:16) at RemoteStopTransaction.BaseCommand (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/commands/BaseCommand.js:32:46) at new RemoteStopTransaction (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/commands/RemoteStopTransaction.js:46:149) at Ocpp.onStateChange (/opt/iobroker/node_modules/iobroker.ocpp/build/main.js:424:27) ocpp.0 2022-08-14 16:28:15.966 error Exception-Code: ERR_ASSERTION: you must provide a joi schema ocpp.0 2022-08-14 16:28:15.971 info terminating ocpp.0 2022-08-14 16:28:15.972 warn Terminated (UNCAUGHT_EXCEPTION): Without reason host.iobroker 2022-08-14 16:28:16.608 error Caught by controller[1]: [winston] Attempt to write logs with no transports {"url":"http://192.168.178.10:9220/XXXXXXXXX","message":"[OCPP] Received message: [2,\"2a8bc2e5-df12-4664-b78f-46cb25c46eac\",\"Heartbeat\",{}] [2,\"2a8bc2e5-df12-4664-b78f-46cb25c46eac\",\"Heartbeat\",{}]","level":"info"} host.iobroker 2022-08-14 16:28:16.608 error Caught by controller[1]: [winston] Attempt to write logs with no transports {"url":"http://192.168.178.10:9220/XXXXXXXXX","message":"[OCPP] Sending response: [3,\"2a8bc2e5-df12-4664-b78f-46cb25c46eac\",{\"currentTime\":\"2022-08-14T14:27:49.033Z\"}] [3,\"2a8bc2e5-df12-4664-b78f-46cb25c46eac\",{\"currentTime\":\"2022-08-14T14:27:49.033Z\"}]","level":"info"} host.iobroker 2022-08-14 16:28:16.609 error Caught by controller[2]: [winston] Attempt to write logs with no transports {"url":"http://192.168.178.10:9220/XXXXXXXXX","error":1006,"level":"info","message":"[OCPP] Closing socket for http://192.168.178.10:9220/XXXXXXXXX: 1006"} host.iobroker 2022-08-14 16:28:16.609 error instance system.adapter.ocpp.0 terminated with code 6 (UNCAUGHT_EXCEPTION) ocpp.0 2022-08-14 16:28:47.836 info starting. Version 0.6.0 (non-npm: foxriver76/ioBroker.ocpp#48303d5b08f18682ed681038d614133990a50c1e) in /opt/iobroker/node_modules/iobroker.ocpp, node: v14.20.0, js-controller: 4.0.23 ocpp.0 2022-08-14 16:28:47.861 info Starting OCPP Server ocpp.0 2022-08-14 16:28:47.885 info Server listening on port 9220 ocpp.0 2022-08-14 16:28:56.214 info New valid connection from "http://192.168.178.10:9220/XXXXXXXXX" (http/ocpp1.6) ocpp.0 2022-08-14 16:28:56.264 info New device connected: "http://192.168.178.10:9220/XXXXXXXXX" ocpp.0 2022-08-14 16:28:56.265 info Requesting BootNotification from "http://192.168.178.10:9220/XXXXXXXXX" ocpp.0 2022-08-14 16:28:56.267 warn Could not request states of "http://192.168.178.10:9220/XXXXXXXXX": you must provide a joi schema
Dieses Verhalten habe ich auch mit der Version 0.4.0 .
Kann es sein, dass dies die Ursache ist?
Could not request states of "http://192.168.178.10:9220/EVB-XXXXXXXXX": you must provide a joi schema
-
@meister-mopper sagte in Alpha Testing: OCPP Wallbox Adapter:
ocpp.0 2022-08-14 16:28:15.966 error AssertionError [ERR_ASSERTION]: you must provide a joi schema at module.exports.internals.Any.root.reach (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/node_modules/joi/lib/index.js:200:14) at _loop (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/helpers.js:58:35) at applyPropertiesValidators (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/helpers.js:78:16) at RemoteStopTransaction.BaseCommand (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/commands/BaseCommand.js:32:46) at new RemoteStopTransaction (/opt/iobroker/node_modules/@ampeco/ocpp-eliftech/dist/commands/RemoteStopTransaction.js:46:149) at Ocpp.onStateChange (/opt/iobroker/node_modules/iobroker.ocpp/build/main.js:424:27)
Interessant, schaue ich mir an.
-
@moonlanderpi Kannst du denn an der Wallbox selbst das Chargelimit einstellen? Ich glaube das war es bei mir. Also ich kann es zwischen 6 und 16 einstellen, oder ich stelle die Option aus, dann geht nur 16A.
Da gibt es dann noch eine Option Manuelles einstellen, die musste ich in der App der Terra Box einschalten, sonst konnte auch per OCCP nichts geschickt werden. Vermute zumindest da einen zusammenhang, da seit dem ich das gemacht habe es funktioniert.