[vz-users] Push-Server sendet keine Null-Werte

applicationMGR ecoCuyo applicationMGR at ecoCuyo.de
Mo Apr 10 12:08:29 CEST 2023


Hallo Daniel et alii,

der Compiler ist nun durchgelaufen.
Die betreffenden Leistungs-Kanäle sind beide in vzlogger.conf mit "direction_from_status": true, konfiguriert:

...
        "enabled" : true,
        "protocol" : "sml",
        "device" : "/dev/usb-ir-lesekopf1",
        "aggtime" : 15,                         
        "aggfixedinterval" : true,
        "channels" :[{
                "uuid" : „61d5d350-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "1-0:15.7.0",    /* Haus-15.7.0-Wirkleistung */
                "direction_from_status": true,
                "duplicates": 3600,
                "aggmode" : "NONE"
                }]
...

Nach dem Start von vzlogger meldet sich nun auch die abgewandelte branch:

[Apr 10 11:18:21][main] vzlogger v0.8.1 based on heads/direction_from_status-0-g408df91556 from Sun, 15 Jan 2023 02:00:27 +0100 started.
[Apr 10 11:18:21][mqtt] MqttClient::MqttClient called
[Apr 10 11:18:21][mqtt] using libmosquitto 2.0.11
[Apr 10 11:18:21][mqtt] ~MqttClient called
[Apr 10 11:18:21][mqtt] mqtt client not configured. stopped.
[Apr 10 11:18:21][mtr0] Creating new meter with protocol sml.
[Apr 10 11:18:21][mtr0] Meter configured, enabled.
[Apr 10 11:18:21]       New meter initialized (protocol=sml)
[Apr 10 11:18:21]       Configure channel.
[Apr 10 11:18:21][chn0] New channel initialized (uuid=...20d33d api=volkszaehler id=1-0:2.8.0)
[Apr 10 11:18:21]       Configure channel.
[Apr 10 11:18:21][chn1] New channel initialized (uuid=...4a2f7b api=volkszaehler id=1-0:15.7.0)
[Apr 10 11:18:21][mtr1] Creating new meter with protocol sml.
[Apr 10 11:18:21][mtr1] Meter configured, enabled.
[Apr 10 11:18:21]       New meter initialized (protocol=sml)
[Apr 10 11:18:21]       Configure channel.
[Apr 10 11:18:21][chn2] New channel initialized (uuid=...963ed8 api=volkszaehler id=1-0:1.8.0)
[Apr 10 11:18:21]       Configure channel.
[Apr 10 11:18:21][chn3] New channel initialized (uuid=...a8ff52 api=volkszaehler id=1-0:2.8.0)
[Apr 10 11:18:21]       Configure channel.
[Apr 10 11:18:21][chn4] New channel initialized (uuid=...443697 api=volkszaehler id=1-0:15.7.0)
[Apr 10 11:18:21]       Have 2 meters.
[Apr 10 11:18:21][main] log level is 15
[Apr 10 11:18:21][main] local=1
[Apr 10 11:18:21]       Daemonize process...
[Apr 10 11:18:21]       Opened logfile /var/log/vzlogger/vzlogger.log
[Apr 10 11:18:21][push] pushdata_thread created.
[Apr 10 11:18:21][push] Start push_data_thread
[Apr 10 11:18:21][]     ===> Start meters
[Apr 10 11:18:21][mtr0] Meter connection established
[Apr 10 11:18:21][mtr0] Meter thread started
[Apr 10 11:18:21][mtr0] Meter is opened. Starting channels.
[Apr 10 11:18:21][mtr0] Number of readers: 32
[Apr 10 11:18:21][mtr0] Config.local: 1
[Apr 10 11:18:21][chn0] Logging thread started
[Apr 10 11:18:21][chn0] Start logging thread for volkszaehler-api.
[Apr 10 11:18:21][chn1] Logging thread started
[Apr 10 11:18:21][chn1] Start logging thread for volkszaehler-api.
[Apr 10 11:18:21][chn0] Using default volkszaehler api.
[Apr 10 11:18:21][chn1] Using default volkszaehler api.
[Apr 10 11:18:21][mtr1] Meter connection established
[Apr 10 11:18:21][mtr1] Meter thread started
[Apr 10 11:18:21][mtr1] Meter is opened. Starting channels.
[Apr 10 11:18:21][mtr1] Number of readers: 32
[Apr 10 11:18:21][mtr1] Config.local: 1
[Apr 10 11:18:21][chn2] Start logging thread for volkszaehler-api.
[Apr 10 11:18:21][chn2] Logging thread started
[Apr 10 11:18:21][chn3] Logging thread started
[Apr 10 11:18:21][chn3] Start logging thread for volkszaehler-api.
[Apr 10 11:18:21][chn2] Using default volkszaehler api.
[Apr 10 11:18:21][chn4] Logging thread started
[Apr 10 11:18:21][chn4] Start logging thread for volkszaehler-api.
[Apr 10 11:18:21][http] Starting local interface HTTPd on port 8081
[Apr 10 11:18:21][chn3] Using default volkszaehler api.
[Apr 10 11:18:21][chn4] Using default volkszaehler api.
[Apr 10 11:18:21][]     Startup done.
[Apr 10 11:18:22][mtr0] Got 3 new readings from meter:
[Apr 10 11:18:22][mtr0] Reading: id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=74691830.20 ts=1681118302961
[Apr 10 11:18:22][mtr0] Reading: id=1-0:2.8.1*255/ObisIdentifier:1-0:2.8.1*255 value=74691830.20 ts=1681118302961
[Apr 10 11:18:22][mtr0] Reading: id=1-0:15.7.0*255/ObisIdentifier:1-0:15.7.0*255 value=3233.60 ts=1681118302961
[Apr 10 11:18:22][chn0] Adding reading to queue (value=74691830.20 ts=1681118302961)
[Apr 10 11:18:22][push] push: { "data": [ { "uuid": „8c4d02b0-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "tuples": [ [ 1681118302961, 74691830.200000003 ] ] } ] }
[Apr 10 11:18:22][push] added to uuid 8c4d02b0-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Apr 10 11:18:22][chn1] Adding reading to queue (value=3233.60 ts=1681118302961)
[Apr 10 11:18:22][push] added to uuid 6c9c10a0-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Apr 10 11:18:22][push] CURL Request to http://127.0.0.1:5582 succeeded with code: 200
[Apr 10 11:18:22][push] send ok to url http://127.0.0.1:5582
[Apr 10 11:18:22][push] push: { "data": [ { "uuid": "6c9c10a0-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "tuples": [ [ 1681118302961, 3233.6000000000004 ] ] } ] }
[Apr 10 11:18:22][push] CURL Request to http://127.0.0.1:5582 succeeded with code: 200
[Apr 10 11:18:22][push] send ok to url http://127.0.0.1:5582
[Apr 10 11:18:23][mtr1] Got 6 new readings from meter:
[Apr 10 11:18:23][mtr1] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=17954216.20 ts=1681118303050
[Apr 10 11:18:23][mtr1] Reading: id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=62408329.60 ts=1681118303050
[Apr 10 11:18:23][mtr1] Reading: id=1-0:1.8.1*255/ObisIdentifier:1-0:1.8.1*255 value=17954216.20 ts=1681118303050
[Apr 10 11:18:23][mtr1] Reading: id=1-0:2.8.1*255/ObisIdentifier:1-0:2.8.1*255 value=62408329.60 ts=1681118303050
[Apr 10 11:18:23][mtr1] Reading: id=1-0:1.8.2*255/ObisIdentifier:1-0:1.8.2*255 value=0.00 ts=1681118303050
[Apr 10 11:18:23][mtr1] Reading: id=1-0:15.7.0*255/ObisIdentifier:1-0:15.7.0*255 value=3157.90 ts=1681118303050
[Apr 10 11:18:23][chn2] Adding reading to queue (value=17954216.20 ts=1681118303050)
[Apr 10 11:18:23][push] added to uuid b9693e00-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Apr 10 11:18:23][chn3] Adding reading to queue (value=62408329.60 ts=1681118303050)
[Apr 10 11:18:23][push] push: { "data": [ { "uuid": "b9693e00-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "tuples": [ [ 1681118303050, 17954216.199999999 ] ] } ] }
[Apr 10 11:18:23][push] added to uuid ec7c7360-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Apr 10 11:18:23][chn4] Adding reading to queue (value=3157.90 ts=1681118303050)
[Apr 10 11:18:23][push] added to uuid 61d5d350-xxxx-xxxx-xxxx-xxxxxxxxxxxx
[Apr 10 11:18:23][push] CURL Request to http://127.0.0.1:5582 succeeded with code: 200
[Apr 10 11:18:23][push] send ok to url http://127.0.0.1:5582
[Apr 10 11:18:23][push] push: { "data": [ { "uuid": "61d5d350-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "tuples": [ [ 1681118303050, 3157.9000000000001 ] ] }, { "uuid": "ec7c7360-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "tuples": [ [ 1681118303050, 62408329.600000001 ] ] } ] }
[Apr 10 11:18:23][push] CURL Request to http://127.0.0.1:5582 succeeded with code: 200
[Apr 10 11:18:23][push] send ok to url http://127.0.0.1:5582
[Apr 10 11:18:24][mtr0] Got 3 new readings from meter:

Aber ich wage es kaum zu sagen: Das Vorzeichen ist weiterhin bei Bezug und Lieferung immer positiv (:+(



Was übersehe ich?

Best Grüße
Armin


> Am 09.04.2023 um 20:09 schrieb Daniel Lauckner <vz at jahp.de>:
> 
> Hallo,
> 
> 
> am Sonntag, 9. April 2023 um 19:32 hat applicationMGR ecoCuyo geschrieben:
>> der Installationsvorgang bleibt leider hängen. Es liefen zwar "88 Tests 0 Failures 0 Ignored OK“ durch, doch dann kommen ab make[2]: Verzeichnis „/home/pi/vzlogger/libs/libmbus/bin“ lauter Warnungen. Schließlich kommen nach [ 29%] Building CXX object src/CMakeFiles/vz.dir/Channel.cpp.o
>> noch ein paar Warnungen und dann steht das ganze seit Stunden und wartet auf etwas.
> 
>> Hast Du einen Tipp für mich?
> 
> Leider nein.
> 
> 
> mfg Daniel
> 

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20230410/1a79d058/attachment-0001.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : Bild 10.04.23 um 11.44.jpeg
Dateityp    : image/jpeg
Dateigröße  : 158250 bytes
Beschreibung: nicht verfügbar
URL         : <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20230410/1a79d058/attachment-0001.jpeg>


Mehr Informationen über die Mailingliste volkszaehler-users