Closed bgewehr closed 9 years ago
see #195
can this issue be closed now? (with #195 merged)
send_zero true / false seems ok! But aggmode must be AVG SUM or MAX, not avg sum or max, right? Or is it case insensitive?
It’s case insensitive:
const char *aggmode_str = optlist.lookup_string(pOptions, "aggmode"); src/Channel.cpp: if (strcasecmp(aggmode_str, "max") == 0 ) { src/Channel.cpp: _buffer->set_aggmode(Buffer::MAX); src/Channel.cpp: } else if (strcasecmp(aggmode_str, "avg") == 0 ) { src/Channel.cpp: _buffer->set_aggmode(Buffer::AVG); src/Channel.cpp: } else if (strcasecmp(aggmode_str, "sum") == 0 ) { src/Channel.cpp: _buffer->set_aggmode(Buffer::SUM); src/Channel.cpp: } else if (strcasecmp(aggmode_str, "none") == 0 ) { src/Channel.cpp: _buffer->set_aggmode(Buffer::NONE); src/Channel.cpp: _buffer->set_aggmode(Buffer::NONE);
Am 03.08.2015 um 23:28 schrieb Bernd Gewehr notifications@github.com:
send_zero true / false seems ok! But aggmode must be AVG SUM or MAX, not avg sum or max, right? Or is it case insensitive?
— Reply to this email directly or view it on GitHub https://github.com/volkszaehler/vzlogger/issues/193#issuecomment-127410588.
Gruß
Matthias
The config editor does not support the send_zero attribute for s0 meters.
How can the parameter be used?