You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there a way for me to determine whether the charger is still connected or disconnected from the server ? because when the charger has been successfully connected to the central server , there are no indicators for me to know the charger connectivity status whether it is online or offline . we can only determine from here only
I would like to have a message sent to the debug node to indicate that the charger is connected or disconnected . Is there a way for me to Implement this features ? Thank you
The text was updated successfully, but these errors were encountered:
Currently, when the JSON node gets an "Open" event (connected on the websockets level), there is a message sent as:
msg.ocpp.websocket = 'ONLINE'
and when the websocket session is closed it sends:
msg.ocpp.websocket = 'OFFLINE'
This message has no payload, so you would want to change your debug node to output "complete msg object" to see it.
I will consider adding a msgType 99 that requests that websockets status so you could force that message. Otherwise, it is only sent when the status changes to or from open/closed.
i have tried changing my debug node to "complete msg object" and still not able to see the message msg.ocpp.websocket = 'ONLINE' or msg.ocpp.websocket = 'OFFLINE' from debug node
here is my flow
however I have found the workaround for me to indicate the charger status whether it is online or offline through shorten the heartbeat interval configuration from the charger itself and trigger offline message in node-red when heartbeat is not received from charger to central server within specified period .
But i think this method is not efficient as it is depends on the heartbeat intervals of the charger . I think It might be good if you can implement the features of sending online and offline status through msg.payload when the charger and central server have successfully connected on the websocket level in the near future.
Sorry for the miss-understanding. I thought you meant from the client node, not the server node. The "ONLINE/OFFLINE" is only given from the "CP Client JSON" node. There currently isn't a way to have the server tell you which Charge Points it thinks are connected/disconnected. I'll consider this a feature request for a future release.
is there a way for me to determine whether the charger is still connected or disconnected from the server ? because when the charger has been successfully connected to the central server , there are no indicators for me to know the charger connectivity status whether it is online or offline . we can only determine from here only
I would like to have a message sent to the debug node to indicate that the charger is connected or disconnected . Is there a way for me to Implement this features ? Thank you
The text was updated successfully, but these errors were encountered: