Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184299 > unrolled thread
| Started by | g <sendmailtogoran@gmail.com> |
|---|---|
| First post | 2017-07-27 12:30 +0200 |
| Last post | 2017-07-28 21:50 +0200 |
| Articles | 11 — 10 participants |
Back to article view | Back to linux.debian.user
Power draw from UPS g <sendmailtogoran@gmail.com> - 2017-07-27 12:30 +0200
Re: Power draw from UPS <tomas@tuxteam.de> - 2017-07-27 12:40 +0200
Re: Power draw from UPS Ron Leach <ronleach@tesco.net> - 2017-07-27 13:10 +0200
Re: Power draw from UPS Darac Marjal <mailinglist@darac.org.uk> - 2017-07-27 13:40 +0200
Re: Power draw from UPS Felix Miata <mrmazda@earthlink.net> - 2017-07-27 15:00 +0200
Re: Power draw from UPS Jörg-Volker Peetz <jvpeetz@web.de> - 2017-07-27 20:50 +0200
Re: Power draw from UPS g <sendmailtogoran@gmail.com> - 2017-07-28 13:20 +0200
Re: Power draw from UPS Dan Purgert <dan@djph.net> - 2017-07-28 15:20 +0200
Re: Power draw from UPS Dan Ritter <dsr@randomstring.org> - 2017-07-28 16:10 +0200
Re: Power draw from UPS Goran <sendmailtogoran@gmail.com> - 2017-07-28 20:50 +0200
Re: Power draw from UPS deloptes <deloptes@gmail.com> - 2017-07-28 21:50 +0200
| From | g <sendmailtogoran@gmail.com> |
|---|---|
| Date | 2017-07-27 12:30 +0200 |
| Subject | Power draw from UPS |
| Message-ID | <u7Odj-4Tl-3@gated-at.bofh.it> |
Hi all, I want to get the power draw from a APC USB UPS. I have managed to run apcusbd and apctest. But how to invoke these tools to get the actual power draw in Watt x Ampere? I've found this page which describes how to read it via RS232 serial port. https://forums.anandtech.com/threads/got-an-apc-smart-ups-measure-real- power-with-it.55847/ But I dont't have such a port neither a cable. Regards Goran
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-07-27 12:40 +0200 |
| Message-ID | <u7On0-4Wk-9@gated-at.bofh.it> |
| In reply to | #184299 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Jul 27, 2017 at 12:27:14PM +0200, g wrote: > Hi all, I want to get the power draw from a APC USB UPS. I have managed > to run apcusbd and apctest. But how to invoke these tools to get the > actual power draw in Watt x Ampere? > > I've found this page which describes how to read it via RS232 serial > port. > > https://forums.anandtech.com/threads/got-an-apc-smart-ups-measure-real- > power-with-it.55847/ > > But I dont't have such a port neither a cable. It's most likely that the USB "appears" as a virtual serial port. Try the command "lsusb" on a console. The option "-v" makes it more verbose. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAll5wqkACgkQBcgs9XrR2kaYvACePSp8iQ14cVcu/PqHNt9vV5g6 uIEAnjGSsqlcE+hHWtn9HV7SsldLiqUw =H773 -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Ron Leach <ronleach@tesco.net> |
|---|---|
| Date | 2017-07-27 13:10 +0200 |
| Message-ID | <u7OQ2-5na-13@gated-at.bofh.it> |
| In reply to | #184299 |
On 27/07/2017 11:27, g wrote: > Hi all, I want to get the power draw from a APC USB UPS. I have managed > [...] > But I dont't have such a port neither a cable. Our APC UPSs included a USB cable in the box. The cable uses a USB plug at one end (into the linux machine) and a different plug at the other end, looking something similar to RJ11 or RJ45 sort of appearance, to plug into the APC UPS. regards, Ron
[toc] | [prev] | [next] | [standalone]
| From | Darac Marjal <mailinglist@darac.org.uk> |
|---|---|
| Date | 2017-07-27 13:40 +0200 |
| Message-ID | <u7Pj3-5wG-7@gated-at.bofh.it> |
| In reply to | #184299 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Jul 27, 2017 at 12:27:14PM +0200, g wrote: >Hi all, I want to get the power draw from a APC USB UPS. I have managed >to run apcusbd and apctest. But how to invoke these tools to get the >actual power draw in Watt x Ampere? What model of UPS is it? Many of the newer models use a protocol called "Microlink" (aka MODBUS over USB) . APC (and their parent Schneider Electric) have been quite secretive about this protocol, unlike the older protocol where they provided nice interface specifications. So, firstly, make sure you're using a sufficently new version of APCUPSd (3.14.13 or newer). Secondly, check that you're using the modbus protocol: http://www.apcupsd.org/manual/manual.html#modbus-driver Finally, if that doesn't help, then it may simply be that the UPS isn't reporting the required information. > >I've found this page which describes how to read it via RS232 serial >port. > >https://forums.anandtech.com/threads/got-an-apc-smart-ups-measure-real- >power-with-it.55847/ > >But I dont't have such a port neither a cable. > >Regards >Goran > -- For more information, please reread.
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2017-07-27 15:00 +0200 |
| Message-ID | <u7Qyu-6dA-35@gated-at.bofh.it> |
| In reply to | #184299 |
g composed on 2017-07-27 12:27 (UTC+0200): > Hi all, I want to get the power draw from a APC USB UPS. I have managed > to run apcusbd and apctest. But how to invoke these tools to get the > actual power draw in Watt x Ampere? > I've found this page which describes how to read it via RS232 serial > port. > https://forums.anandtech.com/threads/got-an-apc-smart-ups-measure-real- > power-with-it.55847/ > But I dont't have such a port neither a cable. Sounds like you may be candidate for one of these: http://www.ebay.ca/itm/152386308824 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2017-07-27 20:50 +0200 |
| Message-ID | <u7W1c-1e4-9@gated-at.bofh.it> |
| In reply to | #184299 |
Maybe this is helpful APC UPS - ArchWiki https://wiki.archlinux.org/index.php/APC_UPS Please report back if and how it works. Regards, jvp.
[toc] | [prev] | [next] | [standalone]
| From | g <sendmailtogoran@gmail.com> |
|---|---|
| Date | 2017-07-28 13:20 +0200 |
| Message-ID | <u8btg-2ZD-13@gated-at.bofh.it> |
| In reply to | #184327 |
I've found out that apcaccess is my friend. When used with attached UPC via USB, it tells a lot about the UPC: https://linux.die.net/man/8/apcaccess and the line RETPCT : Battery charge % required after power off to restore power is the key. My UPC has a max power of 900 watt. RETPCT shows 30.0%. So: 900w x 0.30 = 270w 270 watt is the actual power draw of my server. Regards Am Donnerstag, den 27.07.2017, 20:46 +0200 schrieb Jörg-Volker Peetz: > Maybe this is helpful > APC UPS - ArchWiki https://wiki.archlinux.org/index.php/APC_UPS > Please report back if and how it works. > > Regards, > jvp. >
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2017-07-28 15:20 +0200 |
| Message-ID | <u8dlo-4dP-13@gated-at.bofh.it> |
| In reply to | #184344 |
g wrote: > I've found out that apcaccess is my friend. When used with attached UPC > via USB, it tells a lot about the UPC: > > https://linux.die.net/man/8/apcaccess > > and the line > > RETPCT : Battery charge % required after power off to restore power > > is the key. My UPC has a max power of 900 watt. RETPCT shows 30.0%. So: > > 900w x 0.30 = 270w > > 270 watt is the actual power draw of my server. Maybe I'm misreading it -- but it sounds like "RETPCT" is the required battery charge level before the UPS will restore power to connected devices, assuming the battery runs flat. -- |_|O|_| Registered Linux user #585947 |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2017-07-28 16:10 +0200 |
| Message-ID | <u8e7O-4Ks-43@gated-at.bofh.it> |
| In reply to | #184347 |
On Fri, Jul 28, 2017 at 01:04:30PM -0000, Dan Purgert wrote: > g wrote: > > I've found out that apcaccess is my friend. When used with attached UPC > > via USB, it tells a lot about the UPC: > > > > https://linux.die.net/man/8/apcaccess > > > > and the line > > > > RETPCT : Battery charge % required after power off to restore power > > > > is the key. My UPC has a max power of 900 watt. RETPCT shows 30.0%. So: > > > > 900w x 0.30 = 270w > > > > 270 watt is the actual power draw of my server. > > Maybe I'm misreading it -- but it sounds like "RETPCT" is the required > battery charge level before the UPS will restore power to connected > devices, assuming the battery runs flat. Yeah. I think that LOADPCT * NOMPOWER gives you the actual usage. -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Goran <sendmailtogoran@gmail.com> |
|---|---|
| Date | 2017-07-28 20:50 +0200 |
| Message-ID | <u8iuJ-7rY-11@gated-at.bofh.it> |
| In reply to | #184350 |
[Multipart message — attachments visible in raw view] — view raw
Yes, I checked with a simple wattmeter and it's correct. [send by mobile device] Am 28.07.2017 4:07 nachm. schrieb "Dan Ritter" <dsr@randomstring.org>: > On Fri, Jul 28, 2017 at 01:04:30PM -0000, Dan Purgert wrote: > > g wrote: > > > I've found out that apcaccess is my friend. When used with attached UPC > > > via USB, it tells a lot about the UPC: > > > > > > https://linux.die.net/man/8/apcaccess > > > > > > and the line > > > > > > RETPCT : Battery charge % required after power off to restore power > > > > > > is the key. My UPC has a max power of 900 watt. RETPCT shows 30.0%. So: > > > > > > 900w x 0.30 = 270w > > > > > > 270 watt is the actual power draw of my server. > > > > Maybe I'm misreading it -- but it sounds like "RETPCT" is the required > > battery charge level before the UPS will restore power to connected > > devices, assuming the battery runs flat. > > Yeah. I think that LOADPCT * NOMPOWER gives you the actual > usage. > > -dsr- > >
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2017-07-28 21:50 +0200 |
| Message-ID | <u8jqN-82j-11@gated-at.bofh.it> |
| In reply to | #184366 |
Goran wrote: > Yes, I checked with a simple wattmeter and it's correct. > > [send by mobile device] ahh, those mobile devices... you top posted What exactly did you check, so that it is correct ... I'm a simple man and can not read minds yet. regards
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web