Difference between revisions of "Simple EVSE"

From BITPlan can4eve Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
== Example result ==
 
== Example result ==
 
[[File:registers2017-07-18.png|400px]]
 
[[File:registers2017-07-18.png|400px]]
 +
= Software =
 +
== Usage ==
 +
<source lang='bash'>
 +
java -jar simpleevse.jar Usage
 +
SimpleEvSe: 0.0.1
 +
 +
  usage: java SimpleEvSe
 +
-a (--readall)    : read all
 +
                    read values of all registers
 +
-d (--debug)      : debug
 +
                    create additional debug output if this switch is used
 +
-g (--gui)        : graphical user interface
 +
                    show the graphical user interface
 +
-h (--help)      : help
 +
                    show this usage
 +
-j (--jmod2)      : jmod2
 +
                    use jmod2 communication library
 +
-l (--list)      : listserial
 +
                    list the available serial ports
 +
-p (--port) WERT  : serialPort
 +
                    the serial Port to use
 +
-r (--read) WERT  : read
 +
                    read value for the given register
 +
-s (--server)    : web server
 +
                    start the webserver
 +
-t (--timeOut) N  : timeOut
 +
                    the serial Port timeout in msecs to apply
 +
-v (--version)    : showVersion
 +
                    show current version if this switch is used
 +
-vb (--verbose)  : verbose
 +
                    show descriptions and numbers
 +
-w (--write) WERT : write
 +
                    write value to the given register
 +
</source>
 
<headertabs/>
 
<headertabs/>

Revision as of 18:23, 29 July 2017

[edit]

https://github.com/ed-chemnitz/qmodbus/

Installation

cd /usr/local/src
git clone https://github.com/ed-chemnitz/qmodbus/
qmake
make

Start

ssh -Y <computer with QModBus>
cd /usr/local/scr/qmodbus
QModBus&

Example result

Registers2017-07-18.png

[edit]

Usage

java -jar simpleevse.jar Usage
SimpleEvSe: 0.0.1

  usage: java SimpleEvSe
 -a (--readall)    : read all
                     read values of all registers
 -d (--debug)      : debug
                     create additional debug output if this switch is used
 -g (--gui)        : graphical user interface
                     show the graphical user interface
 -h (--help)       : help
                     show this usage
 -j (--jmod2)      : jmod2
                     use jmod2 communication library
 -l (--list)       : listserial
                     list the available serial ports
 -p (--port) WERT  : serialPort
                     the serial Port to use
 -r (--read) WERT  : read
                     read value for the given register
 -s (--server)     : web server
                     start the webserver
 -t (--timeOut) N  : timeOut
                     the serial Port timeout in msecs to apply
 -v (--version)    : showVersion
                     show current version if this switch is used
 -vb (--verbose)   : verbose
                     show descriptions and numbers
 -w (--write) WERT : write
                     write value to the given register