[Nut-upsdev] ups emerson liebert GTX2 ESP-II serial protocol demo
Arnaud Quette
arnaud.quette at free.fr
Mon Jan 26 15:22:33 UTC 2009
2009/1/26 Spiros Ioannou <sivann at gmail.com>
> Thank you Arnaud, I will make the driver and mail it to you.
ok, but please mail it to the list.
> The other
> author doesn't have any time to help with this.
he might be interested in promoting nut once the driver is done ;-)
cheers,
Arnaud
>
> Thanks,
> -Spiros
>
> On Mon, Jan 26, 2009 at 11:42 AM, Arnaud Quette <arnaud.quette at free.fr>
> wrote:
> >
> > 2009/1/22 Spiros Ioannou <sivann at gmail.com>
> >>
> >> Cher Arnaud,
> >
> > Hi Spiros,
> >
> >>
> >> I send you a demo that reads info from an Emerson Liebert
> >> GXT2-10000T230 through the RS-232 port. This uses the "ESP-II (ESP 2)
> >> Protocol".
> >> Current supported data includes: measurements (voltage, temperature,
> >> etc) , ID strings (serial number, etc), status flags (inverter on,
> >> bypas on, battery charging, etc).
> >> As usual, the original vendor software is in java (Multilink), and
> really
> >> sucks.
> >> I saw in your acknowledgment pages that you have "serial test boxes"
> >> donated from liebert.
> >
> > well, that donation was to Russell, and goes back many many years ago...
> >
> >>
> >> The program I send you is more complicated than needed, to be able to
> >> support more commands in the future.
> >>
> >> 1) Can you make the driver?
> >> 2) if not, can you point me to a similar driver that I can copy?
> >>
> >> the protocol seems to include a lot more of useless status commands,
> >> unsupported by my ups, but these seem more than enough for a start.
> >
> > well, I personally won't make the driver (no hardware and no time).
> > but we can help you in doing one, and it's not that hard.
> >
> > have a look at the following docs:
> >
> http://svn.debian.org/wsvn/nut/trunk/docs/new-drivers.txt?op=file&rev=0&sc=0
> > http://svn.debian.org/wsvn/nut/trunk/drivers/skel.c?op=file&rev=0&sc=0
> >
> > creating a new serial driver is not really hard, really!
> > I've seen in the header that you based your work on this:
> > http://www.csc.liv.ac.uk/~greg/projects/liebertserial/<http://www.csc.liv.ac.uk/%7Egreg/projects/liebertserial/>
> > maybe the author would help you, or join the project?
> >
> > cheers,
> > Arnaud
> > --
> > Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
> > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
> > Debian Developer - http://people.debian.org/~aquette/<http://people.debian.org/%7Eaquette/>
> > Free Software Developer - http://arnaud.quette.free.fr/
> >
> >
> >> sample output:
> >>
> >> BATTERY_TIME_REMAIN: 52.0
> >> BATTERY_VOLTAGE: 263.0
> >> BATTERY_VOLTAGE_NOMINAL: 275.0
> >> BATTERY_CURRENT: 0.0
> >> BATTERY_CAPACITY: 100.0
> >> BYPASS_VOLTAGE: 231.0
> >> MAX_LOAD: 10000.0
> >> LOAD_WATTS: 1033.0
> >> LOAD_VA: 1245.0
> >> LOAD_PERCENT: 14.0
> >> INPUT_FREQUENCY: 49.9
> >> OUTPUT_FREQUENCY: 49.9
> >> BYPASS_FREQUENCY: 49.9
> >> INVERTER_TEMP: 0.0
> >> BATTERY_TEMP: 0.0
> >> PFC_TEMP: 0.0
> >> AMBIENT_TEMP: 25.9
> >> EXPECTED_RUNTIME: 53.0
> >> OUTPUT_VOLTAGE: 230.0
> >> OUTPUT_CURRENT: 5.0
> >> MODEL_NAME: GXT2-10000T230
> >> FW_VER: GXT2-00896V04
> >> SN: 08009R0056BW932
> >> MANUF_DATE: 04JAN08
> >> PFC_ON: YES
> >> DC_DC_CONVERTER_STATE: NO
> >> ON_INVERTER: YES
> >> UTILITY_STATE: NO
> >> INRUSH_LIMIT_ON: NO
> >> OVERTEMP_WARNING: NO
> >> BATTERY_TEST_STATE: NO
> >> INPUT_OVERVOLTAGE: NO
> >> ON_BATTERY: NO
> >> ON_BYPASS: NO
> >> BATTERY_CHARGED: YES
> >> BATTERY_LIFE_ENHANCER_ON: NO
> >> REPLACE_BATTERY: NO
> >> BOOST_ON: NO
> >> DIAG_LINK_SET: NO
> >> BUCK_ON: NO
> >> UPS_OVERLOAD: NO
> >> BAD_INPUT_FREQ: NO
> >> SHUTDOWN_PENDING: NO
> >> CHARGER_FAIL: NO
> >> LOW_BATTERY: NO
> >> OUTPUT_UNDERVOLTAGE: NO
> >> OUTPUT_OVERVOLTAGE: NO
> >> BAD_BYPASS_PWR: NO
> >> CHECK_AIR_FILTER: NO
> >> AMBIENT_OVERTEMP: NO
> >> MAIN_CONTROL_MODULE_FAILED: NO
> >> REDUNDANT_CONTROL_MODULE_FAILED: NO
> >> UI_MODULE_FAILED: NO
> >> REDUNDANT_POWER_MODULE_ALARM: NO
> >> REDUNDANT_BATTERY_MODULE_ALARM: NO
> >> USER_MAX_LOAD_ALARM: NO
> >> TRANSFORMER_OVERTEMP_ALARM: NO
> >> INTERNAL_COMMS_LOST: NO
> >> PWR_MOD_FAILED: NO
> >> BAT_MOD_FAILED: NO
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090126/9b64dde4/attachment.htm
More information about the Nut-upsdev
mailing list