OCPP changeconfiguration timeout error #903
Unanswered
carlosandtheo
asked this question in
Q&A
Replies: 2 comments
-
Looks like you haven't selected any measurands to sample. You'll need to reinstall and select Voltage, Current.Import, Energy.Active.Import.Register, Power.Active.Import |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome, all works now thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm obtaining a timeout error on the OCPP integration from ChangeConfiguration. The log is shown below.
HA obtains most variables from the charger but this error causes the charger to reboot every 60sec.
Any guidance would be appreciated.
2023-09-12 20:23:24.644 INFO (MainThread) [ocpp] : receive message [3,"0fe86d25-afc1-4c3d-9178-dabb8c08c850",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,FirmwareManagement,Reservation,LocalAuthListManagement,SmartCharging,RemoteTrigger"}]}]
2023-09-12 20:23:24.647 INFO (MainThread) [ocpp] : send [2,"2155c3a0-c56d-4716-bb22-89562c7725cf","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2023-09-12 20:23:25.313 INFO (MainThread) [ocpp] : receive message [3,"2155c3a0-c56d-4716-bb22-89562c7725cf",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,FirmwareManagement,Reservation,LocalAuthListManagement,SmartCharging,RemoteTrigger"}]}]
2023-09-12 20:23:25.316 INFO (MainThread) [ocpp] : send [2,"676ff103-7336-4719-9696-4fcdf7f2ae76","GetConfiguration",{"key":["NumberOfConnectors"]}]
2023-09-12 20:23:25.927 INFO (MainThread) [ocpp] : receive message [3,"676ff103-7336-4719-9696-4fcdf7f2ae76",{"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]
2023-09-12 20:23:25.930 INFO (MainThread) [ocpp] : send [2,"343337a2-bcd0-453d-b322-0b29795b9079","GetConfiguration",{"key":["NumberOfConnectors"]}]
2023-09-12 20:23:26.549 INFO (MainThread) [ocpp] : receive message [3,"343337a2-bcd0-453d-b322-0b29795b9079",{"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]
2023-09-12 20:23:26.552 INFO (MainThread) [ocpp] : send [2,"a16f45b7-e32a-453a-bf7e-b98910137342","GetConfiguration",{"key":["HeartbeatInterval"]}]
2023-09-12 20:23:27.159 INFO (MainThread) [ocpp] : receive message [3,"a16f45b7-e32a-453a-bf7e-b98910137342",{"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"30"}]}]
2023-09-12 20:23:27.162 INFO (MainThread) [ocpp] : send [2,"8e084be0-f66d-447d-9feb-23fb9aa493df","GetConfiguration",{"key":["HeartbeatInterval"]}]
2023-09-12 20:23:27.772 INFO (MainThread) [ocpp] : receive message [3,"8e084be0-f66d-447d-9feb-23fb9aa493df",{"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"30"}]}]
2023-09-12 20:23:27.777 INFO (MainThread) [ocpp] : send [2,"a6f66957-6dfa-48a8-a38e-4b3e2a46f3aa","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2023-09-12 20:23:28.386 INFO (MainThread) [ocpp] : receive message [3,"a6f66957-6dfa-48a8-a38e-4b3e2a46f3aa",{"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Voltage,Current.Import,Energy.Active.Import.Register,Power.Active.Import"}]}]
2023-09-12 20:23:28.388 INFO (MainThread) [ocpp] : send [2,"fe07ef76-a1b1-4884-a6b2-93e07cb4432f","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2023-09-12 20:23:29.001 INFO (MainThread) [ocpp] : receive message [3,"fe07ef76-a1b1-4884-a6b2-93e07cb4432f",{"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Voltage,Current.Import,Energy.Active.Import.Register,Power.Active.Import"}]}]
2023-09-12 20:23:29.004 INFO (MainThread) [ocpp] : send [2,"82427c17-5798-41a2-b7ab-0e049bba061e","ChangeConfiguration",{"key":"MeterValuesSampledData","value":""}]
2023-09-12 20:23:59.013 INFO (MainThread) [ocpp] : send [2,"c3757ea0-ed67-4f52-87d0-8fba1121daac","ChangeConfiguration",{"key":"MeterValuesSampledData","value":""}]
2023-09-12 20:24:08.448 INFO (MainThread) [ocpp] : receive message [2,"105023","BootNotification",{"chargePointVendor":"SINO","chargePointModel":"PEVC2107E","chargeBoxSerialNumber":"123050003018","chargePointSerialNumber":"123050003018","firmwareVersion":"V2.05","iccid":"NULL","imsi":"NULL","meterSerialNumber":"1232132132sn","meterType":"AC meter"}]
2023-09-12 20:24:08.450 INFO (MainThread) [ocpp] : send [3,"105023",{"currentTime":"2023-09-12T10:24:08Z","interval":3600,"status":"Accepted"}]
2023-09-12 20:24:09.362 INFO (MainThread) [ocpp] : receive message [2,"105024","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2023-09-12T10:24:08Z"}]
2023-09-12 20:24:09.363 INFO (MainThread) [ocpp] : send [3,"105024",{}]
2023-09-12 20:24:09.669 INFO (MainThread) [ocpp] : receive message [2,"105025","StatusNotification",{"connectorId":0,"errorCode":"NoError","status":"Available","timestamp":"2023-09-12T10:24:08Z"}]
2023-09-12 20:24:09.671 INFO (MainThread) [ocpp] : send [3,"105025",{}]
2023-09-12 20:24:09.963 INFO (MainThread) [ocpp] : receive message [2,"105026","Heartbeat",{}]
2023-09-12 20:24:09.965 INFO (MainThread) [ocpp] : send [3,"105026",{"currentTime":"2023-09-12T10:24:09Z"}]
2023-09-12 20:24:29.019 INFO (MainThread) [ocpp] : send [2,"f44d2ab4-cccf-42e4-aa98-247dbdc3ed28","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2023-09-12 20:24:29.021 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/queues.py", line 158, in get
await getter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/ocpp/charge_point.py", line 281, in call
response = await self._get_specific_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ocpp/api.py", line 843, in _get_specific_response
resp = await super()._get_specific_response(unique_id, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ocpp/charge_point.py", line 315, in _get_specific_response
response = await asyncio.wait_for(self._response_queue.get(), timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/ocpp/api.py", line 425, in post_connect
await self.configure(
File "/config/custom_components/ocpp/api.py", line 823, in configure
resp = await self.call(req)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/ocpp/charge_point.py", line 285, in call
raise asyncio.TimeoutError(
Beta Was this translation helpful? Give feedback.
All reactions