2018-03-04:
cxmon: Implemented a capability to compensate the PV current
measurement based on the corrected input current
reading (the "CX_PV_CURRENT_VS_LOAD_CURRENT"
parameter in the configuration file), in addition to
the already supported fixed offset compensation.
cxmon: Fixed a bug, which caused temperature readings more
than 7 degrees off from the 25C point to crash the tool.
Temperature indicators have again been renamed, to
"Tctrl" and "Tbat".
cxmon: Added some rudimentary handling of communication failures.
cxmon: If the "-" option is followed by a "HH:MM" option, the
timestamps will start from that minute, and will wrap
around after 23:59.
2017-01-06:
cxmon-history: Added display of the average SoC in the morning.
cxmon: Indicate with "mA?", if the charge controller is
temporarily unable to measure Ipv, and presents the
previous reading.
cxmon: Indicate if the target Vbat is the boost voltage, and
for how many days it is overdue. The charge controller
starts clocking overdue days one week after the last full
charge. The counter is useful not only for lead-acid
batteries, but also for LiFePO4 batteries with a built-in
cell balancer, as up to 24 days can be counted.
cxmon: Renamed the Tint and Text indicators, as they both show
internal temperature - that of the PV input switch and
of the load output switch.
cxmon: Indicate if the load is disconnected and why. At the
moment, button press, LOC and LVD causes are decoded,
other causes are shown as numbers.
2016-08-27:
cxmon-history: Corrected numbering of months starting from
month 8.
cxmon: PV current offset was erroneously copied from the output
current offset, if it was not set in the configuration
file.
cxmon, cxmon-history: Reverted back to having a dedicated
CX_CHARGE_CALIBRATION_MULTIPLIER, whose default value is
2.7 Ah.
2016-08-20:
cxmon, cxmon-history: Got rid of the
CX_CHARGE_CALIBRATION_MULTIPLIER. It is now
automatically derived from
CX_CURRENT_CALIBRATION_MULTIPLIER by multiplying it by
1024 and dividing by 60, and then once again dividing
by 100. This may change total charge reading just a
little bit.
cxmon: Implemented the fixed offset compensation also for input
(the "CX_PV_CURRENT_OFFSET" parameter in the configuration
file). Only negative offsets can be compensated.
cxmon: Implemented independent calculation of the total input
and output charge and energy over the tool's run time.
The indicators take offset compensation and
instantaneous voltage (for energy) into account. The
total charge indicator is also more granular than what
is available from the charge controller. However, the
samples are taken once a minute. Saved 1-minute raw
dumps are also a suitable source of data.
cxmon: When reading data from stdin, the samples are timestamped
at 1-minute intervals starting from 00:00:00.
cxmon: Whether the darkness period is ongoing is now explicitly
indicated.
cxmon-history: The "PV productive hours" indicator has been
eliminated, as it keeps getting incremented by the steady
15 units a day even if the days are becoming shorter.
2016-08-07:
cxmon: Implemented an ability to subtract a fixed offset from
the load current measurement.
cxmon-history: Decode several additional counters - total PV
productive hours, weeks without full charge, LVD events.
Display event information in period statistics: LVD (low
battery disconnect), load overcurrent, achieving full
battery charge, other events (just a numeric code at the
moment).
2016-07-31:
cxmon, cxmon-history: Implemented UUCP-style serial port locking,
enabled by default. This allows many instances of the
tool to be safely used at the same time with the same
serial port.
2016-07-30:
cxmon: Implemented an ability to linearize PV and load current
measurements for the maximum possible accuracy. Accuracy
is lost when the charge controller digitally scales
internally sampled values to the scale with 157 mA units.
Finding out the internal scale is not trivial though, and
requires a statistical analysis in a spreadsheet.
cxmon, cxmon-history: changed the default value of the
CX_CURRENT_CALIBRATION_MULTIPLIER from 160 to 157 mA
(40000/255).
2016-07-29:
cxmon-history: Fixed missing and misordered data in the weekly and
the monthly statistics.
2016-07-28:
cxmon: Initial release.
cxmon-history: Initial release.