Skip to content
/ OpenV2Gx Public
forked from Martin-P/OpenV2G

Fork from the Martin-P/OpenV2G with the goal to provide an universal command line interface. This is used in the python part of the CCS project, see https://github.com/uhi22/pyPLC.

License

Notifications You must be signed in to change notification settings

uhi22/OpenV2Gx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

188 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal of the fork

Command line interface to decode and encode EXI data

e.g. $ ./OpenV2G.exe DH8000dbab9371d3234b71d1b981899189d191818991d26b9b3a232b30020000040040 should Decode the ApplicationHandshakeRequest.

e.g. $ ./OpenV2G.exe EDi_380_20 should Encode with DIN schema the CurrentDemandResponse with 380V and 20A

The result is provided on stdout in JSON format, e.g.

	$ ./OpenV2G.exe DD809a001150400000c80006400000
	{
	"msgName": "PreChargeReq",
	"info": "14 bytes to convert",
	"error": "",
	"result": "",
	"schema": "DIN",
	"g_errn": "0",
	"header.SessionID": "",
	"header.Notification_isUsed": "0",
	"header.Signature_isUsed": "0",
	"DC_EVStatus.EVReady": "0",
	"DC_EVStatus.EVErrorCode": "0",
	"DC_EVStatus.EVRESSSOC": "0",
	"EVTargetVoltage.Multiplier": "-1",
	"EVTargetVoltage.Unit": "5",
	"EVTargetVoltage.Value": "3484",
	"EVTargetCurrent.Multiplier": "-1",
	"EVTargetCurrent.Unit": "3",
	"EVTargetCurrent.Value": "10",
	}

or

	$ ./OpenV2G.exe EDi_380_20
	{
	"msgName": "",
	"info": "encodeCurrentDemandResponse finished",
	"error": "",
	"result": "809a02004080c1014181c210e0004080000193f0080c82800030",
	"parameter0": "380",
	"parameter1": "20",
	"debug": ""
	}

Known limitations / ToDos

  • Decoder and encoder for DIN: Some message details are still missing.
  • Only the DIN schema is (partly) supported. ISO schema to be added.

Features / Progress

2022-11-11: The minimum functionality for EVSE side works until the precharge response, so that the Ioniq car responds without errors.

Related projects

This EXI decoder / encoder is an essential part of the https://github.com/uhi22/pyPlc CCS communication project.

Base project

This fork is based on: https://github.com/Martin-P/OpenV2G Version 0.9.5, released March 11, 2022


OpenV2G - an open source project implementing the basic functionality of the ISO IEC 15118 vehicle to grid (V2G) communication interface Version 0.9.5, released March 11, 2022 http://openv2g.sourceforge.net/

Please report bugs via the SourceForge bug tracking system at http://sourceforge.net/tracker/?group_id=350113. Thank you.

Copyright (C) 2007-2022 Siemens AG

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

Fork from the Martin-P/OpenV2G with the goal to provide an universal command line interface. This is used in the python part of the CCS project, see https://github.com/uhi22/pyPLC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.8%
  • Makefile 0.2%