[Nut-upsuser] NUT support for CyberPower PR1500LCDRTXL2Ua
Ben Kamen
bkamen at benjammin.net
Mon Jan 18 23:16:14 UTC 2016
On 2016-01-18 4:56 PM, Ben Kamen wrote:
>
> the line that fails looks like:
>
> D
> #I120.0O120.0L018B100T027H060.0F060
>
> Where can I look in the source code for where that's sent and parsed? (perhaps I can assist updating the driver)
>
> -Ben
>
> _______________________________________________
I see the problem (I think)....
in the file powerp-txt.c in the function powpan_status()
/*
* WRITE D\r
* READ #I119.0O119.0L000B100T027F060.0S..\r
* 01234567890123456789012345678901234
* 0 1 2 3
* 01234567890123456789012345678901234
* #I120.0O120.0L018B100T027H060.0F060
*
*/
The top set response was written into the file -- the bottom set is what I'm getting from the UPS which isn't working... it's a little different.
Now to figure out what the parms mean so I can fix the function to maybe handle either string.
-Ben
More information about the Nut-upsuser
mailing list