[Nut-upsdev] driver for IVT SCD solar controller ?
Rainer Fuegenstein
rfu at kaneda.iguw.tuwien.ac.at
Wed Jul 29 19:35:06 UTC 2009
>
> I already wrote an experimental 'ivtscd' driver.
wow, that was fast, big tnx !
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)
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;
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).
> The source is
> available in the SVN trunk. Please let us know if this works for you.
> If not, make sure to post the output of
OK; please give me some time; I'll report back as soon as I got the first
test results.
tnx
>
> /path/to/ivtscd -DDD -a upsname
>
> here so that we can fix remaining issues.
>
> The driver allows you to override the build-in defaults for the power
> on and power off battery voltage by adding
>
> default.battery.voltage.low = 10.80
> default.battery.voltage.nom = 12.00
>
> to 'ups.conf'. Note that I'm a little more conservative with the
> minimum battery voltage needed.
>
> The driver also supports the 'reset.input.minmax' command to reset the
> minimum and maximum values reported by the controller.
>
> Since you can't tell the controller to shutdown the load, the driver
> will hang around after
>
> upsdrvctl shutdown
>
> waiting for the battery voltage to return to nominal or the power
> being cut by the controller. This should be OK, since by the time this
> should be run, all file systems are mounted read-only. Note that after
> the driver exits, you need to call reboot in order to resume to normal
> operation, in a similar fashion as documented in the section on power
> races in docs/shutdown.txt.
>
> Best regards, Arjen
> --
> Please keep list traffic on the list
>
More information about the Nut-upsdev
mailing list