[vz-users] New user, can't even get the basics working....

fiets fietsenwiel fietsenwiel at gmail.com
Thu Sep 15 14:42:42 CEST 2016


Ok.

This is how it is:

Energie gebruik            "uuid": "dd995220-7a47-11e6-86ce-6bf65a52ce09",
GPIO 4   Works
Energie opbrengst          "uuid": "dfc58710-7a47-11e6-9278-45f4e725fa39",
GPIO 22  Does not work
Gas                        "uuid": "6823ec50-7a48-11e6-ba8f-eb092025f059",
GPIO 24  Not yet sure if it works, I think it doesn't, never got readings
Water                      "uuid": "7265eee0-7a48-11e6-9eb5-fd85707de1a1",
GPIO 25  Works

Exchanging the wires GPIO 4 and GPIO 22 results in a working GPIO 4 so then
you seen the "Energie opbrengst" messures in the "Energie gebruik" graphics.
Same for exchanging GPIO 4 and GPIO 22 in the config file, but then you
seen the "Energie gebruik" messures in the "Energie opbrengst" graphics.

When I change the config file so there is only one meter with GPIO22 and
the right UUID there are NO messurments.

So the conculusion would be that GPIO 22 is wrong or defective. But I
checked this over and over and also tried other GPIO ports. Maybe I oversee
something stupid....

The /tmp/vzlogger.log file does not exists (just after a reboot), so
nothing there....

The /var/log/vzlogger.log is as follows (just after a reboot):

[Sep 15 14:34:57][mtr3] Reading: id=Power/StringItentifier: value=832.95
ts=1473942897608
[Sep 15 14:34:57][mtr3] Reading: id=Impulse/StringItentifier: value=1.00
ts=1473942897608
[Sep 15 14:34:57][chn3] Adding reading to queue (value=1.00
ts=1473942897608)
[Sep 15 14:34:57][chn3] Buffer dump (size=2): {1.0000,1.0000,}
[Sep 15 14:34:57][mtr3] Next reading in 1 seconds
[Sep 15 14:34:58][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:58][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:58][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:58][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:59][S0]   MeterS0:HWIF_GPIO:first poll returned 1
[Sep 15 14:34:59][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:59][s0]   Reading S0 - returning 2 readings (n=1 n_neg = 0)
[Sep 15 14:34:59][mtr0] Got 2 new readings from meter:
[Sep 15 14:34:59][mtr0] Reading: id=Power/StringItentifier: value=456563.10
ts=1473942899331
[Sep 15 14:34:59][mtr0] Reading: id=Impulse/StringItentifier: value=1.00
ts=1473942899331
[Sep 15 14:34:59][chn0] Adding reading to queue (value=1.00
ts=1473942899331)
[Sep 15 14:34:59][chn0] Buffer dump (size=1): {1.0000,}
[Sep 15 14:34:59][mtr0] Next reading in 1 seconds
[Sep 15 14:34:59][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:34:59][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:00][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:00][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:00][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:00][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:00][S0]   MeterS0:HWIF_GPIO:first poll returned 1
[Sep 15 14:35:01][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:01][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:01][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:01][S0]   MeterS0:HWIF_GPIO:first poll returned 0
[Sep 15 14:35:02][S0]   MeterS0:HWIF_GPIO:first poll returned 0


2016-09-15 13:18 GMT+02:00 Daniel Lauckner <vz at jahp.de>:

> Hallo,
>
>
> am Donnerstag, 15. September 2016 um 12:06 hast du geschrieben:
> > I tied 17, 22 and 23. Can't be all defective.
> > But i'll try other ones too when I have time...
>
> Ok, some misunderstanding.
>
> At this point i have absolutely no clue what you do or did. Whats
> working or not.
>
> And there ist still no logfile to deal with.
>
>
> mfg Daniel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160915/c99e7fe1/attachment.html>


More information about the volkszaehler-users mailing list