-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Wallbox not completing connection #1414
Comments
The version of the ocpp integration should be indicated in manifest.json (but beware, it is not always accurately updated!). When you use HACS to install it, then HACS will still be able to tell you which version you have installed. It looks like your connection may be closed due to a ping/pong timeout on the websocket connection. What is the version of websocket that you have installed? It can be done by adding this to your configuration.yaml:
See https://home-assistant-ocpp.readthedocs.io/en/latest/debugging.html |
Thanks for the debug tips. The manifest file says version
As before, it looks like the problem is here:
After a 10 second delay, data is sent and then immediately closes the websocket. |
As an experiment, I rolled my git checkout back to the |
The charger does not respond to the request for its You can try installing v0.5.x of the integration as v0.6.x has major changes to the integration but I suspect it's an issue with your charger or local network. Is it on the latest firmware? |
I moved to tagged version of 0.6.1 and it works now. Yes, the charger is on the latest firmware. |
I restarted HA and the charger and things didn't work in the exact same way again. I reverted to 0.5.14 and it works again, so I am not sure what the real problem is... |
I just ran into the same problem with my brand new Wallbox on 0.6.1 of the integration. Reverting to 0.5.14 had it working right away. |
I am just beginning with OCPP and cannot figure out why my Wallbox Pulsar is not connecting. I cloned the repo from github and put it in my custom_components folder, created the integration, and pointed my charger at the HA instance.
Version of the custom_component
I don't see any version info in
const.py
, but the git hash isa55913c
(commit on 11/27).Configuration
Integration config:
Host address: 0.0.0.0
Port: 9000
No secure connection
The charger configuration is as recommended:
OCPP Provider:
Other
URL:
ws://my-ha-instance.local:9000
Charge point identity:
garagebox
Password: [blank]
Describe the bug
I can seen in my HA logs that communication is happening, but it looks like the charger gives up before completing things.
I have a lot of notifications from HA that "Charger garagebox rebooted."
Debug log
Edit: Adding a little more detail from Wireshark
I can see the WebSocket transactions from the charger to my server in Wireshark. All the packets labeled "Connection Close" come from the server, so it seems like maybe the server is requesting the web socket closure, not due to the charger. There is a 10 second timeout but it looks weird.
Sequence:
Time 0: Server requests "SupportedFeatureProfiles"
Time 0.97s: Charger responds with data shown in log above
Time 1.05s: Server responds with "Accepted" ack
Time 10.003s: Server sends "SupportedFeatureProfiles"
Time 10.006s: Server sends "WebSocket Connection Close"
Time 10.02s: Charger sends "WebSocket Connection Close"
If the server was timing out waiting for the charger, I would have thought it would have sent a command and then waited 10s, not waited 10s then sent the command.
Hopefully that's helpful...
The text was updated successfully, but these errors were encountered: