lbbrhzn
lbbrhzn
Also, if the charge_point_model is not in the payload, will payload.charge_point_model default to None?
Wonder if it would be an option to do this: ```python @on(Action.BootNotification) def on_boot_notification(payload:BootNotificationPayload): device_registry.async_get_or_create( model = payload.charge_point_model, manufacturer = payload.charge_point_vendor, ) ```
@tropxy, that looks quite useful! Would it be possible to generate the pedantic models straight from the specification? For instance, using [pdf parser](https://pypi.org/project/py-pdf-parser/)
Please enable more detailed logging by updating your configuration.yaml. See https://home-assistant-ocpp.readthedocs.io/en/latest/debugging.html
Right, this shows the reason for the disconnects. The OCPP standard uses websockets to transport messages between the charger and the central management system. When connecting to a websocket the...
If you're feeling adventurous we could try skipping the check for the subprotocol. There is already a checkbox for skipping validation, I could add some code to make that also...
ok, please try 0.4.24 with the configuration option 'Skip OCPP schema validation' selected
You could try setting websockets:debug or websockets.server:debug in configuration.yaml. The websocket connection closes before any data is transmitted, so the home assistant log will not be much help. Better capture...
Here's what I get for a working connection with websockets.server:debug in configuration.yaml: ``` 2022-03-16 16:33:08 INFO (MainThread) [websockets.server] server listening on 0.0.0.0:9000 2022-03-16 16:35:40 DEBUG (MainThread) [websockets.server] = connection is...
I've added this info also to https://home-assistant-ocpp.readthedocs.io/en/latest/debugging.html