adelsystem_cbi − Driver for the ADELSYSTEM CB/CBI DC−UPS
adelsystem_cbi −h
adelsystem_cbi −a DEVICE_NAME [OPTIONS]
Note
This man page only documents the specific features of the adelsystem_cbi driver. For information about the core driver, see nutupsdrv(8).
This is the driver for the adelsystem cb/cbi dc−ups devices.
The driver has been tested against CBI2801224A, all in one 12/24Vdc DC−UPS.
More information about this UPS can be found here:
https://www.adelsystem.com/en/products/dc−ups−/
This driver supports the following optional settings in the ups.conf(5) file:
ser_baud_rate=value
A integer specifying the serial port baud rate (default 9600).
ser_data_bit=value
A integer specifying the serial port data bit (default 8).
ser_parity=value
A character specifying the serial port parity (default N).
ser_stop_bit=value
An integer specifying the serial port stop bit (default 1).
dev_slave_id=value
An integer specifying the device modbus slave ID (default 1).
Here is an example of adelsystem_cbi driver configuration in ups.conf file:
[adelsystem_cbi]
driver = adelsystem_cbi
port = /dev/ttyUSB0
desc = "adelsystem cb/cbi ups driver"
# serial settings
ser_baud_rate = 9600
ser_parity = N
ser_data_bit = 8
ser_stop_bit = 1
# modbus slave id
dev_slave_id = 5
This driver support the following instant commands:
load.off
executes "instant poweroff"
This driver is not built by default. You can build it by installing libmodbus and running configure −−with−modbus=yes.
You also need to give proper permissions on the local serial device file (/dev/ttyUSB0 for example) to allow the run−time NUT driver user account to access it.
Dimitris Economou <[email protected]>
nutupsdrv(8), ups.conf(5)
• The NUT (Network UPS Tools) home page: https://www.networkupstools.org/
• libmodbus home page: http://libmodbus.org