elifTech / cpd-ocpp

Open Charge Point Protocol
https://www.eliftech.com/blog/48-a-diy-charging-point-for-an-electric-car-perspective-protocol-and-prototype
MIT License
64 stars 49 forks source link

InternalError: Connectors not defined #10

Open locomoco28 opened 4 years ago

locomoco28 commented 4 years ago

I am having issues to get the StatusNotification payload. I wrote a simple charging point simulator and I always get an internal error when trying to send the StatusNotification.

[ 4, 0, "InternalError", "connectors is not defined", null]

My simulator is self-written (html using native in-browser WebSockets), but I get the same error using the chargingPoint.js in the examples folder of this repo.