e***@2xwave.com
2016-12-29 22:58:48 UTC
I downloaded the source and made sure I had libusb-dev and libmodbus-dev
packages (from Debian), then configured with "--enable-modbus-usb"
# aptitude install libmodbus-dev libusb-dev
# ./configure --enable-modbus-usb
# make
# make install
And it seems to be working. I'm now getting LINEV, LOADPCT, OUTCURNT and
all kinds of interesting things.
Do the apcupsd developers have more sway with the Debian admins to make
sure the package is compiled with modbus/usb support? i.e. Can you ask
them to update their packages rather than a lowly user like me?
Thanks,
packages (from Debian), then configured with "--enable-modbus-usb"
# aptitude install libmodbus-dev libusb-dev
# ./configure --enable-modbus-usb
# make
# make install
And it seems to be working. I'm now getting LINEV, LOADPCT, OUTCURNT and
all kinds of interesting things.
Do the apcupsd developers have more sway with the Debian admins to make
sure the package is compiled with modbus/usb support? i.e. Can you ask
them to update their packages rather than a lowly user like me?
Thanks,
Maybe the debian admins did not include the modbus module when they
built it?
Ted
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
built it?
Ted
Thanks,
I did the upgrade, only to find that it was already the most current
9.3. And that modbus support should work for firmware 9.1 and higher.
My only other idea is to compile apcupsd from source, but I was hoping
Debian already did that properly (it's already 3.14.14).
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
------------------------------------------------------------------------------I did the upgrade, only to find that it was already the most current
9.3. And that modbus support should work for firmware 9.1 and higher.
My only other idea is to compile apcupsd from source, but I was hoping
Debian already did that properly (it's already 3.14.14).
Run this
http://www.apc.com/us/en/faqs/content/?id=FA281865
make sure your firmware is current
Ted
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
------------------------------------------------------------------------------http://www.apc.com/us/en/faqs/content/?id=FA281865
make sure your firmware is current
Ted
I recently purchased an SMT1500 UPS and I'm having problems getting
modbus working.
I'm running Debian using apcupsd 3.14.14
My UPS is an SMT1500 with firmware 09.3 / ID=18
(http://www.apc.com/shop/us/en/products/APC-Smart-UPS-1500VA-LCD-120V/P-SMT1500)
I've enabled modbus on the SMT's front panel (using the advanced
menu)
and the "Modbus Address" is "1"
My config is...
working with UPSTYPE usb & apcsmart. But when trying modbus for
either
serial or usb, all I get is status COMMLOST.
voltages (LINEV) and load percentages (LOADPCT), but assume this is
only
available via modbus. They are not reported in usb or apcsmart mode.
The closet issue I could find on the list is here
https://sourceforge.net/p/apcupsd/mailman/message/34852904/ But I
don't
see a solution.
Any help or pointers is appreciated. Thanks,
Mario
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
------------------------------------------------------------------------------modbus working.
I'm running Debian using apcupsd 3.14.14
My UPS is an SMT1500 with firmware 09.3 / ID=18
(http://www.apc.com/shop/us/en/products/APC-Smart-UPS-1500VA-LCD-120V/P-SMT1500)
I've enabled modbus on the SMT's front panel (using the advanced
menu)
and the "Modbus Address" is "1"
My config is...
UPSCABLE usb
UPSTYPE modbus
DEVICE
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
I've also tried specifying the serial number...UPSTYPE modbus
DEVICE
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
UPSTYPE modbus 3S1637X09876
I've tried both the usb and serial cable and can get communicationsworking with UPSTYPE usb & apcsmart. But when trying modbus for
either
serial or usb, all I get is status COMMLOST.
APC : 001,017,0427
DATE : 2016-12-20 21:31:24 -0500
HOSTNAME : dualquad
VERSION : 3.14.14 (31 May 2016) debian
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2016-12-20 21:31:22 -0500
STATUS : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 10 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2016-12-20 21:31:24 -0500
apctest returns the following...DATE : 2016-12-20 21:31:24 -0500
HOSTNAME : dualquad
VERSION : 3.14.14 (31 May 2016) debian
CABLE : USB Cable
DRIVER : MODBUS UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2016-12-20 21:31:22 -0500
STATUS : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 10 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2016-12-20 21:31:24 -0500
2016-12-20 21:37:14 apctest 3.14.14 (31 May 2016) debian
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = MODBUS UPS Driver
Setting up the port ...
0.000 apcupsd: ModbusRs232Comm.cpp:71 Open: open("") fails: No such
file or directory
apctest FATAL ERROR in apctest.c at line 321
Unable to open UPS device.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed
I'm lost at what else to try. I'd like to be able to get the lineChecking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = MODBUS UPS Driver
Setting up the port ...
0.000 apcupsd: ModbusRs232Comm.cpp:71 Open: open("") fails: No such
file or directory
apctest FATAL ERROR in apctest.c at line 321
Unable to open UPS device.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed
voltages (LINEV) and load percentages (LOADPCT), but assume this is
only
available via modbus. They are not reported in usb or apcsmart mode.
The closet issue I could find on the list is here
https://sourceforge.net/p/apcupsd/mailman/message/34852904/ But I
don't
see a solution.
Any help or pointers is appreciated. Thanks,
Mario
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Apcupsd-users mailing list
https://lists.sourceforge.net/lists/listinfo/apcupsd-users