Skip to content

OCPP 1.6 JSON developed using node-red and integrate with thingsboard through MQTT for Data Visualizations

Notifications You must be signed in to change notification settings

Anmirazik/OCPP1.6J-Server-Nodered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCPP 1.6J Server

OCPP 1.6 JSON developed using node-red and integrate with thingsboard through MQTT for Data Visualizations

Just a simple backend OCPP 1.6J prototype

About

  1. Just a simple OCPP 1.6J server prototype which I have developed using Nodered using this library https://github.com/Argonne-National-Laboratory/node-red-contrib-ocpp.git
  2. It can receive ocpp commands from the charger such as BootNotifications, StartTransaction, StopTransaction and other basic OCPP commands
  3. It also can send ocpp commands to the charger such as RemoteStartTransaction and RemoteStopTransaction
  4. All the data received through OCPP protocol are then sent to thingsboard MQTT broker for Visualizations and controlling

Example Data Output

Below is an example of data output coming from the simulated ocpp charger where StartTransaction OCPP command is being sent from charger to the cloud based on here https://github.com/vasyas/charger-simulator.git

{
   "ocpp":{
      "chargeBoxIdentity":"OC",
      "MessageId":"cf988fc8-1f52-4aca-8f88-e4e5d199d779",
      "msgType":2,
      "command":"StartTransaction"
   },
   "_msgid":"36beaed13884a412",
   "payload":{
      "command":"StartTransaction",
      "data":{
         "connectorId":1,
         "idTag":"12345678",
         "timestamp":"2023-11-25T02:38:07.925Z",
         "meterStart":0
      }
   },
   "msgId":"8cd21349-c137-418e-aa6e-88d1d0e91d41"
}

How the Integration With Thingsboard Looks Like

Main Dashboard

So below is an overview of how the integration with Thingsboard looks like , just a simple dashboard to see the status of the charger

image

Session Dashboard

Below session dashboard shows the amount of energy consumptions for the charger and its individual transaction where it has the amount of power feed into the car and the price of each transaction

image

About

OCPP 1.6 JSON developed using node-red and integrate with thingsboard through MQTT for Data Visualizations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published