lbbrhzn / ocpp

Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
MIT License
216 stars 67 forks source link

Entratek Dot Pro 2 Error in Communication #1148

Closed LukasNitsche closed 3 months ago

LukasNitsche commented 4 months ago

Version of the custom_component

-->v0.5.2

Describe the bug

I have the Entratek Dot Pro 2 connected to the OCPP Server. (DUOSIDA Mode3@11KW) Setting of the maximum current is not working. It only returns the error described below and does not change the charge rate. There are also other error messages, but unfortunately I have dismissed them and do not know how to access them again. If you can advise please do.

I know the charger supports the setting of the rate, since I can do it through platforms like Clever PV. However, they might have implemented a special fix to make this charger work.

My assumption is that the charger does not comply 100 % with the OCPP instructions. However I do not have the technical knowledge on how to view the communication and debug it. If someone give advise, this would be highly appreciated, since I would love to use all the functionalities of the charger.

Debug log


Logger: custom_components.ocpp
Quelle: custom_components/ocpp/api.py:903
Integration: Open Charge Point Protocol (OCPP) (Dokumentation, Probleme)
Erstmals aufgetreten: 13:24:36 (17 Vorkommnisse)
Zuletzt protokolliert: 14:12:25

Get Configuration returned unknown key for: ChargingScheduleAllowedChargingRateUnit

Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:239
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 13:24:36 (17 Vorkommnisse)
Zuletzt protokolliert: 14:12:25

[544321530816] argument of type 'NoneType' is not iterable
[543918468672] argument of type 'NoneType' is not iterable
[543918053952] argument of type 'NoneType' is not iterable
[543918686784] argument of type 'NoneType' is not iterable
[543918696384] argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 971, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1043, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 112, in async_set_value
    await entity.async_set_native_value(native_value)
  File "/config/custom_components/ocpp/number.py", line 129, in async_set_native_value
    resp = await self.central_system.set_max_charge_rate_amps(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ocpp/api.py", line 298, in set_max_charge_rate_amps
    return await self.charge_points[cp_id].set_charge_rate(limit_amps=value)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ocpp/api.py", line 678, in set_charge_rate
    if om.current.value in resp:
       ^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
drc38 commented 4 months ago

You can try commenting out line 670 in api.py and replacing it with resp=om.current.value but you may continue to run into issues. Best to raise the issue with the manufacturer.

LukasNitsche commented 4 months ago

Thank you! I will try this and I am already in communication with the (German) manufacturer / vendor, but I dont expect this to go somewhere... Do you have already an idea or feeling where the problem lies?

drc38 commented 4 months ago

Get Configuration returned unknown key for: ChargingScheduleAllowedChargingRateUnit

If you want more details enable debugging as per the readme

LukasNitsche commented 4 months ago

You can try commenting out line 670 in api.py and replacing it with resp=om.current.value but you may continue to run into issues. Best to raise the issue with the manufacturer.

This has worked, I can now set the charging rate. Do you also have an idea why I get this error, while rebooting the charger or integration?

Warning: charger reported Rejected while setting MeterValuesSampledData=Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage

If you need further logs, please let me know, I am happy to provide anything if I can figure out how to get it 😂 Thank you for your help so far!

LukasNitsche commented 4 months ago

Below please find the log for OCPP from a restart of homeassistant below.

Debug log

2024-05-06 09:45:23.817 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration ocpp which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-05-06 09:45:31.749 INFO (MainThread) [custom_components.ocpp] config = {}
2024-05-06 09:45:36.840 WARNING (MainThread) [custom_components.ocpp] Skipping websocket subprotocol validation
2024-05-06 09:45:36.841 INFO (MainThread) [custom_components.ocpp] Charger websocket path=/0311304103123230841
2024-05-06 09:45:36.841 INFO (MainThread) [custom_components.ocpp] Charger 0311304103123230841 connected to 0.0.0.0:9000.
2024-05-06 09:45:39.400 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"c42eaa60-890a-4827-a60c-906e569496d9","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 09:45:45.120 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dae86-6638-8aa7-5c10-3baa1103884c", "BootNotification", {"chargePointModel":"DUOSIDA Mode3@11KW","chargePointSerialNumber":"0311304103123230841","chargePointVendor":"UCHEN","firmwareVersion":"V1.2@39f19d4+286,F0.gl,ws,ESP32","iccid":"","imsi":""}]
2024-05-06 09:45:45.128 DEBUG (MainThread) [custom_components.ocpp] Received boot notification for 0311304103123230841: {'charge_point_model': 'DUOSIDA Mode3@11KW', 'charge_point_serial_number': '0311304103123230841', 'charge_point_vendor': 'UCHEN', 'firmware_version': 'V1.2@39f19d4+286,F0.gl,ws,ESP32', 'iccid': '', 'imsi': ''}
2024-05-06 09:45:45.128 DEBUG (MainThread) [custom_components.ocpp] Updating device info charger: {'charge_point_model': 'DUOSIDA Mode3@11KW', 'charge_point_serial_number': '0311304103123230841', 'charge_point_vendor': 'UCHEN', 'firmware_version': 'V1.2@39f19d4+286,F0.gl,ws,ESP32', 'iccid': '', 'imsi': ''}
2024-05-06 09:45:45.154 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dae86-6638-8aa7-5c10-3baa1103884c",{"currentTime":"2024-05-06T07:45:45Z","interval":3600,"status":"Accepted"}]
2024-05-06 09:45:45.254 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "c42eaa60-890a-4827-a60c-906e569496d9", {"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,LocalAuthListManagement,Reservation,SmartCharging,RemoteTrigger"}]}]
2024-05-06 09:45:45.259 WARNING (MainThread) [custom_components.ocpp] Force Smart Charging feature profile
2024-05-06 09:45:45.260 DEBUG (MainThread) [custom_components.ocpp] Feature profiles returned: Profiles.CORE|SMART|RES|REM|AUTH
2024-05-06 09:45:45.264 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"2c8db87a-a0da-49cf-a6be-03845fbd1c6a","GetConfiguration",{"key":["NumberOfConnectors"]}]
2024-05-06 09:45:45.422 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dafbc-6638-8aa7-5c10-3baa1103884c", "StatusNotification", {"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorId":"","vendorErrorCode":""}]
2024-05-06 09:45:45.444 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dafbc-6638-8aa7-5c10-3baa1103884c",{}]
2024-05-06 09:45:45.554 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "2c8db87a-a0da-49cf-a6be-03845fbd1c6a", {"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]
2024-05-06 09:45:45.556 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for NumberOfConnectors: 1
2024-05-06 09:45:45.558 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"e8c30d76-16a7-4c34-bd2d-cdf8fc6f6b10","GetConfiguration",{"key":["HeartbeatInterval"]}]
2024-05-06 09:45:45.733 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "e8c30d76-16a7-4c34-bd2d-cdf8fc6f6b10", {"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"3600"}]}]
2024-05-06 09:45:45.735 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for HeartbeatInterval: 3600
2024-05-06 09:45:45.736 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Export'
2024-05-06 09:45:45.743 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"07dffc2e-7eff-42d5-b6a7-c33369dd9a8e","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Export"}]
2024-05-06 09:45:45.854 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "07dffc2e-7eff-42d5-b6a7-c33369dd9a8e", {"status":"Accepted"}]
2024-05-06 09:45:45.857 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Export'
2024-05-06 09:45:45.858 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Import'
2024-05-06 09:45:45.859 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"2aa1b4e9-7f3b-44ec-95bf-8dc1a4494839","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Import"}]
2024-05-06 09:45:46.036 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "2aa1b4e9-7f3b-44ec-95bf-8dc1a4494839", {"status":"Accepted"}]
2024-05-06 09:45:46.038 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Import'
2024-05-06 09:45:46.038 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Offered'
2024-05-06 09:45:46.039 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"4b28a3f4-e0cc-442d-9f29-a6a2c9f9b7ab","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Offered"}]
2024-05-06 09:45:46.162 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "4b28a3f4-e0cc-442d-9f29-a6a2c9f9b7ab", {"status":"Accepted"}]
2024-05-06 09:45:46.163 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Offered'
2024-05-06 09:45:46.163 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Export.Interval'
2024-05-06 09:45:46.164 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"979872c7-3cb1-484a-b832-a4702db2defb","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Interval"}]
2024-05-06 09:45:46.344 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "979872c7-3cb1-484a-b832-a4702db2defb", {"status":"Accepted"}]
2024-05-06 09:45:46.346 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Export.Interval'
2024-05-06 09:45:46.346 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Export.Register'
2024-05-06 09:45:46.347 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"acfab108-a71f-42a5-ba49-d8ab52fb6ece","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Register"}]
2024-05-06 09:45:46.466 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "acfab108-a71f-42a5-ba49-d8ab52fb6ece", {"status":"Accepted"}]
2024-05-06 09:45:46.468 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Export.Register'
2024-05-06 09:45:46.468 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Import.Interval'
2024-05-06 09:45:46.469 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"3b81619a-d53b-490b-998b-a96f539ea69d","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Interval"}]
2024-05-06 09:45:46.651 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "3b81619a-d53b-490b-998b-a96f539ea69d", {"status":"Accepted"}]
2024-05-06 09:45:46.654 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Import.Interval'
2024-05-06 09:45:46.654 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Import.Register'
2024-05-06 09:45:46.655 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"60c0b3a8-c715-425a-b1d3-65c825b35622","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Register"}]
2024-05-06 09:45:46.762 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "60c0b3a8-c715-425a-b1d3-65c825b35622", {"status":"Accepted"}]
2024-05-06 09:45:46.763 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Import.Register'
2024-05-06 09:45:46.764 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Export.Interval'
2024-05-06 09:45:46.765 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"226785e6-e663-4285-8878-baa733d93194","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Export.Interval"}]
2024-05-06 09:45:46.958 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "226785e6-e663-4285-8878-baa733d93194", {"status":"Accepted"}]
2024-05-06 09:45:46.960 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Export.Interval'
2024-05-06 09:45:46.960 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Export.Register'
2024-05-06 09:45:46.961 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"a15ccc2f-1e96-4556-8228-2d487bfdfaa4","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Export.Register"}]
2024-05-06 09:45:47.076 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "a15ccc2f-1e96-4556-8228-2d487bfdfaa4", {"status":"Accepted"}]
2024-05-06 09:45:47.077 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Export.Register'
2024-05-06 09:45:47.077 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Import.Interval'
2024-05-06 09:45:47.078 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"9557ffbe-a10f-4f2f-91d6-6a67ed8a26fc","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Import.Interval"}]
2024-05-06 09:45:47.269 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "9557ffbe-a10f-4f2f-91d6-6a67ed8a26fc", {"status":"Accepted"}]
2024-05-06 09:45:47.272 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Import.Interval'
2024-05-06 09:45:47.272 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Import.Register'
2024-05-06 09:45:47.274 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"7e62c862-3a3c-4c60-bd44-0e61da363c06","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 09:45:47.374 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "7e62c862-3a3c-4c60-bd44-0e61da363c06", {"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,LocalAuthListManagement,Reservation,SmartCharging,RemoteTrigger"}]}]
2024-05-06 09:45:47.376 WARNING (MainThread) [custom_components.ocpp] Force Smart Charging feature profile
2024-05-06 09:45:47.377 DEBUG (MainThread) [custom_components.ocpp] Feature profiles returned: Profiles.CORE|SMART|RES|REM|AUTH
2024-05-06 09:45:47.378 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"6917ce8e-e997-43da-ba10-68f553e2df79","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Import.Register"}]
2024-05-06 09:45:47.577 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "6917ce8e-e997-43da-ba10-68f553e2df79", {"status":"Accepted"}]
2024-05-06 09:45:47.580 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Import.Register'
2024-05-06 09:45:47.580 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Frequency'
2024-05-06 09:45:47.582 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"5e501402-2ebd-42e9-b9fa-f6e1aa0840d6","GetConfiguration",{"key":["NumberOfConnectors"]}]
2024-05-06 09:45:47.675 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "5e501402-2ebd-42e9-b9fa-f6e1aa0840d6", {"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]
2024-05-06 09:45:47.678 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for NumberOfConnectors: 1
2024-05-06 09:45:47.679 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"1c955aab-0736-42a5-b313-95118024f7d1","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Frequency"}]
2024-05-06 09:45:47.821 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "1c955aab-0736-42a5-b313-95118024f7d1", {"status":"Accepted"}]
2024-05-06 09:45:47.822 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Frequency'
2024-05-06 09:45:47.823 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Active.Export'
2024-05-06 09:45:47.824 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"73a7b106-6096-48d8-a777-3b4628a6a5d8","GetConfiguration",{"key":["HeartbeatInterval"]}]
2024-05-06 09:45:47.984 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "73a7b106-6096-48d8-a777-3b4628a6a5d8", {"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"3600"}]}]
2024-05-06 09:45:47.987 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for HeartbeatInterval: 3600
2024-05-06 09:45:47.988 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Export'
2024-05-06 09:45:47.989 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"9d572bb2-bcfa-418f-b956-1c66b1e0ebf0","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Export"}]
2024-05-06 09:45:48.188 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "9d572bb2-bcfa-418f-b956-1c66b1e0ebf0", {"status":"Accepted"}]
2024-05-06 09:45:48.190 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Active.Export'
2024-05-06 09:45:48.190 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Active.Import'
2024-05-06 09:45:48.191 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"9a7b46f2-1ccd-4982-bee4-166a0099874e","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Export"}]
2024-05-06 09:45:48.289 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "9a7b46f2-1ccd-4982-bee4-166a0099874e", {"status":"Accepted"}]
2024-05-06 09:45:48.291 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Export'
2024-05-06 09:45:48.291 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Import'
2024-05-06 09:45:48.292 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"b762df39-5c2a-46f3-9f78-d661d4be2f54","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Import"}]
2024-05-06 09:45:48.431 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "b762df39-5c2a-46f3-9f78-d661d4be2f54", {"status":"Accepted"}]
2024-05-06 09:45:48.432 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Active.Import'
2024-05-06 09:45:48.433 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Factor'
2024-05-06 09:45:48.434 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"249d4f36-dfcb-4adb-9a6f-22018a0f8b83","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Import"}]
2024-05-06 09:45:48.597 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "249d4f36-dfcb-4adb-9a6f-22018a0f8b83", {"status":"Accepted"}]
2024-05-06 09:45:48.599 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Import'
2024-05-06 09:45:48.599 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Current.Offered'
2024-05-06 09:45:48.600 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"d852f4d4-629a-49d3-a70b-ff99bcc78ac7","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Factor"}]
2024-05-06 09:45:48.742 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "d852f4d4-629a-49d3-a70b-ff99bcc78ac7", {"status":"Accepted"}]
2024-05-06 09:45:48.743 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Factor'
2024-05-06 09:45:48.743 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Offered'
2024-05-06 09:45:48.744 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"c4722981-c482-4239-b7f8-c7bdb30fe481","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Offered"}]
2024-05-06 09:45:48.904 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "c4722981-c482-4239-b7f8-c7bdb30fe481", {"status":"Accepted"}]
2024-05-06 09:45:48.905 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Current.Offered'
2024-05-06 09:45:48.906 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Export.Interval'
2024-05-06 09:45:48.907 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"e850a113-0727-4c76-9fda-50b9a4fcaf28","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Offered"}]
2024-05-06 09:45:49.041 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "e850a113-0727-4c76-9fda-50b9a4fcaf28", {"status":"Accepted"}]
2024-05-06 09:45:49.043 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Offered'
2024-05-06 09:45:49.043 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Reactive.Export'
2024-05-06 09:45:49.044 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"423bca2d-84aa-4e3f-9394-f0cbdf79b325","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Interval"}]
2024-05-06 09:45:49.211 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "423bca2d-84aa-4e3f-9394-f0cbdf79b325", {"status":"Accepted"}]
2024-05-06 09:45:49.212 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Export.Interval'
2024-05-06 09:45:49.213 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Export.Register'
2024-05-06 09:45:49.214 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"7304871e-4497-4298-82ff-b75f618d1277","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Reactive.Export"}]
2024-05-06 09:45:49.350 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "7304871e-4497-4298-82ff-b75f618d1277", {"status":"Accepted"}]
2024-05-06 09:45:49.352 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Reactive.Export'
2024-05-06 09:45:49.352 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Reactive.Import'
2024-05-06 09:45:49.353 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"b17707fe-cde8-4018-9841-91afbe486afb","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Register"}]
2024-05-06 09:45:49.518 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "b17707fe-cde8-4018-9841-91afbe486afb", {"status":"Accepted"}]
2024-05-06 09:45:49.519 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Export.Register'
2024-05-06 09:45:49.520 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Import.Interval'
2024-05-06 09:45:49.521 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"587f4b4d-c5e5-4f36-9b91-ec5e6e578009","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Reactive.Import"}]
2024-05-06 09:45:49.651 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "587f4b4d-c5e5-4f36-9b91-ec5e6e578009", {"status":"Accepted"}]
2024-05-06 09:45:49.653 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Reactive.Import'
2024-05-06 09:45:49.653 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'RPM'
2024-05-06 09:45:49.654 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"12edcf83-8bf7-468a-9324-07f8485380ca","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Interval"}]
2024-05-06 09:45:49.830 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "12edcf83-8bf7-468a-9324-07f8485380ca", {"status":"Accepted"}]
2024-05-06 09:45:49.831 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Import.Interval'
2024-05-06 09:45:49.831 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Active.Import.Register'
2024-05-06 09:45:49.833 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"fe803d9f-6d84-4de5-9a9f-744003c3f2e5","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"RPM"}]
2024-05-06 09:45:49.952 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "fe803d9f-6d84-4de5-9a9f-744003c3f2e5", {"status":"Accepted"}]
2024-05-06 09:45:49.953 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'RPM'
2024-05-06 09:45:49.954 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'SoC'
2024-05-06 09:45:49.955 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"3046aafa-bbb7-4540-b2db-cbe58542782b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Register"}]
2024-05-06 09:45:50.132 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "3046aafa-bbb7-4540-b2db-cbe58542782b", {"status":"Accepted"}]
2024-05-06 09:45:50.134 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Active.Import.Register'
2024-05-06 09:45:50.134 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Export.Interval'
2024-05-06 09:45:50.135 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"4acfdcb9-cc84-40c2-9231-b41b6251c3e2","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"SoC"}]
2024-05-06 09:45:50.250 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "4acfdcb9-cc84-40c2-9231-b41b6251c3e2", {"status":"Accepted"}]
2024-05-06 09:45:50.251 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'SoC'
2024-05-06 09:45:50.251 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Temperature'
2024-05-06 09:45:50.252 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"7e14109b-754d-42ca-a166-2a52632014c2","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Export.Interval"}]
2024-05-06 09:45:50.383 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "7e14109b-754d-42ca-a166-2a52632014c2", {"status":"Accepted"}]
2024-05-06 09:45:50.385 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Export.Interval'
2024-05-06 09:45:50.385 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Export.Register'
2024-05-06 09:45:50.387 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"c69a7ded-57ec-4c90-88e4-ce16fd3c2987","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Temperature"}]
2024-05-06 09:45:50.546 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "c69a7ded-57ec-4c90-88e4-ce16fd3c2987", {"status":"Accepted"}]
2024-05-06 09:45:50.547 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Temperature'
2024-05-06 09:45:50.547 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Voltage'
2024-05-06 09:45:50.549 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"f57e3b04-340a-4752-9649-b9a06bfdddc5","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Export.Register"}]
2024-05-06 09:45:50.684 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "f57e3b04-340a-4752-9649-b9a06bfdddc5", {"status":"Accepted"}]
2024-05-06 09:45:50.685 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Export.Register'
2024-05-06 09:45:50.685 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Import.Interval'
2024-05-06 09:45:50.687 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"6747eda4-2c04-45c3-b8c6-94b2a38043e9","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Voltage"}]
2024-05-06 09:45:50.849 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "6747eda4-2c04-45c3-b8c6-94b2a38043e9", {"status":"Accepted"}]
2024-05-06 09:45:50.850 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Voltage'
2024-05-06 09:45:50.850 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' allowed measurands 'Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage'
2024-05-06 09:45:50.851 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"bf84afbe-4562-4951-8106-9b819013a77a","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Import.Interval"}]
2024-05-06 09:45:50.982 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "bf84afbe-4562-4951-8106-9b819013a77a", {"status":"Accepted"}]
2024-05-06 09:45:50.983 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Import.Interval'
2024-05-06 09:45:50.984 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Energy.Reactive.Import.Register'
2024-05-06 09:45:50.985 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"d3787628-bb18-4723-bdd6-d3e70d2b26e1","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2024-05-06 09:45:51.157 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "d3787628-bb18-4723-bdd6-d3e70d2b26e1", {"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Energy.Reactive.Import.Interval"}]}]
2024-05-06 09:45:51.160 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"d2cb1efd-4058-47ba-9d9c-6443fb30e22f","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Reactive.Import.Register"}]
2024-05-06 09:45:51.295 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "d2cb1efd-4058-47ba-9d9c-6443fb30e22f", {"status":"Accepted"}]
2024-05-06 09:45:51.296 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Energy.Reactive.Import.Register'
2024-05-06 09:45:51.297 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Frequency'
2024-05-06 09:45:51.298 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"53e91f5e-93c6-4b7d-a180-0cb8596e03ad","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage"}]
2024-05-06 09:45:51.480 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "53e91f5e-93c6-4b7d-a180-0cb8596e03ad", {"status":"Rejected"}]
2024-05-06 09:45:51.482 WARNING (MainThread) [custom_components.ocpp] Rejected while setting MeterValuesSampledData to Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage
2024-05-06 09:45:51.486 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"5bd323c8-6f24-407e-8ae7-2502c2211c83","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Frequency"}]
2024-05-06 09:45:51.668 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "5bd323c8-6f24-407e-8ae7-2502c2211c83", {"status":"Accepted"}]
2024-05-06 09:45:51.670 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Frequency'
2024-05-06 09:45:51.670 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Active.Export'
2024-05-06 09:45:51.671 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"e185b993-d329-4992-bfe2-b877019428df","GetConfiguration",{"key":["MeterValueSampleInterval"]}]
2024-05-06 09:45:51.786 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "e185b993-d329-4992-bfe2-b877019428df", {"configurationKey":[{"key":"MeterValueSampleInterval","readonly":false,"value":"60"}]}]
2024-05-06 09:45:51.789 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"7a7ca39b-6a71-4ee0-ab81-4e3c0b73103b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Export"}]
2024-05-06 09:45:51.978 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "7a7ca39b-6a71-4ee0-ab81-4e3c0b73103b", {"status":"Accepted"}]
2024-05-06 09:45:51.979 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Active.Export'
2024-05-06 09:45:51.980 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Active.Import'
2024-05-06 09:45:51.981 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"b2312063-f109-4481-a5d0-00ea5d5a78e3","GetConfiguration",{"key":["ClockAlignedDataInterval"]}]
2024-05-06 09:45:52.087 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "b2312063-f109-4481-a5d0-00ea5d5a78e3", {"configurationKey":[{"key":"ClockAlignedDataInterval","readonly":false,"value":"900"}]}]
2024-05-06 09:45:52.091 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' post connection setup completed successfully
2024-05-06 09:45:52.092 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"92348644-a271-4c28-a80e-ac618f04a49b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Import"}]
2024-05-06 09:45:52.283 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "92348644-a271-4c28-a80e-ac618f04a49b", {"status":"Accepted"}]
2024-05-06 09:45:52.284 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Active.Import'
2024-05-06 09:45:52.285 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Factor'
2024-05-06 09:45:52.286 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"721ca0db-e2fa-44a7-b354-dbb67e5ccd06","GetConfiguration",{"key":["WebSocketPingInterval"]}]
2024-05-06 09:45:52.391 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "721ca0db-e2fa-44a7-b354-dbb67e5ccd06", {"configurationKey":[{"key":"WebsocketPingInterval","readonly":false,"value":"60"}]}]
2024-05-06 09:45:52.394 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"141b1ead-4fbb-4d27-83d7-53bb2f22ddc1","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Factor"}]
2024-05-06 09:45:52.524 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "141b1ead-4fbb-4d27-83d7-53bb2f22ddc1", {"status":"Accepted"}]
2024-05-06 09:45:52.526 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Factor'
2024-05-06 09:45:52.526 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Offered'
2024-05-06 09:45:52.527 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"41ed8a91-176a-4d53-b3da-3b9464757cc3","ChangeConfiguration",{"key":"WebSocketPingInterval","value":"60"}]
2024-05-06 09:45:52.693 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "41ed8a91-176a-4d53-b3da-3b9464757cc3", {"status":"Accepted"}]
2024-05-06 09:45:52.699 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"c1088fe9-55bf-4a3c-a47a-5a52acfea545","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Offered"}]
2024-05-06 09:45:52.821 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "c1088fe9-55bf-4a3c-a47a-5a52acfea545", {"status":"Accepted"}]
2024-05-06 09:45:52.823 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Offered'
2024-05-06 09:45:52.823 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Reactive.Export'
2024-05-06 09:45:52.824 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"263a3fb3-5bbb-49fc-b7fd-f3d01e1caddd","ChangeAvailability",{"connectorId":0,"type":"Operative"}]
2024-05-06 09:45:53.000 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "263a3fb3-5bbb-49fc-b7fd-f3d01e1caddd", {"status":"Accepted"}]
2024-05-06 09:45:53.004 DEBUG (MainThread) [custom_components.ocpp] trigger status notification for connector=0
2024-05-06 09:45:53.008 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"b867d06e-11d6-41da-8060-100de29871da","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Reactive.Export"}]
2024-05-06 09:45:53.127 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "b867d06e-11d6-41da-8060-100de29871da", {"status":"Accepted"}]
2024-05-06 09:45:53.128 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Reactive.Export'
2024-05-06 09:45:53.128 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Power.Reactive.Import'
2024-05-06 09:45:53.130 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"d7e046cb-d82a-44ad-87cc-4716e134ddf0","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":0}]
2024-05-06 09:45:53.307 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "d7e046cb-d82a-44ad-87cc-4716e134ddf0", {"status":"Accepted"}]
2024-05-06 09:45:53.310 DEBUG (MainThread) [custom_components.ocpp] trigger status notification for connector=1
2024-05-06 09:45:53.311 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"245f6071-980b-4c13-93ae-0ad8668484f8","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Reactive.Import"}]
2024-05-06 09:45:53.442 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dcefc-6638-8aaf-fc9d-5cf365047431", "StatusNotification", {"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorId":"","vendorErrorCode":""}]
2024-05-06 09:45:53.457 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dcefc-6638-8aaf-fc9d-5cf365047431",{}]
2024-05-06 09:45:53.555 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "245f6071-980b-4c13-93ae-0ad8668484f8", {"status":"Accepted"}]
2024-05-06 09:45:53.556 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Power.Reactive.Import'
2024-05-06 09:45:53.556 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'RPM'
2024-05-06 09:45:53.557 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"fa894328-56bf-4fa2-9502-bd4ccf149324","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":1}]
2024-05-06 09:45:53.716 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "fa894328-56bf-4fa2-9502-bd4ccf149324", {"status":"Accepted"}]
2024-05-06 09:45:53.717 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"c949e3fb-9dc8-4d66-be29-1791fc8d6d22","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"RPM"}]
2024-05-06 09:45:53.844 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dd0aa-6638-8ab0-ce01-0c4374853afd", "StatusNotification", {"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorId":"","vendorErrorCode":""}]
2024-05-06 09:45:53.865 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dd0aa-6638-8ab0-ce01-0c4374853afd",{}]
2024-05-06 09:45:54.024 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "c949e3fb-9dc8-4d66-be29-1791fc8d6d22", {"status":"Accepted"}]
2024-05-06 09:45:54.025 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'RPM'
2024-05-06 09:45:54.026 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'SoC'
2024-05-06 09:45:54.027 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"d3ab3ea9-c79a-4b20-a328-514ffbf6a746","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"SoC"}]
2024-05-06 09:45:54.126 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "d3ab3ea9-c79a-4b20-a328-514ffbf6a746", {"status":"Accepted"}]
2024-05-06 09:45:54.128 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'SoC'
2024-05-06 09:45:54.128 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Temperature'
2024-05-06 09:45:54.129 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"77b21aba-ab60-4c8b-b1b4-28340a7df6e0","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Temperature"}]
2024-05-06 09:45:54.270 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "77b21aba-ab60-4c8b-b1b4-28340a7df6e0", {"status":"Accepted"}]
2024-05-06 09:45:54.272 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Temperature'
2024-05-06 09:45:54.272 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' trying measurand 'Voltage'
2024-05-06 09:45:54.273 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"f39656fd-dfc2-4e1b-8aa6-9b5e2f4a0d7b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Voltage"}]
2024-05-06 09:45:54.433 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "f39656fd-dfc2-4e1b-8aa6-9b5e2f4a0d7b", {"status":"Accepted"}]
2024-05-06 09:45:54.435 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' adding measurand 'Voltage'
2024-05-06 09:45:54.435 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' allowed measurands 'Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage'
2024-05-06 09:45:54.436 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"3d8d8544-1e1f-419d-8abb-8e82543cfdd5","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2024-05-06 09:45:54.560 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "3d8d8544-1e1f-419d-8abb-8e82543cfdd5", {"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Voltage"}]}]
2024-05-06 09:45:54.563 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"74618324-5de0-448f-a443-3d7b95c6e595","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage"}]
2024-05-06 09:45:54.742 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "74618324-5de0-448f-a443-3d7b95c6e595", {"status":"Rejected"}]
2024-05-06 09:45:54.744 WARNING (MainThread) [custom_components.ocpp] Rejected while setting MeterValuesSampledData to Current.Export,Current.Import,Current.Offered,Energy.Active.Export.Interval,Energy.Active.Export.Register,Energy.Active.Import.Interval,Energy.Active.Import.Register,Energy.Reactive.Export.Interval,Energy.Reactive.Export.Register,Energy.Reactive.Import.Interval,Energy.Reactive.Import.Register,Frequency,Power.Active.Export,Power.Active.Import,Power.Factor,Power.Offered,Power.Reactive.Export,Power.Reactive.Import,RPM,SoC,Temperature,Voltage
2024-05-06 09:45:54.746 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"3fe7fce0-1e56-40a7-ade1-dcee8997ec1e","GetConfiguration",{"key":["MeterValueSampleInterval"]}]
2024-05-06 09:45:54.885 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "3fe7fce0-1e56-40a7-ade1-dcee8997ec1e", {"configurationKey":[{"key":"MeterValueSampleInterval","readonly":false,"value":"60"}]}]
2024-05-06 09:45:54.888 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"f316bfcf-c46d-437a-90cd-4ee2d4044410","GetConfiguration",{"key":["ClockAlignedDataInterval"]}]
2024-05-06 09:45:55.049 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "f316bfcf-c46d-437a-90cd-4ee2d4044410", {"configurationKey":[{"key":"ClockAlignedDataInterval","readonly":false,"value":"900"}]}]
2024-05-06 09:45:55.053 DEBUG (MainThread) [custom_components.ocpp] '0311304103123230841' post connection setup completed successfully
2024-05-06 09:45:55.054 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"68e578e9-c64c-4fc9-b08c-ba6e4326aea6","GetConfiguration",{"key":["WebSocketPingInterval"]}]
2024-05-06 09:45:55.185 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "68e578e9-c64c-4fc9-b08c-ba6e4326aea6", {"configurationKey":[{"key":"WebsocketPingInterval","readonly":false,"value":"60"}]}]
2024-05-06 09:45:55.188 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"1d860d31-0ba7-4b4f-a86e-aaf46b692aff","ChangeConfiguration",{"key":"WebSocketPingInterval","value":"60"}]
2024-05-06 09:45:55.356 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "1d860d31-0ba7-4b4f-a86e-aaf46b692aff", {"status":"Accepted"}]
2024-05-06 09:45:55.358 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"90f886d1-5676-413f-8865-5c1313d3b429","ChangeAvailability",{"connectorId":0,"type":"Operative"}]
2024-05-06 09:45:55.490 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "90f886d1-5676-413f-8865-5c1313d3b429", {"status":"Accepted"}]
2024-05-06 09:45:55.491 DEBUG (MainThread) [custom_components.ocpp] trigger status notification for connector=0
2024-05-06 09:45:55.492 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"bd44357c-dd57-4908-86ee-05cf8154fac8","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":0}]
2024-05-06 09:45:55.667 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "bd44357c-dd57-4908-86ee-05cf8154fac8", {"status":"Accepted"}]
2024-05-06 09:45:55.668 DEBUG (MainThread) [custom_components.ocpp] trigger status notification for connector=1
2024-05-06 09:45:55.669 INFO (MainThread) [ocpp] 0311304103123230841: send [2,"dc2d54a6-09c4-4d65-bfe7-152d08bebaca","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":1}]
2024-05-06 09:45:55.764 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dd82a-6638-8ab2-72e8-4cd18185b566", "StatusNotification", {"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorId":"","vendorErrorCode":""}]
2024-05-06 09:45:55.785 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dd82a-6638-8ab2-72e8-4cd18185b566",{}]
2024-05-06 09:45:55.892 INFO (MainThread) [ocpp] 0311304103123230841: receive message [3, "dc2d54a6-09c4-4d65-bfe7-152d08bebaca", {"status":"Accepted"}]
2024-05-06 09:45:56.072 INFO (MainThread) [ocpp] 0311304103123230841: receive message [2, "0d6dd938-6638-8ab2-72e8-4cd18185b566", "StatusNotification", {"connectorId":1,"errorCode":"NoError","info":"","status":"Available","vendorId":"","vendorErrorCode":""}]
2024-05-06 09:45:56.083 INFO (MainThread) [ocpp] 0311304103123230841: send [3,"0d6dd938-6638-8ab2-72e8-4cd18185b566",{}]
2024-05-06 09:45:56.904 DEBUG (MainThread) [custom_components.ocpp] Connection latency from 'central' to '0311304103123230841': ping=1.0 ms, pong=61.0 ms
drc38 commented 4 months ago

You can ignore the error message, looks like the charger has a few bugs in its ocpp implementation

LukasNitsche commented 4 months ago

Yes, seems that way. I get many notifcations in HomeAssistant when the integration reloads (please see below). Setting the ocpp integrations log level to error or critical or notset does not help. Can I disable the messages another way since they are quite annoying?

image

LukasNitsche commented 3 months ago

I have made the following changes withing the ChargePoint class of the api.py document to send all notifications to the log instead of hass notification.

    async def notify_ha(self, msg: str, title: str = "Ocpp integration"):
        """Notify user via HA web frontend."""
        #await self.hass.services.async_call(
        #    PN_DOMAIN,
        #    "create",
        #    service_data={
        #        "title": title,
        #        "message": msg,
        #    },
        #    blocking=False,
        #)

        #Send notification only to the log
        _LOGGER.info("Notification to HA skipped: %s", msg)

        return True

Maybe would be smart to add a flag to the CentralSystem to enable or disable notifications, change the notify_ha method to check the flag and to add a service to enable / disable notifications from hass.