[Nut-upsdev] APC SmartUPS 750 (SUA750) missing ambient data with usbhid-ups
Arjen de Korte
nut+devel at de-korte.org
Sat Sep 20 17:06:14 UTC 2008
Citeren "Ric Anderson" <ric at Opus1.COM>:
> Running the SVN version (USB driver.version: 2.3.0-1528) adds
> ambient.humidity: 29.2
> ambient.temperature: -4310085730494.6
> to the upsc output. The serial port driver on 2.2.2 says
> ambient.humidity: 029.2
> ambient.temperature: 29.21
> which is correct based on temp(c)/humidity(%) data I get from a table
> top instrument. So there is progress, but the USB temperature is a
> tad off :-)
>
> Any debug info I can gather to help with this?
I'm sorry, I messed up. The kelvin_celsius_conversion function returns
a pointer to a string, so it should be
{ "ambient.temperature", 0, 0,
"UPS.APCEnvironment.APCProbe1.Temperature", NULL, "%s", 0,
kelvin_celsius_conversion },
I'll fix this in SVN later today.
Best regards, Arjen
--
Please keep list traffic on the list
More information about the Nut-upsdev
mailing list