Closed sauravkhakurel closed 1 month ago
Hi @sauravkhakurel, can you confirm that the ChargePoint
class is initiated with the right parameters? It requires a connection
parameter which should not be None
.
Hi @sauravkhakurel, can you confirm that the
ChargePoint
class is initiated with the right parameters? It requires aconnection
parameter which should not beNone
.
Its solved now. After inspecting the flow in the OCPP package I was able to figure out the issue of websocket not being passed as the connection parameter. Thanks for the info.
I have written an implementation for OCPP 1.6 by using this library and this is the code for that. On top of that the code does not seem to work when call is used to initiate request
Exception is raised when the await self.call(payload) is executed with the following error
I am not able to figure out what NoneType this is referring to. Even when sending only the id_tag in the payload the same error is returned even if the other fields connectorID and chargingProfile are optional.
Any help is appreciated, thanks