[vz-dev] RFC: new config format for vzlogger

Steffen Vogel info at steffenvogel.de
Sun Oct 9 14:53:10 CEST 2011


Here's a sample of the JSON way:
http://wiki.volkszaehler.org/software/controller/vzlogger?&#proposal_for_new_configuration

There is a disadvantage:
most JSON parsers doesnt support comments.

regards

Steffen

Am Sonntag, den 09.10.2011, 12:00 +0200 schrieb Markus Meissner:
> Hi,
> 
> what's about the JSON-format?
> 
> + There is an existing lib
> + we use this format already for vzlogger middleware communication.
> + The format is human readable
> 
> Grüße Markus
> 
> > Hi there,
> >
> > the current format for vzlogger.conf has all information for a channel in
> > a separate line, like this:
> >
> > ;prot middleware uuid connection intval options
> > onewire http://demo.volkszaehler.org/middleware.php <uuid>
> > /mnt/1wire/10.12E6D3000800/temperature 10
> > d0 http://volkszaehler.org/demo/middleware.php <uuid> /dev/ttyUSB2
> > 1-0:1.7.0*ff
> > sml http://localhost/volkszaehler.org/middleware <uuid> <host>:<port>
> > power
> >
> > The format is not exactly easy to read and it does not allow a intuitive
> > configuration for multiple channels per sensor (e.g. for several phases of
> > one meter).
> >
> > Steffen has therefore tried to find a more suitable format, you can find
> > it here [0].
> >
> > What do you think? Any ideas?
> >
> >
> > Regards, J.
> >
> > [0]
> > http://wiki.volkszaehler.org/software/controller/vzlogger#proposal_for_new_configuration
> >
> > _______________________________________________
> > volkszaehler-dev mailing list
> > volkszaehler-dev at lists.volkszaehler.org
> > https://volkszaehler.org/mailman/listinfo/volkszaehler-dev
> >
> 
> 
> _______________________________________________
> volkszaehler-dev mailing list
> volkszaehler-dev at lists.volkszaehler.org
> https://volkszaehler.org/mailman/listinfo/volkszaehler-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://volkszaehler.org/pipermail/volkszaehler-dev/attachments/20111009/ea0ea669/attachment.pgp>


More information about the volkszaehler-dev mailing list