[Nut-upsdev] driver for IVT SCD solar controller ?

Arjen de Korte nut+devel at de-korte.org
Wed Jul 29 20:27:07 UTC 2009


Citeren Rainer Fuegenstein <rfu op kaneda.iguw.tuwien.ac.at>:

> the serial ports on the atom mainboard are still not working, but today I
> managed to connect the SCD to a different (centos 5) system and made the
> following findings (via minicom) which may be of interest to you:
>
> 1) it is sufficient to just send the uppercase letter F (without cr/lf)

For the moment, I left these in (probably won't hurt).

> 2) this is what the output looks like:
>
> R:12,57;- 1,1;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,0;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,1;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,1;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,1;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,1;20;12,57;13,18;- 2,1; 1,5;
> R:12,57;- 1,2;20;12,57;13,18;- 2,1; 1,5;

Hmmm, this will require some simple reformatting of the data in order  
to extract the values. Done.

> please note the blank between the minus sign and the actual value (but I
> assume you're just using the first value which should never get negative).

No, we use whatever we get and map it to the appropriate NUT  
variables. You never know if someone finds a use for it. Especially  
the second value (actual current to/from the battery) is useful, since  
it allows us to see if the battery voltage (charge) tends to increase  
or decrease. If it is increasing, this is mapped to the NUT status OL  
(On Line), when it decreases OB (On Battery). You could set a timer on  
the ONBATT status to shutdown non-essential tasks when running on  
battery continuously for an hour or so for instance.

> OK; please give me some time; I'll report back as soon as I got the first
> test results.

I'll be on holiday a few days from now, but the driver is so simple  
someone else can pick it up if it needs changes (or you could do it  
yourself).

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list