Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ve-direct driver #440

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0d0c85f
basic thinks works
pkubanek Mar 13, 2017
d8815d7
fixed problem with reading from driver by lines
Mar 14, 2017
433eceb
poll_interval, better input buffer handling
Mar 14, 2017
9cffd3f
added ping command
pkubanek Mar 14, 2017
0b650d7
fix process text buffer
pkubanek Mar 14, 2017
53cad00
reply to commands
Mar 14, 2017
79a8979
HEX checksums
Mar 15, 2017
9d2bdd7
commands to set/get things
pkubanek Mar 16, 2017
8948e1a
Merge branch 'master' of git://github.com/networkupstools/nut
pkubanek Apr 17, 2017
932dd18
basic thinks works
pkubanek Mar 13, 2017
d3317f9
fixed problem with reading from driver by lines
Mar 14, 2017
aea4e8d
poll_interval, better input buffer handling
Mar 14, 2017
1a86754
added ping command
pkubanek Mar 14, 2017
70822e9
fix process text buffer
pkubanek Mar 14, 2017
8e174c3
reply to commands
Mar 14, 2017
ec97d1b
HEX checksums
Mar 15, 2017
9c8d28e
commands to set/get things
pkubanek Mar 16, 2017
23dd480
Merge branch 'master' of github.com:pkubanek/nut
pkubanek Jun 6, 2017
90bd48d
added Kubanek to dict
pkubanek Jun 6, 2017
5318881
fixed for C99 fpr loop
pkubanek Jun 6, 2017
1b64609
added Petr and ve to spellcheck dictionary
pkubanek Jun 6, 2017
6404d0f
Merge branch 'master' into master
jimklimov Oct 9, 2020
c7d4f89
Merge branch 'master' into master
jimklimov Oct 9, 2020
180d558
Merge branch 'master' into master
jimklimov Oct 25, 2020
38af574
Update ve-direct.txt
jimklimov Nov 7, 2020
e1e5d32
Update ve-direct.c
jimklimov Nov 7, 2020
490d0af
Merge branch 'master' into master
jimklimov Nov 7, 2020
d94fed3
Merge branch 'master' into master
jimklimov Nov 29, 2020
be103ea
Merge branch 'master' into master
jimklimov Apr 23, 2021
fb2a496
Merge branch 'master' into master
jimklimov Sep 13, 2021
a63423b
Merge branch 'master' into master
jimklimov Sep 20, 2021
d20f7d1
Merge branch 'master' into master
jimklimov Sep 21, 2021
2ea49d4
Merge branch 'master' into master
jimklimov Nov 7, 2021
cca1f22
Merge branch 'master' into master
jimklimov Jan 22, 2022
afc0f74
Merge branch 'master' into master
jimklimov Jan 27, 2022
aaf5eaa
download.txt: "trac" and "alioth" are AWOL, update the links
jimklimov Feb 5, 2022
78d5b2b
developers.txt: "alioth" is AWOL, update the text
jimklimov Feb 5, 2022
f35b856
developers.txt: "trac" is AWOL, update the link to github wiki copy
jimklimov Feb 5, 2022
88d316c
documentation.txt: update with a link to video by Techno Tim
jimklimov Feb 5, 2022
fe2d07f
documentation.txt: add a blog by James Ridgway
jimklimov Feb 5, 2022
0f9508f
NEWS: plea to package maintainers to share their customizations into …
jimklimov Feb 5, 2022
9e00a8c
drivers: bump versions for all drivers, they could have been refactor…
jimklimov Feb 5, 2022
d58f460
docs/support.txt: detail abot GitHub issues and PRs, and IRC channel
jimklimov Feb 5, 2022
8bdbb18
docs/packager-guide.txt: mention ipmi and modbus drivers as separate …
jimklimov Feb 6, 2022
50e97f4
gen-usbhid-subdriver.sh: suggest "fix_report_desc" in subdriver_t (fo…
jimklimov Feb 7, 2022
69c6263
configure.ac: move "--with-drivers=name[,name...]" handling to before…
jimklimov Feb 8, 2022
ce1b3d7
drivers/Makefile.am: parameterize POWERMAN_DRIVERLIST and IPMI_DRIVER…
jimklimov Feb 8, 2022
9b32f9e
configure.ac: move --with-drivers=... handling to before --with-all, …
jimklimov Feb 8, 2022
a30868f
configure.ac: improve handling of platform-dependent (linux-i2c, maco…
jimklimov Feb 8, 2022
1446948
configure.ac: error out for unhandled --with-drivers=xxx names
jimklimov Feb 8, 2022
95cc8a3
docs/packager-guide.txt: fix title for pkg-nut-modbus
jimklimov Feb 9, 2022
3ec5480
docs/packager-guide.txt: update for nut-linux-i2c and nut-macosx-ups …
jimklimov Feb 9, 2022
a4268b2
drivers/ve-direct.c: fix trailing white-space and C++-style comments
jimklimov Feb 9, 2022
8995f78
drivers/ve-direct.c: mark ve_*() methods as static
jimklimov Feb 9, 2022
841ee19
Merge branch 'master' into master
jimklimov Feb 9, 2022
4e27301
Merge branch 'master' into master
jimklimov Feb 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ SRC_SERIAL_PAGES = \
tripplitesu.txt \
upscode2.txt \
victronups.txt \
apcupsd-ups.txt
apcupsd-ups.txt \
ve-direct.txt

if WITH_MANS
MAN_SERIAL_PAGES = \
Expand Down Expand Up @@ -394,7 +395,8 @@ MAN_SERIAL_PAGES = \
tripplitesu.8 \
upscode2.8 \
victronups.8 \
apcupsd-ups.8
apcupsd-ups.8 \
ve-direct.8
endif

if WITH_SERIAL
Expand Down Expand Up @@ -441,7 +443,8 @@ HTML_SERIAL_MANS = \
tripplitesu.html \
upscode2.html \
victronups.html \
apcupsd-ups.html
apcupsd-ups.html \
ve-direct.html

# (--with-snmp)
SRC_SNMP_PAGES = snmp-ups.txt
Expand Down
49 changes: 49 additions & 0 deletions docs/man/ve-direct.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
VE-DIRECT(8)
=============

NAME
----
ve-direct - Driver for Victron UPS unit running on VE.Direct serial protocol

NOTE
----
This man page only documents the hardware-specific features of the the
victronups driver. For information about the core driver, see
linkman:nutupsdrv[8].

SUPPORTED HARDWARE
------------------
The ve-direct should recognize all Victron models that use a serial VE.Direct
protocol at 19200 bps.

CABLING
-------

Use Victron provided USB or serial cable to connect yours Victron UPS.

EXTRA ARGUMENTS
---------------
This driver supports the following optional setting in the
linkman:ups.conf[5]:

*modelname*='name'::
Set model name

BUGS
----
The HEX protocol is not supported at the moment.

AUTHOR
------
Petr Kubanek <[email protected]>

SEE ALSO
--------

The core driver:
~~~~~~~~~~~~~~~~
linkman:nutupsdrv[8]

Internet resources:
~~~~~~~~~~~~~~~~~~~
The NUT (Network UPS Tools) home page: http://www.networkupstools.org/
3 changes: 3 additions & 0 deletions docs/nut.dict
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ Korte
Kralewski
Kroll
Krpec
Kubanek
Kx
LASTXFER
LBT
Expand Down Expand Up @@ -733,6 +734,7 @@ Pavel
Pawe
PbAc
Perriault
Petr
Petri
Petter
Pezzini
Expand Down Expand Up @@ -2350,6 +2352,7 @@ varlow
varname
varvalue
vbatt
ve
vendorid
verifySourceSig
versa
Expand Down
3 changes: 2 additions & 1 deletion drivers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SERIAL_DRIVERLIST = al175 bcmxcp belkin belkinunv bestfcom \
mge-utalk microdowell mge-shut oneac optiups powercom rhino \
safenet skel solis tripplite tripplitesu upscode2 victronups powerpanel \
blazer_ser clone clone-outlet ivtscd apcsmart apcsmart-old apcupsd-ups riello_ser \
nutdrv_qx
nutdrv_qx ve-direct
SNMP_DRIVERLIST = snmp-ups
USB_LIBUSB_DRIVERLIST = usbhid-ups bcmxcp_usb tripplite_usb \
blazer_usb richcomm_usb riello_usb \
Expand Down Expand Up @@ -144,6 +144,7 @@ upscode2_LDADD = $(LDADD) -lm
victronups_SOURCES = victronups.c
riello_ser_SOURCES = riello.c riello_ser.c
riello_ser_LDADD = $(LDADD) -lm
ve_direct_SOURCES = ve-direct.c

# non-serial drivers: these use custom LDADD and/or CFLAGS

Expand Down
Loading