evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Add eProwallbox /Move to template (OCPP)

Open chitufl opened this issue 1 year ago • 8 comments

If possible, could the eProwallbox / Move be added as charger to the supported devices? Seems to be working ok with default OCPP profile but would be better to have them as standalone. Happy to support with logs. Product manuals here: https://www.esolutions.free2move.com/eu/en_it/information-hub/

chitufl avatar Jul 24 '24 07:07 chitufl

Yes, sure.

Please provide an ocpp tracelog from the start of evcc including the boot and getconfiguration responses of the charger for reference.

premultiply avatar Jul 24 '24 07:07 premultiply

let me know if this enough:

[main  ] INFO 2024/07/24 20:35:28 evcc 0.128.4
[main  ] INFO 2024/07/24 20:35:28 using config file: c:\evcc\evcc.yaml
[db    ] INFO 2024/07/24 20:35:28 using sqlite database: C:\Users\Florin\.evcc\evcc.db
[main  ] INFO 2024/07/24 20:35:28 listening at :7070
[ocpp-1] DEBUG 2024/07/24 20:35:28 waiting for chargepoint: 5m0s
[ocpp  ] INFO 2024/07/24 20:35:47 charge point connected, registering: 0744AB070003433
[ocpp  ] TRACE 2024/07/24 20:35:47 recv 0744AB070003433: [2,"8ad6bec3-4c1e-4a53-a835-fe633b89bd4f","BootNotification",{"chargePointModel":"F2ME.EPROSE01TXX","chargePointSerialNumber":"0744AB070003433","chargePointVendor":"AB070","firmwareVersion":"2.9.3"}]
[ocpp  ] TRACE 2024/07/24 20:35:47 send 0744AB070003433: [3,"8ad6bec3-4c1e-4a53-a835-fe633b89bd4f",{"currentTime":"2024-07-24T18:35:47Z","interval":60,"status":"Accepted"}]
[ocpp  ] TRACE 2024/07/24 20:35:47 recv 0744AB070003433: [2,"38e1b145-a2d2-482a-a5a3-09c0f762ceb9","MeterValues",{"connectorId":0,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"13813"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Reactive.Import.Register","unit":"varh","value":"272"},{"context":"Sample.Clock","format":"Raw","location":"Body","measurand":"Temperature","unit":"Celsius","value":"20"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L1","unit":"V","value":"242"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L2","unit":"V","value":"0"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L3","unit":"V","value":"1"}],"timestamp":"2024-07-24T06:00:00Z"}]}]
[ocpp  ] TRACE 2024/07/24 20:35:48 send 0744AB070003433: [2,"3245209120","GetConfiguration",{}]
[ocpp  ] TRACE 2024/07/24 20:35:48 recv 0744AB070003433: [3,"3245209120",{"configurationKey":[{"key":"AuthorizeRemoteTxRequests","readonly":false,"value":"false"},{"key":"ClockAlignedDataInterval","readonly":false,"value":"900"},{"key":"ConnectionTimeOut","readonly":false,"value":"60"},{"key":"ConnectorPhaseRotation","readonly":false,"value":"0.Unknown, 1.RST"},{"key":"GetConfigurationMaxKeys","readonly":true,"value":"35"},{"key":"HeartbeatInterval","readonly":false,"value":"60"},{"key":"LocalAuthorizeOffline","readonly":false,"value":"true"},{"key":"LocalPreAuthorize","readonly":false,"value":"true"},{"key":"MeterValuesAlignedData","readonly":false,"value":"Energy.Active.Import.Register, Energy.Reactive.Import.Register, Temperature, Voltage.L1, Voltage.L2, Voltage.L3"},{"key":"MeterValuesSampledData","readonly":false,"value":"Energy.Active.Import.Register, Energy.Active.Import.Interval, Power.Active.Import, Temperature"},{"key":"MeterValueSampleInterval","readonly":false,"value":"150"},{"key":"NumberOfConnectors","readonly":true,"value":"1"},{"key":"ResetRetries","readonly":false,"value":"3"},{"key":"StopTransactionOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"StopTransactionOnInvalidId","readonly":false,"value":"true"},{"key":"StopTxnAlignedData","readonly":false,"value":""},{"key":"StopTxnSampledData","readonly":false,"value":""},{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core, FirmwareManagement, LocalAuthListManagement, SmartCharging"},{"key":"TransactionMessageAttempts","readonly":false,"value":"3"},{"key":"TransactionMessageRetryInterval","readonly":false,"value":"5"},{"key":"UnlockConnectorOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"AllowOfflineTxForUnknownId","readonly":false,"value":"false"},{"key":"AuthorizationCacheEnabled","readonly":false,"value":"true"},{"key":"ConnectorPhaseRotationMaxLength","readonly":true,"value":"2"},{"key":"LightIntensity","readonly":false,"value":"1"},{"key":"MaxEnergyOnInvalidId","readonly":false,"value":"0"},{"key":"WebSocketPingInterval","readonly":false,"value":"20"},{"key":"ACTIVATION_DATE","readonly":true,"value":"2024-06-29T15:08:18Z"},{"key":"APN_NAME","readonly":true,"value":" "},{"key":"APN_SET","readonly":false,"value":""},{"key":"APN_USER","readonly":true,"value":""},{"key":"C2G_ENABLED","readonly":false,"value":"false"},{"key":"CS_URL","readonly":false,"value":"ws://192.168.0.19:8887/"},{"key":"ClockAlignedAdditionalDataInterval","readonly":false,"value":"900"},{"key":"DPM_ENABLED","readonly":false,"value":"true"},{"key":"DPM_PMAX","readonly":false,"value":"10000"},{"key":"DPM_TYPE","readonly":false,"value":"5"},{"key":"ENABLE_RANDOMIZED_DELAY","readonly":false,"value":"false"},{"key":"GUI_STANDBY_TIMEOUT","readonly":false,"value":"0"},{"key":"HWCONFIG_e","readonly":true,"value":"5"},{"key":"LOAD_UNBALANCE_CURRENT","readonly":false,"value":"32000"},{"key":"LOAD_UNBALANCE_ENABLED","readonly":false,"value":"false"},{"key":"MAX_RANDOMIZED_DELAY","readonly":false,"value":"600"},{"key":"MID_ENABLED","readonly":false,"value":"false"},{"key":"MID_TYPE","readonly":false,"value":"3"},{"key":"MODBUS_BAUD_RATE","readonly":false,"value":"4"},{"key":"MODBUS_RTU_ADDRESS","readonly":false,"value":"1"},{"key":"MS_MODE","readonly":false,"value":"0"},{"key":"MeterValueSampleAdditionalInterval","readonly":false,"value":"150"},{"key":"OPERATING_MODE","readonly":false,"value":"3"},{"key":"RFID_LIST","readonly":false,"value":"[]"},{"key":"SIM_ICCID","readonly":true,"value":""},{"key":"SIM_PIN","readonly":false,"value":""},{"key":"SIM_STATUS","readonly":true,"value":"0"},{"key":"SUPPLY_TYPE","readonly":true,"value":"false"},{"key":"TRANSFORMER_RATIO_KI","readonly":false,"value":"1"},{"key":"TRANSFORMER_RATIO_KV","readonly":false,"value":"1"},{"key":"USER_PMAX","readonly":false,"value":"7400"},{"key":"LocalAuthListEnabled","readonly":false,"value":"false"},{"key":"LocalAuthListMaxLength","readonly":true,"value":"4"},{"key":"SendLocalListMaxLength","readonly":true,"value":"4"},{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"32"},{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Power"},{"key":"ChargingScheduleMaxPeriods","readonly":true,"value":"32"},{"key":"MaxChargingProfilesInstalled","readonly":true,"value":"100"},{"key":"ConnectorSwitch3to1PhaseSupported","readonly":true,"value":"false"}]}]
[ocpp  ] TRACE 2024/07/24 20:35:48 recv 0744AB070003433: [2,"3a4a5b9b-32f2-4e05-90c9-39a4ea1a68e4","StatusNotification",{"connectorId":0,"errorCode":"NoError","info":"","status":"Available","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/07/24 20:35:48 send 0744AB070003433: [2,"3104371441","TriggerMessage",{"requestedMessage":"MeterValues","connectorId":1}]
[ocpp  ] TRACE 2024/07/24 20:35:48 recv 0744AB070003433: [2,"bd791bbf-22c0-48af-83c8-21c959a8125a","StatusNotification",{"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/07/24 20:35:48 send 0744AB070003433: [3,"bd791bbf-22c0-48af-83c8-21c959a8125a",{}]
[ocpp  ] TRACE 2024/07/24 20:35:48 recv 0744AB070003433: [3,"3104371441",{"status":"NotImplemented"}]
[ocpp  ] ERROR 2024/07/24 20:35:48 TriggerMessage MeterValues for 0744AB070003433: NotImplemented
[ocpp  ] TRACE 2024/07/24 20:35:53 recv 0744AB070003433: [2,"38e1b145-a2d2-482a-a5a3-09c0f762ceb9","MeterValues",{"connectorId":0,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"13813"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Reactive.Import.Register","unit":"varh","value":"272"},{"context":"Sample.Clock","format":"Raw","location":"Body","measurand":"Temperature","unit":"Celsius","value":"20"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L1","unit":"V","value":"242"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L2","unit":"V","value":"0"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L3","unit":"V","value":"1"}],"timestamp":"2024-07-24T06:00:00Z"}]}]

chitufl avatar Jul 24 '24 18:07 chitufl

@premultiply When time permits, could you please have a look at the 2 bold lines and suggest what corrections is needed? Thanks in advance

[main ] INFO 2024/08/06 20:15:35 evcc 0.129.0 [main ] INFO 2024/08/06 20:15:35 using config file: c:\evcc\evcc.yaml [db ] INFO 2024/08/06 20:15:35 using sqlite database: C:\Users\Florin.evcc\evcc.db [main ] INFO 2024/08/06 20:15:35 listening at :7070 [ocpp-1] DEBUG 2024/08/06 20:15:35 waiting for chargepoint: 5m0s [ocpp ] INFO 2024/08/06 20:16:32 charge point connected, registering: 0744AB070003433 [ocpp ] ERROR 2024/08/06 20:16:34 TriggerMessage MeterValues for 0744AB070003433: NotImplemented [site ] INFO 2024/08/06 20:16:35 site config: [site ] INFO 2024/08/06 20:16:35 meters: grid ✓ pv ✓ battery ✗ [site ] INFO 2024/08/06 20:16:35 grid: power ✓ energy ✗ currents ✗ [site ] INFO 2024/08/06 20:16:35 pv 1: power ✓ energy ✓ currents ✗ [site ] INFO 2024/08/06 20:16:35 vehicles: [site ] INFO 2024/08/06 20:16:35 vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✗ [site ] INFO 2024/08/06 20:16:35 vehicle 2: range ✓ finish ✓ status ✓ climate ✗ wakeup ✓ [lp-1 ] INFO 2024/08/06 20:16:35 loadpoint 1: [lp-1 ] INFO 2024/08/06 20:16:35 mode: minpv [lp-1 ] INFO 2024/08/06 20:16:35 charger: power ✗ energy ✓ currents ✗ phases ✗ wakeup ✗ [lp-1 ] INFO 2024/08/06 20:16:35 meters: charge ✗ [lp-1 ] DEBUG 2024/08/06 20:16:35 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger) [lp-1 ] DEBUG 2024/08/06 20:16:35 phase timer inactive [lp-1 ] DEBUG 2024/08/06 20:16:35 pv timer inactive [site ] DEBUG 2024/08/06 20:16:35 ---- [lp-1 ] DEBUG 2024/08/06 20:16:35 charge power: 0W [site ] DEBUG 2024/08/06 20:16:38 pv power: 123W [site ] DEBUG 2024/08/06 20:16:39 grid meter: 385W [site ] DEBUG 2024/08/06 20:16:39 site power: 385W [lp-1 ] DEBUG 2024/08/06 20:16:39 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger) [lp-1 ] ERROR 2024/08/06 20:20:07 charger status: timeout [ocpp ] DEBUG 2024/08/06 20:20:12 charge point connected: 0744AB070003433

chitufl avatar Aug 06 '24 18:08 chitufl

{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core, FirmwareManagement, LocalAuthListManagement, SmartCharging"}

Your charger lacks support for RemoteTrigger feature profile.

Tomorrows nightly build includes a very improved OCPP support.

In addition to many other fixes and changes it does not try to use trigger commands if they are not supported by the charger indicated by their SupportedFeatureProfiles configuration. This error will disappear.

It would be best if you could try the nightly build tomorrow and provide the output of evcc charger --diagnose here.

premultiply avatar Aug 06 '24 21:08 premultiply

@premultiply I ran version 130, problem is that the cmd window is self closing after running the start up routine. result of diag prompt below

c:\evcc>evcc charger --diagnose
[main  ] INFO 2024/08/18 16:16:24 evcc 0.130.0
[main  ] INFO 2024/08/18 16:16:24 using config file: c:\evcc\evcc.yaml
[db    ] INFO 2024/08/18 16:16:24 using sqlite database: C:\Users\Florin\.evcc\evcc.db
[ocpp-1] DEBUG 2024/08/18 16:16:24 waiting for chargepoint: 5m0s
[ocpp  ] INFO 2024/08/18 16:16:36 charge point connected, registering: 0744AB070003433
[ocpp  ] TRACE 2024/08/18 16:16:36 recv 0744AB070003433: [2,"3481e2e0-4985-45b1-b0cf-18476e73b7ef","StatusNotification",{"connectorId":0,"errorCode":"NoError","info":"","status":"Available","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/08/18 16:16:36 send 0744AB070003433: [3,"3481e2e0-4985-45b1-b0cf-18476e73b7ef",{}]
[ocpp  ] TRACE 2024/08/18 16:16:36 recv 0744AB070003433: [2,"28a89cf7-6c57-4a97-ae3f-bcf48114da73","StatusNotification",{"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/08/18 16:16:36 send 0744AB070003433: [3,"28a89cf7-6c57-4a97-ae3f-bcf48114da73",{}]
[ocpp  ] TRACE 2024/08/18 16:16:36 recv 0744AB070003433: [2,"6fc0cc6d-b179-4d63-adf6-6b825659e7e9","DataTransfer",{"data":"[{\"MID\":{\"sampledValue\":[{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Current.Export\",\"unit\":\"A\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Current.Import\",\"unit\":\"A\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Energy.Active.Export.Register\",\"unit\":\"Wh\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Energy.Active.Import.Register\",\"unit\":\"Wh\",\"value\":\"327500\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Energy.Reactive.Export.Register\",\"unit\":\"varh\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Energy.Reactive.Import.Register\",\"unit\":\"varh\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Frequency\",\"value\":\"50\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Power.Active.Export\",\"unit\":\"W\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Power.Active.Import\",\"unit\":\"W\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Voltage\",\"phase\":\"L1\",\"unit\":\"V\",\"value\":\"244\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Voltage\",\"phase\":\"L2\",\"unit\":\"V\",\"value\":\"0\"},{\"context\":\"Sample.Clock\",\"format\":\"Raw\",\"location\":\"Inlet\",\"measurand\":\"Voltage\",\"phase\":\"L3\",\"unit\":\"V\",\"value\":\"0\"}],\"timestamp\":\"2024-08-18T14:15:00Z\"}}]","messageId":"MID_DPM_Measures","vendorId":"F2MeS_ePro"}]
[ocpp  ] TRACE 2024/08/18 16:16:36 send 0744AB070003433: [3,"6fc0cc6d-b179-4d63-adf6-6b825659e7e9",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:36 recv 0744AB070003433: [2,"d5ce714e-d5a4-4fbb-a70d-18e4df69621a","MeterValues",{"connectorId":0,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"117147"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Reactive.Import.Register","unit":"varh","value":"681"},{"context":"Sample.Clock","format":"Raw","location":"Body","measurand":"Temperature","unit":"Celsius","value":"37"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L1","unit":"V","value":"244"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L2","unit":"V","value":"0"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L3","unit":"V","value":"1"}],"timestamp":"2024-08-18T14:15:01Z"}]}]
[ocpp  ] TRACE 2024/08/18 16:16:37 send 0744AB070003433: [2,"20155390","GetConfiguration",{}]
[ocpp  ] TRACE 2024/08/18 16:16:37 recv 0744AB070003433: [3,"20155390",{"configurationKey":[{"key":"AuthorizeRemoteTxRequests","readonly":false,"value":"false"},{"key":"ClockAlignedDataInterval","readonly":false,"value":"900"},{"key":"ConnectionTimeOut","readonly":false,"value":"60"},{"key":"ConnectorPhaseRotation","readonly":false,"value":"0.Unknown, 1.RST"},{"key":"GetConfigurationMaxKeys","readonly":true,"value":"35"},{"key":"HeartbeatInterval","readonly":false,"value":"60"},{"key":"LocalAuthorizeOffline","readonly":false,"value":"true"},{"key":"LocalPreAuthorize","readonly":false,"value":"true"},{"key":"MeterValuesAlignedData","readonly":false,"value":"Energy.Active.Import.Register, Energy.Reactive.Import.Register, Temperature, Voltage.L1, Voltage.L2, Voltage.L3"},{"key":"MeterValuesSampledData","readonly":false,"value":"Energy.Active.Import.Register"},{"key":"MeterValueSampleInterval","readonly":false,"value":"10"},{"key":"NumberOfConnectors","readonly":true,"value":"1"},{"key":"ResetRetries","readonly":false,"value":"3"},{"key":"StopTransactionOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"StopTransactionOnInvalidId","readonly":false,"value":"true"},{"key":"StopTxnAlignedData","readonly":false,"value":""},{"key":"StopTxnSampledData","readonly":false,"value":""},{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core, FirmwareManagement, LocalAuthListManagement, SmartCharging"},{"key":"TransactionMessageAttempts","readonly":false,"value":"3"},{"key":"TransactionMessageRetryInterval","readonly":false,"value":"5"},{"key":"UnlockConnectorOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"AllowOfflineTxForUnknownId","readonly":false,"value":"false"},{"key":"AuthorizationCacheEnabled","readonly":false,"value":"true"},{"key":"ConnectorPhaseRotationMaxLength","readonly":true,"value":"2"},{"key":"LightIntensity","readonly":false,"value":"1"},{"key":"MaxEnergyOnInvalidId","readonly":false,"value":"0"},{"key":"WebSocketPingInterval","readonly":false,"value":"30"},{"key":"ACTIVATION_DATE","readonly":true,"value":"2024-06-29T15:08:18Z"},{"key":"APN_NAME","readonly":true,"value":" "},{"key":"APN_SET","readonly":false,"value":""},{"key":"APN_USER","readonly":true,"value":""},{"key":"C2G_ENABLED","readonly":false,"value":"false"},{"key":"CS_URL","readonly":false,"value":"ws://192.168.0.19:8887/"},{"key":"ClockAlignedAdditionalDataInterval","readonly":false,"value":"900"},{"key":"DPM_ENABLED","readonly":false,"value":"false"},{"key":"DPM_PMAX","readonly":false,"value":"10000"},{"key":"DPM_TYPE","readonly":false,"value":"5"},{"key":"ENABLE_RANDOMIZED_DELAY","readonly":false,"value":"false"},{"key":"GUI_STANDBY_TIMEOUT","readonly":false,"value":"0"},{"key":"HWCONFIG_e","readonly":true,"value":"5"},{"key":"LOAD_UNBALANCE_CURRENT","readonly":false,"value":"32000"},{"key":"LOAD_UNBALANCE_ENABLED","readonly":false,"value":"false"},{"key":"MAX_RANDOMIZED_DELAY","readonly":false,"value":"600"},{"key":"MID_ENABLED","readonly":false,"value":"true"},{"key":"MID_TYPE","readonly":false,"value":"3"},{"key":"MODBUS_BAUD_RATE","readonly":false,"value":"4"},{"key":"MODBUS_RTU_ADDRESS","readonly":false,"value":"1"},{"key":"MS_MODE","readonly":false,"value":"0"},{"key":"MeterValueSampleAdditionalInterval","readonly":false,"value":"150"},{"key":"OPERATING_MODE","readonly":false,"value":"3"},{"key":"RFID_LIST","readonly":false,"value":"[]"},{"key":"SIM_ICCID","readonly":true,"value":""},{"key":"SIM_PIN","readonly":false,"value":""},{"key":"SIM_STATUS","readonly":true,"value":"0"},{"key":"SUPPLY_TYPE","readonly":true,"value":"false"},{"key":"TRANSFORMER_RATIO_KI","readonly":false,"value":"1"},{"key":"TRANSFORMER_RATIO_KV","readonly":false,"value":"1"},{"key":"USER_PMAX","readonly":false,"value":"7400"},{"key":"LocalAuthListEnabled","readonly":false,"value":"false"},{"key":"LocalAuthListMaxLength","readonly":true,"value":"4"},{"key":"SendLocalListMaxLength","readonly":true,"value":"4"},{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"32"},{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Power"},{"key":"ChargingScheduleMaxPeriods","readonly":true,"value":"32"},{"key":"MaxChargingProfilesInstalled","readonly":true,"value":"100"},{"key":"ConnectorSwitch3to1PhaseSupported","readonly":true,"value":"false"}]}]
[ocpp  ] TRACE 2024/08/18 16:16:37 send 0744AB070003433: [2,"2970837363","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Register"}]
[ocpp  ] TRACE 2024/08/18 16:16:38 recv 0744AB070003433: [3,"2970837363",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:38 send 0744AB070003433: [2,"1229361914","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Import"}]
[ocpp  ] TRACE 2024/08/18 16:16:39 recv 0744AB070003433: [3,"1229361914",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:39 send 0744AB070003433: [2,"2364123295","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"SoC"}]
[ocpp  ] TRACE 2024/08/18 16:16:39 recv 0744AB070003433: [3,"2364123295",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:39 send 0744AB070003433: [2,"886117249","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Offered"}]
[ocpp  ] TRACE 2024/08/18 16:16:40 recv 0744AB070003433: [3,"886117249",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:40 send 0744AB070003433: [2,"3292198042","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Offered"}]
[ocpp  ] TRACE 2024/08/18 16:16:41 recv 0744AB070003433: [3,"3292198042",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:41 send 0744AB070003433: [2,"1999777277","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Import"}]
[ocpp  ] TRACE 2024/08/18 16:16:41 recv 0744AB070003433: [2,"d5ce714e-d5a4-4fbb-a70d-18e4df69621a","MeterValues",{"connectorId":0,"meterValue":[{"sampledValue":[{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"117147"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Energy.Reactive.Import.Register","unit":"varh","value":"681"},{"context":"Sample.Clock","format":"Raw","location":"Body","measurand":"Temperature","unit":"Celsius","value":"37"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L1","unit":"V","value":"244"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L2","unit":"V","value":"0"},{"context":"Sample.Clock","format":"Raw","location":"Inlet","measurand":"Voltage","phase":"L3","unit":"V","value":"1"}],"timestamp":"2024-08-18T14:15:01Z"}]}]
[ocpp  ] TRACE 2024/08/18 16:16:42 recv 0744AB070003433: [3,"1999777277",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:42 send 0744AB070003433: [2,"2203682377","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Voltage"}]
[ocpp  ] TRACE 2024/08/18 16:16:43 recv 0744AB070003433: [3,"2203682377",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:43 send 0744AB070003433: [2,"970531014","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Register"}]
[ocpp  ] TRACE 2024/08/18 16:16:44 recv 0744AB070003433: [3,"970531014",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:44 send 0744AB070003433: [2,"4256524427","ChangeConfiguration",{"key":"MeterValueSampleInterval","value":"10"}]
[ocpp  ] TRACE 2024/08/18 16:16:45 recv 0744AB070003433: [3,"4256524427",{"status":"Accepted"}]
[ocpp  ] TRACE 2024/08/18 16:16:45 send 0744AB070003433: [2,"3850656645","ChangeConfiguration",{"key":"WebSocketPingInterval","value":"30"}]
[ocpp  ] TRACE 2024/08/18 16:16:46 recv 0744AB070003433: [3,"3850656645",{"status":"Accepted"}]

chitufl avatar Aug 18 '24 14:08 chitufl

Screenshot_20240821-192014.png

Driving me nuts ...

chitufl avatar Aug 21 '24 17:08 chitufl

Try the current nightly.

premultiply avatar Aug 21 '24 18:08 premultiply

no ideea how to run the current nigthly on a windows system... :(

chitufl avatar Aug 23 '24 12:08 chitufl

No more errors but the charge starts in full mode regardless of the selected option. Screenshot_20240830-171818

chitufl avatar Aug 30 '24 15:08 chitufl

Is there anything left to do here? What?

andig avatar Sep 05 '24 17:09 andig

Seems to be working ok with default OCPP profile but would be better to have them as standalone.

If ocpp works we can close there. Thank you!

andig avatar Sep 05 '24 17:09 andig

@andig Still not working Either I get "expect disable got enabled" or the charging starts in full mode and cannot be stopped from evcc...

chitufl avatar Sep 06 '24 06:09 chitufl

As usual: please provide trace log (current version is 0.130.7), closing until available.

andig avatar Sep 06 '24 06:09 andig

[main ] INFO 2024/09/09 13:38:57 evcc 0.130.8 [main ] INFO 2024/09/09 13:38:57 using config file: c:\evcc\evcc.yaml [main ] FATAL 2024/09/09 13:39:37 cannot create charger 'wallbox': cannot create charger type 'template': cannot create charger type 'ocpp': timeout [main ] FATAL 2024/09/09 13:39:37 will attempt restart in: 15m0s

same error with 1.130.7

chitufl avatar Sep 09 '24 11:09 chitufl

See post above. Logfile? If thats all on trace level then your charger never connects to evcc in the first place…

andig avatar Sep 09 '24 13:09 andig

Hello @andig Something happened with EVCC between version 0.130.6 and 0.130.8, see below the snap with different result of the 2 versions, with the same yaml config file... image

chitufl avatar Sep 14 '24 11:09 chitufl

Please try latest release.

andig avatar Sep 14 '24 12:09 andig

same result image

chitufl avatar Sep 16 '24 14:09 chitufl

That's really unexpected now. Please add trace log.

andig avatar Sep 16 '24 15:09 andig

that's all I get:

c:\evcc>evcc -log
[main  ] INFO 2024/09/16 18:22:09 evcc 0.130.11
[main  ] INFO 2024/09/16 18:22:09 using config file: c:\evcc\evcc.yaml
[ocpp  ] ERROR 2024/09/16 18:22:40 error replying cp 0744AB070003433 to request 1990b35d-3ddb-47b5-8f2f-b4ed7c610c4b: Key: 'CallResult.Payload.IdTagInfo' Error:Field validation for 'IdTagInfo' failed on the 'required' tag
[ocpp  ] ERROR 2024/09/16 18:22:46 error replying cp 0744AB070003433 to request 1990b35d-3ddb-47b5-8f2f-b4ed7c610c4b: Key: 'CallResult.Payload.IdTagInfo' Error:Field validation for 'IdTagInfo' failed on the 'required' tag
[main  ] FATAL 2024/09/16 18:23:17 cannot create charger 'wallbox': cannot create charger type 'template': cannot create charger type 'ocpp': timeout
[main  ] FATAL 2024/09/16 18:23:17 will attempt restart in: 15m0s

chitufl avatar Sep 16 '24 16:09 chitufl

trace log bitte! Die WB schickt hier anscheinend nicht spec-compliant JSON (oder wir tun das...)

andig avatar Sep 16 '24 16:09 andig

lost me after "bitte", my german speaking day are to far in the past :))

c:\evcc>evcc --log trace
[main  ] INFO 2024/09/16 21:01:08 evcc 0.130.11
[main  ] INFO 2024/09/16 21:01:08 using config file: c:\evcc\evcc.yaml
[db    ] INFO 2024/09/16 21:01:08 using sqlite database: C:\Users\Florin\.evcc\evcc.db
[db    ] TRACE 2024/09/16 21:01:08 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/09/16 21:01:08 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/09/16 21:01:08 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/09/16 21:01:08 SELECT * FROM `settings` 14 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[main  ] INFO 2024/09/16 21:01:09 listening at :7070
[db    ] TRACE 2024/09/16 21:01:09 SELECT * FROM `configs` WHERE `configs`.`class` = 2 0 <nil>
[db    ] TRACE 2024/09/16 21:01:09 SELECT * FROM `configs` WHERE `configs`.`class` = 1 0 <nil>
[ocpp-1] DEBUG 2024/09/16 21:01:09 waiting for chargepoint: 1m0s
[ocpp  ] INFO 2024/09/16 21:01:13 charge point connected, registering: 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 enqueued CALL [2250219927, ChangeAvailability] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 dispatched request 2250219927 for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [2,"2250219927","ChangeAvailability",{"connectorId":0,"type":"Operative"}]
[ocpp  ] TRACE 2024/09/16 21:01:13 started timeout timer for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"28a608ad-8e22-459f-9e17-0c2c02257fec","StatusNotification",{"connectorId":0,"errorCode":"NoError","info":"","status":"Available","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL [28a608ad-8e22-459f-9e17-0c2c02257fec, StatusNotification] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent CALL RESULT [28a608ad-8e22-459f-9e17-0c2c02257fec] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [3,"28a608ad-8e22-459f-9e17-0c2c02257fec",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"74c3f92e-1b8b-43c6-a562-302494a8552e","StatusNotification",{"connectorId":1,"errorCode":"NoError","info":"","status":"SuspendedEV","vendorErrorCode":"","vendorId":""}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL [74c3f92e-1b8b-43c6-a562-302494a8552e, StatusNotification] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent CALL RESULT [74c3f92e-1b8b-43c6-a562-302494a8552e] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [3,"74c3f92e-1b8b-43c6-a562-302494a8552e",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"7047e335-c28c-4447-8cae-4dd92b2dc754","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Current.Offered","unit":"A","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"365761"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Power.Active.Import","unit":"W","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Power.Offered","unit":"W","value":"0"}],"timestamp":"2024-09-16T18:45:56Z"}],"transactionId":1726503730}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL [7047e335-c28c-4447-8cae-4dd92b2dc754, MeterValues] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [3,"2250219927",{"status":"Rejected"}]
[ocpp  ] TRACE 2024/09/16 21:01:13 sent CALL RESULT [7047e335-c28c-4447-8cae-4dd92b2dc754] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [3,"7047e335-c28c-4447-8cae-4dd92b2dc754",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL RESULT [2250219927] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 completed request 2250219927 for 0744AB070003433
[ocpp-1] DEBUG 2024/09/16 21:01:13 failed configuring availability: Rejected
[ocpp  ] TRACE 2024/09/16 21:01:13 0744AB070003433 ready to transmit again
[ocpp  ] TRACE 2024/09/16 21:01:13 dispatched request 3734163909 for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [2,"3734163909","GetConfiguration",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 timeout canceled for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 enqueued CALL [3734163909, GetConfiguration] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 started timeout timer for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"d08bbe80-4302-4852-9c41-f45aa4e5ebfb","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Current.Offered","unit":"A","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"365761"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Power.Active.Import","unit":"W","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Power.Offered","unit":"W","value":"0"}],"timestamp":"2024-09-16T18:46:06Z"}],"transactionId":1726503730}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL [d08bbe80-4302-4852-9c41-f45aa4e5ebfb, MeterValues] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent CALL RESULT [d08bbe80-4302-4852-9c41-f45aa4e5ebfb] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [3,"d08bbe80-4302-4852-9c41-f45aa4e5ebfb",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [3,"3734163909",{"configurationKey":[{"key":"AuthorizeRemoteTxRequests","readonly":false,"value":"false"},{"key":"ClockAlignedDataInterval","readonly":false,"value":"900"},{"key":"ConnectionTimeOut","readonly":false,"value":"60"},{"key":"ConnectorPhaseRotation","readonly":false,"value":"0.Unknown, 1.RST"},{"key":"GetConfigurationMaxKeys","readonly":true,"value":"35"},{"key":"HeartbeatInterval","readonly":false,"value":"60"},{"key":"LocalAuthorizeOffline","readonly":false,"value":"true"},{"key":"LocalPreAuthorize","readonly":false,"value":"true"},{"key":"MeterValuesAlignedData","readonly":false,"value":"Energy.Active.Import.Register, Energy.Reactive.Import.Register, Temperature, Voltage.L1, Voltage.L2, Voltage.L3"},{"key":"MeterValuesSampledData","readonly":false,"value":"Current.Import, Current.Offered, Energy.Active.Import.Register, Power.Active.Import, Power.Offered, SoC, Voltage"},{"key":"MeterValueSampleInterval","readonly":false,"value":"10"},{"key":"NumberOfConnectors","readonly":true,"value":"1"},{"key":"ResetRetries","readonly":false,"value":"3"},{"key":"StopTransactionOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"StopTransactionOnInvalidId","readonly":false,"value":"true"},{"key":"StopTxnAlignedData","readonly":false,"value":""},{"key":"StopTxnSampledData","readonly":false,"value":""},{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core, FirmwareManagement, LocalAuthListManagement, SmartCharging"},{"key":"TransactionMessageAttempts","readonly":false,"value":"3"},{"key":"TransactionMessageRetryInterval","readonly":false,"value":"5"},{"key":"UnlockConnectorOnEVSideDisconnect","readonly":false,"value":"true"},{"key":"AllowOfflineTxForUnknownId","readonly":false,"value":"false"},{"key":"AuthorizationCacheEnabled","readonly":false,"value":"true"},{"key":"ConnectorPhaseRotationMaxLength","readonly":true,"value":"2"},{"key":"LightIntensity","readonly":false,"value":"1"},{"key":"MaxEnergyOnInvalidId","readonly":false,"value":"0"},{"key":"WebSocketPingInterval","readonly":false,"value":"30"},{"key":"ACTIVATION_DATE","readonly":true,"value":"2024-06-29T15:08:18Z"},{"key":"APN_NAME","readonly":true,"value":" "},{"key":"APN_SET","readonly":false,"value":""},{"key":"APN_USER","readonly":true,"value":""},{"key":"C2G_ENABLED","readonly":false,"value":"false"},{"key":"CS_URL","readonly":false,"value":"ws://192.168.0.19:8887/"},{"key":"ClockAlignedAdditionalDataInterval","readonly":false,"value":"900"},{"key":"DPM_ENABLED","readonly":false,"value":"false"},{"key":"DPM_PMAX","readonly":false,"value":"10000"},{"key":"DPM_TYPE","readonly":false,"value":"5"},{"key":"ENABLE_RANDOMIZED_DELAY","readonly":false,"value":"false"},{"key":"GUI_STANDBY_TIMEOUT","readonly":false,"value":"0"},{"key":"HWCONFIG_e","readonly":true,"value":"5"},{"key":"LOAD_UNBALANCE_CURRENT","readonly":false,"value":"32000"},{"key":"LOAD_UNBALANCE_ENABLED","readonly":false,"value":"false"},{"key":"MAX_RANDOMIZED_DELAY","readonly":false,"value":"600"},{"key":"MID_ENABLED","readonly":false,"value":"true"},{"key":"MID_TYPE","readonly":false,"value":"3"},{"key":"MODBUS_BAUD_RATE","readonly":false,"value":"4"},{"key":"MODBUS_RTU_ADDRESS","readonly":false,"value":"1"},{"key":"MS_MODE","readonly":false,"value":"0"},{"key":"MeterValueSampleAdditionalInterval","readonly":false,"value":"150"},{"key":"OPERATING_MODE","readonly":false,"value":"3"},{"key":"RFID_LIST","readonly":false,"value":"[]"},{"key":"SIM_ICCID","readonly":true,"value":""},{"key":"SIM_PIN","readonly":false,"value":""},{"key":"SIM_STATUS","readonly":true,"value":"0"},{"key":"SUPPLY_TYPE","readonly":true,"value":"false"},{"key":"TRANSFORMER_RATIO_KI","readonly":false,"value":"1"},{"key":"TRANSFORMER_RATIO_KV","readonly":false,"value":"1"},{"key":"USER_PMAX","readonly":false,"value":"7400"},{"key":"LocalAuthListEnabled","readonly":false,"value":"false"},{"key":"LocalAuthListMaxLength","readonly":true,"value":"4"},{"key":"SendLocalListMaxLength","readonly":true,"value":"4"},{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"32"},{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Power"},{"key":"ChargingScheduleMaxPeriods","readonly":true,"value":"32"},{"key":"MaxChargingProfilesInstalled","readonly":true,"value":"100"},{"key":"ConnectorSwitch3to1PhaseSupported","readonly":true,"value":"false"}]}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL RESULT [3734163909] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 completed request 3734163909 for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"c51e50b9-118e-46c2-b89b-fca83d6aed3b","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Current.Offered","unit":"A","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"365761"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Power.Active.Import","unit":"W","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Power.Offered","unit":"W","value":"0"}],"timestamp":"2024-09-16T18:46:16Z"}],"transactionId":1726503730}]
[ocpp  ] TRACE 2024/09/16 21:01:13 handling incoming CALL [c51e50b9-118e-46c2-b89b-fca83d6aed3b, MeterValues] from 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent CALL RESULT [c51e50b9-118e-46c2-b89b-fca83d6aed3b] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [3,"c51e50b9-118e-46c2-b89b-fca83d6aed3b",{}]
[ocpp  ] TRACE 2024/09/16 21:01:13 0744AB070003433 ready to transmit again
[ocpp  ] TRACE 2024/09/16 21:01:13 dispatched request 3726712443 for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 sent JSON message to 0744AB070003433: [2,"3726712443","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Import"}]
[ocpp  ] TRACE 2024/09/16 21:01:13 started timeout timer for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 timeout canceled for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 enqueued CALL [3726712443, ChangeConfiguration] for 0744AB070003433
[ocpp  ] TRACE 2024/09/16 21:01:13 received JSON message from 0744AB070003433: [2,"a4bf1c48-81c7-481d-bd0a-320cfedeae5f","MeterValues",{"connectorId":1,"meterValue":[{"sampledValue":[{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Current.Offered","unit":"A","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Energy.Active.Import.Register","unit":"Wh","value":"365761"},{"context":"Sample.Periodic","format":"Raw","location":"Inlet","measurand":"Power.Active.Import","unit":"W","value":"0"},{"context":"Sample.Periodic","format":"Raw","location":"Outlet","measurand":"Power.Offered","unit":"W","value":"0"}],"timestamp":"2024-09-16T18:46:26Z"}],"transactionId":1726503730}]

chitufl avatar Sep 16 '24 19:09 chitufl

Afaikt the last log does not show any error. Tbo, I'm lost what to look at. Problem solved? If not we need a trace log of the problem.

andig avatar Sep 17 '24 19:09 andig

@andig ich habe mir die logs hier und in https://github.com/evcc-io/evcc/discussions/17920 angeschaut und soweit ich glaube verstanden, was das Problem ist.

  1. Die Wallbox kann, wie @premultiply weiter oben schon festgestellt hat, kein RemoteTrigger
  2. Evcc startet und empfängt nach der ChangeAvailability Nachricht initial eine StatusNotification
  3. CP.Setup läuft durch
  4. Danach wird in NewOCPP der connector instanziiert ocpp.NewConnector
  5. Am Ende wird conn.Initialized() aufgerufen
  6. Da dann keine StatusNotification mehr empfangen wird, triggert diese Funktion nach einem timeout eine StatusNotification, diese wird erwartungsgemäß mit "Not implemented" abgelehnt
  7. Timeout

Zusammenfassung: Der Status aus Anfangs empfangenen StatusNotifications wird nicht gespeichert, somit haben die Konnektoren erstmal keinen Status. Wenn die Wallbox kein RemoteTrigger beherrscht, läuft evcc in ein timeout, da ohne Statusänderung von alleine keine kommt. Optionen, die ich auf den ersten Blick sehe:

  1. Initialen Status speichern / cachen und an connector übergeben (etwas ähnliches hast du wohl mal in https://github.com/evcc-io/evcc/pull/16908 versucht, um https://github.com/evcc-io/evcc/issues/15677 zu lösen, aber so wie ich sehe nur für charger mit RemoteTrigger https://github.com/evcc-io/evcc/blob/50f135005ff389752c0d9e520fdaeb330b3a7e6b/charger/ocpp/connector.go#L53)
  2. wenn kein RemoteTrigger unterstützt, dann nach Connector Instanziierung andere message schicken, die StatusNotifications triggert (Wie ChangeAvailability in diesem Fall)

Weitere Auffälligkeiten Während CP.Setup vor dem Triggern einer StatusNotification mit cp.HasRemoteTriggerFeature prüft, ob RemoteTrigger unterstützt wird, ist das in https://github.com/evcc-io/evcc/blob/a558aa2d3ab9664b1ab00e2aa378430c0ddc4dfd/charger/ocpp/connector.go#L98 und https://github.com/evcc-io/evcc/blob/a558aa2d3ab9664b1ab00e2aa378430c0ddc4dfd/charger/ocpp/connector.go#L92 nicht der Fall,.

mfuchs1984 avatar Dec 31 '24 13:12 mfuchs1984

Da dann keine StatusNotification mehr empfangen wird

That sounds like the problem I've already failed to solve in https://github.com/evcc-io/evcc/pull/16908.

andig avatar Jan 08 '25 20:01 andig

As far as I can see, your last attempt was never tried by @benesolar, the last comment is the question "Soll ich das wieder testen?", see https://github.com/evcc-io/evcc/issues/15677#issuecomment-2476793968

There is one important difference, in the original case, the wallbox fails to respond, here, we have a wall box not supporting RemoteTrigger at all. To support such chargers, I think your pull request is necessary but needs a small change to support them, see my last comment. I can try to have another look at the issue #15677 and your PR #16908 if you want, I just cannot promise when exactly.

mfuchs1984 avatar Jan 08 '25 21:01 mfuchs1984

@andig @mfuchs1984 Thanks for looking again at this. On my side I've dropped the idea of using surplus to charge the cars, but I'm ready to support by testing, could be useful for other in the future if a solution is found.

chitufl avatar Jan 09 '25 08:01 chitufl

I am also ready for testing again. Would need a nightly because i don`t know how to build myself.

benesolar avatar Jan 09 '25 10:01 benesolar

@andig : Facing the same issue with my new eProWallbox that i wanted to connect via evcc. Any chance to fix this? Would be happy to test on my setup.

haraldfunk avatar Jan 20 '25 21:01 haraldfunk

Is one of you able to build and run evcc on your computer?

mfuchs1984 avatar Jan 20 '25 21:01 mfuchs1984