Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting multiple EV chargers #1207

Open
VendisFronek opened this issue Jun 15, 2024 · 9 comments
Open

Connecting multiple EV chargers #1207

VendisFronek opened this issue Jun 15, 2024 · 9 comments

Comments

@VendisFronek
Copy link

Describe the bug
If I connect only one charger everything works. After connecting the second charger, the diagnostic data will remain, but all data from all sensors will disappear.

Screenshots
image

image

LOG report:

2024-06-13 07:11:40.863 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_register not found.
2024-06-13 07:11:40.864 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_rpm not found.
2024-06-13 07:11:40.865 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_interval not found.
2024-06-13 07:11:40.866 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_interval not found.
2024-06-13 07:11:40.866 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_factor not found.
2024-06-13 07:11:40.866 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_register not found.
2024-06-13 07:11:40.867 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_import not found.
2024-06-13 07:11:40.868 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_export not found.
2024-06-13 07:11:40.888 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 1005: await self.hass.async_create_task(super()._handle_call(msg)) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 238, in start
await self.route_message(message)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 261, in route_message
await self._handle_call(msg)
File "/config/custom_components/ocpp/api.py", line 1005, in _handle_call
await self.hass.async_create_task(super()._handle_call(msg))

2024-06-13 07:11:40.890 INFO (MainThread) [ocpp] Wallbox_1: send [3,"1415483299",{}]
2024-06-13 07:11:40.899 INFO (MainThread) [ocpp] Wallbox_1: receive message [2,"1754391931","StatusNotification",{"info": "","vendorId": "com.wallbox","vendorErrorCode": "","connectorId": 1,"errorCode": "NoError","status": "Available","timestamp": "2024-06-13T05:11:40Z"}]
2024-06-13 07:11:40.900 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_register not found.
2024-06-13 07:11:40.901 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_rpm not found.
2024-06-13 07:11:40.902 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_interval not found.
2024-06-13 07:11:40.902 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_interval not found.
2024-06-13 07:11:40.902 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_factor not found.
2024-06-13 07:11:40.903 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_register not found.
2024-06-13 07:11:40.903 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_import not found.
2024-06-13 07:11:40.903 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_export not found.
2024-06-13 07:11:40.908 INFO (MainThread) [ocpp] Wallbox_1: send [3,"1754391931",{}]
2024-06-13 07:11:41.727 ERROR (MainThread) [custom_components.hacs] No manifest.json file found 'custom_components/None/manifest.json'
2024-06-13 07:11:42.776 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 571: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 459, in post_connect
await self.get_supported_features()
File "/config/custom_components/ocpp/api.py", line 571, in get_supported_features
resp = await self.call(req)

2024-06-13 07:11:42.781 INFO (MainThread) [ocpp] Wallbox_1: send [2,"4dbb86a5-69be-4f15-a88f-bf0a1525aab0","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-06-13 07:11:42.879 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"4dbb86a5-69be-4f15-a88f-bf0a1525aab0",{"unknownKey": [],"configurationKey": [{"readonly": true,"key": "SupportedFeatureProfiles","value": "Core,FirmwareManagement,LocalAuthListManagement,Reservation,SmartCharging,RemoteTrigger"} ]}]
2024-06-13 07:11:42.902 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 571: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 459, in post_connect
await self.get_supported_features()
File "/config/custom_components/ocpp/api.py", line 571, in get_supported_features
resp = await self.call(req)

2024-06-13 07:11:42.908 INFO (MainThread) [ocpp] Wallbox_1: send [2,"ddb6f396-906e-464b-a7b8-ae04db7318fe","GetConfiguration",{"key":["NumberOfConnectors"]}]
2024-06-13 07:11:43.012 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"ddb6f396-906e-464b-a7b8-ae04db7318fe",{"unknownKey": [],"configurationKey": [{"readonly": true,"key": "NumberOfConnectors","value": "1"} ]}]
2024-06-13 07:11:43.016 INFO (MainThread) [ocpp] Wallbox_1: send [2,"c20f325f-0d28-4fd3-b7ef-b341d07f9836","GetConfiguration",{"key":["HeartbeatInterval"]}]
2024-06-13 07:11:43.092 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"c20f325f-0d28-4fd3-b7ef-b341d07f9836",{"unknownKey": [],"configurationKey": [{"readonly": false,"key": "HeartbeatInterval","value": "3600"} ]}]
2024-06-13 07:11:43.114 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 474: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 474, in post_connect
resp = await self.call(req)

2024-06-13 07:11:43.118 INFO (MainThread) [ocpp] Wallbox_1: send [2,"4a182100-1bb6-4a11-8ef5-e4019e455a4b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Export"}]
2024-06-13 07:11:43.246 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"4a182100-1bb6-4a11-8ef5-e4019e455a4b",{"status": "Accepted"}]
2024-06-13 07:11:43.270 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 474: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 474, in post_connect
resp = await self.call(req)

2024-06-13 07:11:43.281 INFO (MainThread) [ocpp] Wallbox_1: send [2,"44b69f5a-f11c-4632-aeee-1ce30b7ea475","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Import"}]
2024-06-13 07:11:43.348 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"44b69f5a-f11c-4632-aeee-1ce30b7ea475",{"status": "Accepted"}]
2024-06-13 07:11:43.349 INFO (MainThread) [ocpp] Wallbox_1: send [2,"945a74a6-177c-497d-9bdb-96723e722bfc","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Current.Offered"}]
2024-06-13 07:11:43.379 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"945a74a6-177c-497d-9bdb-96723e722bfc",{"status": "Accepted"}]
2024-06-13 07:11:43.379 INFO (MainThread) [ocpp] Wallbox_1: send [2,"0e272f53-33e4-4c0f-a0a0-5b8b7e67ed26","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Interval"}]
2024-06-13 07:11:43.496 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"0e272f53-33e4-4c0f-a0a0-5b8b7e67ed26",{"status": "Accepted"}]
2024-06-13 07:11:43.500 INFO (MainThread) [ocpp] Wallbox_1: send [2,"43ef1d6f-e9cc-4c34-8c73-e1e1a0e7b7ec","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Export.Register"}]
2024-06-13 07:11:43.780 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"43ef1d6f-e9cc-4c34-8c73-e1e1a0e7b7ec",{"status": "Accepted"}]
2024-06-13 07:11:43.784 INFO (MainThread) [ocpp] Wallbox_1: send [2,"978cfe56-bc2f-4396-9d98-4f4e81ec47e9","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Interval"}]
2024-06-13 07:11:43.969 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"978cfe56-bc2f-4396-9d98-4f4e81ec47e9",{"status": "Accepted"}]
2024-06-13 07:11:43.971 INFO (MainThread) [ocpp] Wallbox_1: send [2,"c29c83ad-7086-40ba-b1c8-b2f1cc8ca3c2","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Energy.Active.Import.Register"}]
2024-06-13 07:11:43.991 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"c29c83ad-7086-40ba-b1c8-b2f1cc8ca3c2",{"status": "Accepted"}]
2024-06-13 07:11:43.994 INFO (MainThread) [ocpp] Wallbox_1: send [2,"f2822b92-38e4-4208-869b-60e587c50d80","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Frequency"}]
2024-06-13 07:11:44.025 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"f2822b92-38e4-4208-869b-60e587c50d80",{"status": "Accepted"}]
2024-06-13 07:11:44.032 INFO (MainThread) [ocpp] Wallbox_1: send [2,"2ebfb43f-f517-4a69-a53d-4cfdc3e90f31","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Export"}]
2024-06-13 07:11:44.211 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"2ebfb43f-f517-4a69-a53d-4cfdc3e90f31",{"status": "Accepted"}]
2024-06-13 07:11:44.214 INFO (MainThread) [ocpp] Wallbox_1: send [2,"fbd839b9-c0dd-4c88-9c6e-9b433108f404","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Active.Import"}]
2024-06-13 07:11:44.389 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"fbd839b9-c0dd-4c88-9c6e-9b433108f404",{"status": "Accepted"}]
2024-06-13 07:11:44.391 INFO (MainThread) [ocpp] Wallbox_1: send [2,"7b48faf1-0ea0-4811-9ba6-dbf16ae07c24","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Power.Offered"}]
2024-06-13 07:11:44.430 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"7b48faf1-0ea0-4811-9ba6-dbf16ae07c24",{"status": "Accepted"}]
2024-06-13 07:11:44.434 INFO (MainThread) [ocpp] Wallbox_1: send [2,"7fe851c8-670a-4634-9641-3be166da76ee","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"SoC"}]
2024-06-13 07:11:44.594 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"7fe851c8-670a-4634-9641-3be166da76ee",{"status": "Accepted"}]
2024-06-13 07:11:44.596 INFO (MainThread) [ocpp] Wallbox_1: send [2,"5c1479dc-c75c-48b5-943c-f4644b7a2543","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Temperature"}]
2024-06-13 07:11:44.633 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"5c1479dc-c75c-48b5-943c-f4644b7a2543",{"status": "Accepted"}]
2024-06-13 07:11:44.638 INFO (MainThread) [ocpp] Wallbox_1: send [2,"d90eebef-7b55-45e7-a0a2-7aa3fccc9faa","ChangeConfiguration",{"key":"MeterValuesSampledData","value":"Voltage"}]
2024-06-13 07:11:44.803 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"d90eebef-7b55-45e7-a0a2-7aa3fccc9faa",{"status": "Accepted"}]
2024-06-13 07:11:44.805 INFO (MainThread) [ocpp] Wallbox_1: send [2,"c213ec29-2100-412d-8927-9909a746ca47","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2024-06-13 07:11:44.827 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"c213ec29-2100-412d-8927-9909a746ca47",{"unknownKey": [],"configurationKey": [{"readonly": false,"key": "MeterValuesSampledData","value": "Voltage"} ]}]
2024-06-13 07:11:44.828 INFO (MainThread) [ocpp] Wallbox_1: send [2,"df7af11c-f3d7-4325-ac89-d10d42696265","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,Frequency,Power.Active.Export,Power.Active.Import,Power.Offered,SoC,Temperature,Voltage"}]
2024-06-13 07:11:45.008 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"df7af11c-f3d7-4325-ac89-d10d42696265",{"status": "Accepted"}]
2024-06-13 07:11:45.009 INFO (MainThread) [ocpp] Wallbox_1: send [2,"a320117d-3d0b-4b54-8eb8-8e5cdfca51a8","GetConfiguration",{"key":["MeterValueSampleInterval"]}]
2024-06-13 07:11:45.031 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"a320117d-3d0b-4b54-8eb8-8e5cdfca51a8",{"unknownKey": [],"configurationKey": [{"readonly": false,"key": "MeterValueSampleInterval","value": "60"} ]}]
2024-06-13 07:11:45.032 INFO (MainThread) [ocpp] Wallbox_1: send [2,"86c1708f-6ae6-4792-9bb0-289a9d0f35a0","GetConfiguration",{"key":["ClockAlignedDataInterval"]}]
2024-06-13 07:11:45.053 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"86c1708f-6ae6-4792-9bb0-289a9d0f35a0",{"unknownKey": [],"configurationKey": [{"readonly": false,"key": "ClockAlignedDataInterval","value": "900"} ]}]
2024-06-13 07:11:45.057 INFO (MainThread) [ocpp] Wallbox_1: send [2,"e69aa474-4ee7-4768-8466-2b8878ab567e","GetConfiguration",{"key":["WebSocketPingInterval"]}]
2024-06-13 07:11:45.251 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"e69aa474-4ee7-4768-8466-2b8878ab567e",{"unknownKey": [],"configurationKey": [{"readonly": true,"key": "WebSocketPingInterval","value": "60"} ]}]
2024-06-13 07:11:45.314 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 745: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 560, in post_connect
await self.set_availability()
File "/config/custom_components/ocpp/api.py", line 745, in set_availability
resp = await self.call(req)

2024-06-13 07:11:45.322 INFO (MainThread) [ocpp] Wallbox_1: send [2,"13a5ee77-4816-4e8b-916b-777510a179b1","ChangeAvailability",{"connectorId":0,"type":"Operative"}]
2024-06-13 07:11:45.669 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"13a5ee77-4816-4e8b-916b-777510a179b1",{"status": "Accepted"}]
2024-06-13 07:11:45.687 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 745: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 560, in post_connect
await self.set_availability()
File "/config/custom_components/ocpp/api.py", line 745, in set_availability
resp = await self.call(req)

2024-06-13 07:11:45.700 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 607: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 563, in post_connect
await self.trigger_boot_notification()
File "/config/custom_components/ocpp/api.py", line 607, in trigger_boot_notification
resp = await self.call(req)

2024-06-13 07:11:45.703 INFO (MainThread) [ocpp] Wallbox_1: send [2,"4ef70412-4ce7-4636-8ab5-627f910e4430","TriggerMessage",{"requestedMessage":"BootNotification"}]
2024-06-13 07:11:46.892 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"4ef70412-4ce7-4636-8ab5-627f910e4430",{"status": "Accepted"}]
2024-06-13 07:11:46.916 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 607: resp = await self.call(req) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/ocpp/api.py", line 563, in post_connect
await self.trigger_boot_notification()
File "/config/custom_components/ocpp/api.py", line 607, in trigger_boot_notification
resp = await self.call(req)

2024-06-13 07:11:46.920 INFO (MainThread) [ocpp] Wallbox_1: send [2,"c5eabf6b-d7f8-4450-bc22-4b1f4873c194","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":0}]
2024-06-13 07:11:46.987 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"c5eabf6b-d7f8-4450-bc22-4b1f4873c194",{"status": "Accepted"}]
2024-06-13 07:11:46.988 INFO (MainThread) [ocpp] Wallbox_1: send [2,"69a8d277-a3c1-4444-8067-44903f0bff4d","TriggerMessage",{"requestedMessage":"StatusNotification","connectorId":1}]
2024-06-13 07:11:47.084 INFO (MainThread) [ocpp] Wallbox_1: receive message [2,"1738601311","BootNotification",{"chargePointSerialNumber": "797587","chargePointVendor": "Wall Box Chargers","meterType": "Internal NON compliant","meterSerialNumber": "","chargePointModel": "PLP1-0-2-3","iccid": "","chargeBoxSerialNumber": "797587","firmwareVersion": "6.4.14","imsi": ""}]
2024-06-13 07:11:47.135 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 1005: await self.hass.async_create_task(super()._handle_call(msg)) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 238, in start
await self.route_message(message)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 261, in route_message
await self._handle_call(msg)
File "/config/custom_components/ocpp/api.py", line 1005, in _handle_call
await self.hass.async_create_task(super()._handle_call(msg))

2024-06-13 07:11:47.139 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_register not found.
2024-06-13 07:11:47.140 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_rpm not found.
2024-06-13 07:11:47.140 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_interval not found.
2024-06-13 07:11:47.141 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_interval not found.
2024-06-13 07:11:47.141 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_factor not found.
2024-06-13 07:11:47.141 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_register not found.
2024-06-13 07:11:47.143 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_import not found.
2024-06-13 07:11:47.143 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_export not found.
2024-06-13 07:11:47.161 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'ocpp' at custom_components/ocpp/api.py, line 1005: await self.hass.async_create_task(super()._handle_call(msg)) (offender: /usr/local/lib/python3.12/site-packages/ocpp/messages.py, line 164: with open(path, "r", encoding="utf-8-sig") as f:), please create a bug report at https://github.com/lbbrhzn/ocpp/issues
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 238, in start
await self.route_message(message)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 261, in route_message
await self._handle_call(msg)
File "/config/custom_components/ocpp/api.py", line 1005, in _handle_call
await self.hass.async_create_task(super()._handle_call(msg))

2024-06-13 07:11:47.163 INFO (MainThread) [ocpp] Wallbox_1: send [3,"1738601311",{"currentTime":"2024-06-13T05:11:47Z","interval":3600,"status":"Accepted"}]
2024-06-13 07:11:47.166 INFO (MainThread) [ocpp] Wallbox_1: receive message [3,"69a8d277-a3c1-4444-8067-44903f0bff4d",{"status": "Accepted"}]
2024-06-13 07:11:48.175 INFO (MainThread) [ocpp] Wallbox_1: receive message [2,"604781483","StatusNotification",{"info": "","vendorId": "com.wallbox","vendorErrorCode": "","connectorId": 1,"errorCode": "NoError","status": "Available","timestamp": "2024-06-13T05:11:47Z"}]
2024-06-13 07:11:48.177 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_register not found.
2024-06-13 07:11:48.180 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_rpm not found.
2024-06-13 07:11:48.182 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_interval not found.
2024-06-13 07:11:48.183 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_export_interval not found.
2024-06-13 07:11:48.183 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_factor not found.
2024-06-13 07:11:48.185 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_energy_reactive_import_register not found.
2024-06-13 07:11:48.188 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_import not found.
2024-06-13 07:11:48.188 WARNING (MainThread) [homeassistant.helpers.entity_component] Forced update failed. Entity sensor.charger_1_power_reactive_export not found.
2024-06-13 07:11:48.202 INFO (MainThread) [ocpp] Wallbox_1: send [3,"604781483",{}]

**Desktop

  • OS: Windows 10
  • Browser Chrome
  • Version 125.0.6422.113 (Oficiální sestavení) (64bitový)
@VendisFronek
Copy link
Author

Adding information:

EV charger:
image

@sandersr
Copy link

Multiple chargers are not currently supported :(

@VendisFronek
Copy link
Author

Can i hope this feature will be available sometime in the future?

@puhycz
Copy link

puhycz commented Aug 12, 2024

I have same problem, plaese this multiple chargers feature will be available sometime in the future?

@anon145
Copy link

anon145 commented Sep 5, 2024

same situation here, integration worked so well i bought another charger!
much work involved to add this capability?

@npinguin
Copy link

same problem please add support for multiple chargers

@lightheaded
Copy link

lightheaded commented Oct 20, 2024

I am in process of installing chargers at home, and installed the first charger yesterday. Was happy to see that it mostly works. Today I plan on installing the second charger, but now discovered this topic 😅

Has anyone looked into what it would take to get two chargers working? @lbbrhzn do you know if there are limitations for supporting multiple chargers or was just not considered when implementing as you probably just had one charger to work with?

Asking because if it's a matter of implementation, perhaps I could chip in with development. However, I'd like to avoid potential double work if someone has already done some research on this.

@lbbrhzn
Copy link
Owner

lbbrhzn commented Oct 20, 2024 via email

@npinguin
Copy link

npinguin commented Oct 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants