I just purchased an SC1500 for my rack (APC smart UPS), and I'm trying to build a custom home automation driver that will query the device to gather information.
Thus far, I have used the PowerChute software to test my cable. All works well. RealTerm in spy mode shows my PC sending ascii characters to the UPS and the UPS responding with data ending with a lf and cr.
However, when I try to send the similar commands as PowerChute out from my home automation software (motorola premise), I receive no response from the UPS!?!
The data is sent out of the serial port as ascii using "textmode" (with the powerchute server disabled under windows to free up the port)... For example, if I send the character B, I should receive the battery voltage, but I receive nothing? Should I be talking to the UPS in binary mode and not text mode? Is there some sort of initialization I need to be doing? Right now, I'm not sending anything other than B...
Anyone recently purchase a Smart UPS and write a driver? If so, please provide some hints :lol:
This protocol looks to be applicable to the UPS according to RealTerm in Spy mode:
http://www.networkupstools.org/protocols/apcsmart.html
Thus far, I have used the PowerChute software to test my cable. All works well. RealTerm in spy mode shows my PC sending ascii characters to the UPS and the UPS responding with data ending with a lf and cr.
However, when I try to send the similar commands as PowerChute out from my home automation software (motorola premise), I receive no response from the UPS!?!
The data is sent out of the serial port as ascii using "textmode" (with the powerchute server disabled under windows to free up the port)... For example, if I send the character B, I should receive the battery voltage, but I receive nothing? Should I be talking to the UPS in binary mode and not text mode? Is there some sort of initialization I need to be doing? Right now, I'm not sending anything other than B...
Anyone recently purchase a Smart UPS and write a driver? If so, please provide some hints :lol:
This protocol looks to be applicable to the UPS according to RealTerm in Spy mode:
http://www.networkupstools.org/protocols/apcsmart.html