On Mon, Oct 06, 2014 at 04:39:15PM +0200, Simon Wunderlich wrote:
so the next step should be to include these into alfred?
We basically have two options here:
- integrat the tracetools into the alfred repository, similar to vis and
gpsd. Please note that the quality should also be similar and you or your colleagues should be able to maintain that code
- keep the package external (e.g. on gitorious), then since we have an
external software package now we should start using a number assignment table in wiki to show which software uses which packet type. We could then link from there your software
Any preferences? :)
I will definitely keep tracertools a standalone software package as there are many potential use-cases which do not involve alfred. Basically I'm still in the prototyping progress of a bigger system in, tracertools was a part of that effort. Now that other things (using PCF8574A and LTC4151 to monitor and control consumer-grade DC-to-AC inverters via I2C) also work, I will re-work the whole design, both, in terms of hardware I will move away from breadboard and loose wires to a proper shield targetting the WrtNode; in terms of software, tracertools will become a small lib and include handling serial port stuff instead of depending on socat to do that (though using socat has a couple of advantages as well and I may keep the option to pipe stuff through socat). Packages like collectd and alfred can then use libsolartracer to acquire (cached) stats or execute control commands on the charge controller, similar to how libgps is used by alfred. I'm planning to suggest a patch to alfred to optionally use libsolartracer when the time has come for that...
Cheers
Daniel