[vz-users] vzlogger mit support fuer s0 and raspberry pi GPIOs (Re: Wie nutzt Du vzlogger?)

Michael Baer mibaer at web.de
Sun Jan 18 16:09:43 CET 2015


Am Samstag, 17. Januar 2015 schrieb Thorben Thuermer:

> > Soweit bin ich schon:
> > ============
> > 
> > git clone -b raspis0 https://github.com/r00t-/vzlogger.git
> > vzlogger_raspis0 cd vzlogger_raspi0
> > ./configure
> > cmake .
> > make
> > checkinstall -D --install=no
> > (Paket bauen aber noch nicht installieren)

> vergiss in zeiten von git einfach die versionsnummer.
> ich vermute der autoconf build verwendet noch eine alte.

Da ich mir mit checkinstall ein .deb baue und mit "dpkg -i" 
installiere spielt die Versionsnummer doch eine gewisse Rolle - kann 
ich aber beim Erstellen korrigieren .-)


> > vzlogger.conf:
> > ================

       }, {
         "enabled" : true,
         "protocol" : "raspis0",
         "resolution" : 1,
         "gpiopin" : "5",
/*         "aggtime" : 60,  Das ist die Zeit die mindestens 
"gesammelt" wird */
         "aggfixedinterval" : false,

         "channels" :
        [
        {
         "uuid" : "b2cf9080-788d-11e4-a7ee-cf07e1931977",
         "middleware" : "http://localhost/middleware.php",
         "identifier" : "Impulse", /* Wasserzaehler */
         "aggmode" : "SUM",
        }

===================


vzlogger -c /etc/vzlogger-s0.conf

[Jan 18 15:55:38][mtr0] Creating new meter with protocol sml.
[Jan 18 15:55:38][mtr0] Meter configured, enabled.
[Jan 18 15:55:38]       New meter initialized (protocol=sml)
[Jan 18 15:55:38]       Configure channel.
[Jan 18 15:55:38][chn0] New channel initialized (uuid=...14facf 
protocol=volkszaehler id=counter)
[Jan 18 15:55:38]       Configure channel.
[Jan 18 15:55:38][chn1] New channel initialized (uuid=...fe7e41 
protocol=volkszaehler id=counter-out)
[Jan 18 15:55:38][mtr1] Creating new meter with protocol s0.
[Jan 18 15:55:38][mtr1] Meter configured, enabled.
[Jan 18 15:55:38]       New meter initialized (protocol=s0)
[Jan 18 15:55:38]       Configure channel.
[Jan 18 15:55:38][chn2] New channel initialized (uuid=...2482e3 
protocol=volkszaehler id=Impulse)
[Jan 18 15:55:38][mtr2] Creating new meter with protocol raspis0.
[Jan 18 15:55:38][mtr2] Meter configured, enabled.
[Jan 18 15:55:38]       New meter initialized (protocol=raspis0)
[Jan 18 15:55:38]       Configure channel.
[Jan 18 15:55:38][chn3] New channel initialized (uuid=...931977 
protocol=volkszaehler id=Impulse)
[Jan 18 15:55:38]       Have 3 meters.
[Jan 18 15:55:38][main] daemon=1, local=0
[Jan 18 15:55:38]       Process not  daemonized...
[Jan 18 15:55:38]       Opened logfile /home/pi/vzlogger.log
[Jan 18 15:55:38][]     ===> Start meters
[Jan 18 15:55:38][mtr0] Meter connection established
[Jan 18 15:55:38][mtr0] Meter thread started
[Jan 18 15:55:38][mtr0] Meter is opened. Starting channels.
[Jan 18 15:55:38][chn0] Logging thread started
[Jan 18 15:55:38][chn1] Logging thread started
[Jan 18 15:55:38][mtr0] Number of readers: 32
[Jan 18 15:55:38][mtr0] Config.daemon: 1
[Jan 18 15:55:38][mtr0] Config.local: 0
[Jan 18 15:55:38][chn0] Start logging thread for volkszaehler-api. 
Running as daemon: yes
[Jan 18 15:55:38][mtr1] Meter connection established
[Jan 18 15:55:38][chn1] Start logging thread for volkszaehler-api. 
Running as daemon: yes
[Jan 18 15:55:38][chn0] Using default api:
[Jan 18 15:55:38][mtr1] Meter thread started
[Jan 18 15:55:38][mtr1] Meter is opened. Starting channels.
[Jan 18 15:55:38][chn2] Logging thread started
[Jan 18 15:55:38][chn1] Using default api:
[Jan 18 15:55:38][]     Startup failed: open export failed
[Jan 18 15:55:38][mtr1] Number of readers: 2
[Jan 18 15:55:38][mtr1] Config.daemon: 1
[Jan 18 15:55:38][mtr1] Config.local: 0



Fehlermeldung: open export failed


???




-- 


Gruss,
	Michael

GnuPG-ID 0x1E4ED700  http://pgp.mit.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20150118/74f087c4/attachment-0001.html>


More information about the volkszaehler-users mailing list