>> Has anyone written a class or plugin that can connect to an APC UPS and
>> pick up the power info data it transmits?
>
>Did you ask the developer of the machines?
>
>You certainly need a driver for this.
APC no longer appears to offer the Mac version of their software for
prior to OS 9. They also don't appear to offer a software SDK, but there
are some open source Linux tools that pick up the data from their UPSes.
So before I attempted to understand the protocol from looking at the
Linux code, I was hoping someone already did the work for RB.
I don't think a driver is needed.
>From what I understand, the communication is pretty much one way. The UPS
sends data over a cable plugged into the serial port. You either read the
data and understand what it is, or you ignore it. You never send anything
back to the UPS. All that happens is you read the data sent, and then act
however you want based on the data. (the data is things like line voltage
levels, battery power levels, and possibly remaining battery time, but I
suspect that is actually calculated at the client based on battery level
and rate of discharge)
-chris
<http://www.mythtech.net>
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|