Neues Modul zur Abfragen eines MBus Netzwerks

Begonnen von daubsi, 05 Dezember 2015, 21:57:44

Vorheriges Thema - Nächstes Thema

daubsi

Also bei mir klappts eindwandfrei...

Hab Dein XML von oben nach /tmp/landys gepackt

und mein Script (original /usr/local/bin/GetLandysGyr.sh) recycled nach

GetFHEM.sh
#!/bin/bash

diff=$(xmllint --xpath '//DataRecord[@id=8]/Value/text()' /tmp/landys)
energy=$(xmllint --xpath '//DataRecord[@id=2]/Value/text()' /tmp/landys)
ruecklauf=$(xmllint --xpath '//DataRecord[@id=7]/Value/text()' /tmp/landys)
vorlauf=$(xmllint --xpath '//DataRecord[@id=6]/Value/text()' /tmp/landys)
power=$(xmllint --xpath '//DataRecord[@id=4]/Value/text()' /tmp/landys)
flowperhour=$(xmllint --xpath '//DataRecord[@id=5]/Value/text()' /tmp/landys)
volume=$(xmllint --xpath '//DataRecord[@id=3]/Value/text()' /tmp/landys)
serial=$(xmllint --xpath '//SlaveInformation/Id/text()' /tmp/landys)
vendor=$(xmllint --xpath '//SlaveInformation/Manufacturer/text()' /tmp/landys)
product=$(xmllint --xpath '//SlaveInformation/ProductName/text()' /tmp/landys)
requests=$(xmllint --xpath '//SlaveInformation/AccessNumber/text()' /tmp/landys)
echo SERIAL:$serial,VENDOR:$vendor,PRODUCT:$product,REQUESTS:$requests,POWER:$power/V,FLOWPERHOUR:$flowperhour/V,VOLUME:$volume/V,ENERGY:$energy/V,FORWARD:$vorlauf/V,RETURN:$ruecklauf/V,DIFF:$diff



Wenn ich das nun ausführe bekomme ich:
pi@fhem:/tmp $ ./GetFHEM.sh
SERIAL:4171317,VENDOR:EFE,PRODUCT:Engelmann SensoStar 2,REQUESTS:179,POWER:44381/V,FLOWPERHOUR:955/V,VOLUME:2970/V,ENERGY:702175/V,FORWARD:3311/V,RETURN:35/V,DIFF:32


Bei Dir nicht? xmllint ist aber installiert oder?

Geisha2021

Ja, xmllint ist installiert.
Das war zunächst auch meine Vermutung dass die Datei fehlt oder nicht gefunden wird.
Wo muss die eigentlich gespeichert sein?

bei mir ist sie jetzt an 4 Stellen gespeichert (habe sie probehalber mehrfach kopiert und abgespeichert da es von Anfang an nicht funktioniert hat)

/xmllint
/bin/xmllint
/usr/local/bin/xmllint
/usr/local/bin/Daten/xmllint
/usr/share/bash-completion/completions/xmllint

Gruß Uli

Geisha2021

Als Anhang habe ich einen Screenshot von meiner FHEM Installation angehängt.

Fehlt da vielleicht etwas?

lin_win

Hallo Geisha,
ja da fehlt was...
Ich habe seit über einem Jahr 4 MBus Zähler laufen, alles ohne Probleme.
Anbei eine Grafik, wie es bei mir aussieht und eine Raw Definition.
defmod ZaehlerBrauchwasser MBus /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 13 /usr/local/bin/GetLandisGyr13.sh
attr ZaehlerBrauchwasser comment Einbindung MBUS-Slave by-ID in den Scripten Get*.sh:\
/usr/local/bin/mbus-serial-request-data -b 9600 /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 13 > /tmp/landisgyr13\
\
gem: https://wiki.fhem.de/wiki/Mehrere_USB-Ger%C3%A4te_einbinden bzw. Datei in MBUS/MBus auf IoT2050_1\

attr ZaehlerBrauchwasser event-min-interval ENERGY:14400,FORWARD:14400,POWER_kW:14400,RETURN:14400
attr ZaehlerBrauchwasser event-on-change-reading ENERGY,FORWARD,POWER_kW,RETURN,
attr ZaehlerBrauchwasser icon scene_bath
attr ZaehlerBrauchwasser interval 60
attr ZaehlerBrauchwasser mbusId 13
attr ZaehlerBrauchwasser readingsWatcher 300,,ENERGY
attr ZaehlerBrauchwasser room Heizung
attr ZaehlerBrauchwasser stateFormat Energie: ENERGY kWh, Leistung: POWER_kW kW <br/>\
Durchfluss: VOLUME_M3 m³, Durchfluss: FLOWPERHOUR l/h \
<div style='color:red'>Vorlauf: FORWARD °C <div style='color:blue'>Rücklauf: RETURN °C
attr ZaehlerBrauchwasser userReadings POWER_kW { ReadingsVal($name,"POWER", 0)/10;;;;}, \
VOLUME_M3 { ReadingsVal($name,"VOLUME", 0)/10;;;;},\
POWER_kW_AV { movingAverage($name,"POWER_kW",1800);;;;},

setstate ZaehlerBrauchwasser RETURN:39 FLOWPERHOUR:723 VOLUME:56771 ENERGY:769 FORWARD:38 POWER:9
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 ENERGY 769
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 FLOWPERHOUR 723
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 FORWARD 38
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 POWER 9
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 POWER_kW 0.9
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 POWER_kW_AV 1.316
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 RAW SERIAL:70107227,VENDOR:LUG,PRODUCT:Landis &amp;; Gyr Ultraheat UH50,REQUESTS:33,POWER:9/V,FLOWPERHOUR:723/V,VOLUME:56771/V,ENERGY:769/V,FORWARD:38/V,RETURN:39/V,DIFF:11
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 RETURN 39
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 VOLUME 56771
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 VOLUME_M3 5677.1
setstate ZaehlerBrauchwasser 2021-05-16 14:16:38 ZaehlerBrauchwasser_ENERGY_EnergyYearLast 0
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWDay Min: 0.0 Avg: 1.1 Max: 5.0
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWDayAvg 1.1
setstate ZaehlerBrauchwasser 2021-11-14 23:59:55 statPOWER_kWDayAvgLast 1.1
setstate ZaehlerBrauchwasser 2021-11-14 23:59:55 statPOWER_kWDayLast Min: 0.0 Avg: 1.1 Max: 4.8
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWDayMax 5.0
setstate ZaehlerBrauchwasser 2021-11-14 23:59:55 statPOWER_kWDayMaxLast 4.8
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWHour Min: 0.1 Avg: 1.0 Max: 4.5
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWHourAvg 1.0
setstate ZaehlerBrauchwasser 2021-11-15 21:59:55 statPOWER_kWHourAvgLast 1.1
setstate ZaehlerBrauchwasser 2021-11-15 21:59:55 statPOWER_kWHourLast Min: 0.0 Avg: 1.1 Max: 4.5
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWHourMax 4.5
setstate ZaehlerBrauchwasser 2021-11-15 21:59:55 statPOWER_kWHourMaxLast 4.5
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWMonth Min: 0.0 Avg: 0.3 Max: 25.1
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWMonthAvg 0.3
setstate ZaehlerBrauchwasser 2021-09-30 23:59:55 statPOWER_kWMonthAvgLast 0.0
setstate ZaehlerBrauchwasser 2021-09-30 23:59:55 statPOWER_kWMonthLast Min: 0.0 Avg: 0.0 Max: 45.6
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWMonthMax 25.1
setstate ZaehlerBrauchwasser 2021-09-30 23:59:55 statPOWER_kWMonthMaxLast 45.6
setstate ZaehlerBrauchwasser 2021-11-15 22:10:37 statPOWER_kWYear Min: 0.0 Avg: 0.1 Max: 45.6 (since: 2021-02-26_11:17:10 )

Ich kommen heute nicht mehr dazu, habe mir aufgeschrieben, wie ich es zum Laufen gebracht habe.
Schick ich dir morgen.

lin_win

Hier mein Geschmiere.
(Vermutlich merkt man, dass ich kein Linux-Profi bin).
Läuft bei mir auf einem Siemens IOT2050, da musste ich libmbus (auf Github gibt es die Version 0.9) selbst compilieren.


Geisha2021

ZitatWenn ich das nun ausführe bekomme ich:
Code: [Auswählen]

pi@fhem:/tmp $ ./GetFHEM.sh
SERIAL:4171317,VENDOR:EFE,PRODUCT:Engelmann SensoStar 2,REQUESTS:179,POWER:44381/V,FLOWPERHOUR:955/V,VOLUME:2970/V,ENERGY:702175/V,FORWARD:3311/V,RETURN:35/V,DIFF:32

Hallo Markus,

Hast du das in die Konsole eingegeben?

wenn ich das bei mir mache kommt folgendes:


pi@raspberrypi:~ $ /tmp $ ./GetLandisGyr.sh
-bash: /tmp: Ist ein Verzeichnis



Geisha2021

Hallo lin_win,
vielen Dank für deine Antwort.

Das Auslesen meines Wärmezählers klappt ja. Jede Minute wird er abgefragt und in die Datei landisgyr geschrieben.
Mein Problem ist dass die Umwandlung des xml files mit dem Code von daubsi nicht klappt und ich deshalb in FHEM keine Werte bekomme.

daubsi

Hallo,

schau bitte nochmal in meinen Beitrag oben.
Zitat von: daubsi am 15 November 2021, 18:18:13
Also bei mir klappts eindwandfrei...

Hab Dein XML von oben nach /tmp/landys gepackt

und mein Script (original /usr/local/bin/GetLandysGyr.sh) recycled nach

GetFHEM.sh
#!/bin/bash

diff=$(xmllint --xpath '//DataRecord[@id=8]/Value/text()' /tmp/landys)
energy=$(xmllint --xpath '//DataRecord[@id=2]/Value/text()' /tmp/landys)
ruecklauf=$(xmllint --xpath '//DataRecord[@id=7]/Value/text()' /tmp/landys)
vorlauf=$(xmllint --xpath '//DataRecord[@id=6]/Value/text()' /tmp/landys)
power=$(xmllint --xpath '//DataRecord[@id=4]/Value/text()' /tmp/landys)
flowperhour=$(xmllint --xpath '//DataRecord[@id=5]/Value/text()' /tmp/landys)
volume=$(xmllint --xpath '//DataRecord[@id=3]/Value/text()' /tmp/landys)
serial=$(xmllint --xpath '//SlaveInformation/Id/text()' /tmp/landys)
vendor=$(xmllint --xpath '//SlaveInformation/Manufacturer/text()' /tmp/landys)
product=$(xmllint --xpath '//SlaveInformation/ProductName/text()' /tmp/landys)
requests=$(xmllint --xpath '//SlaveInformation/AccessNumber/text()' /tmp/landys)
echo SERIAL:$serial,VENDOR:$vendor,PRODUCT:$product,REQUESTS:$requests,POWER:$power/V,FLOWPERHOUR:$flowperhour/V,VOLUME:$volume/V,ENERGY:$energy/V,FORWARD:$vorlauf/V,RETURN:$ruecklauf/V,DIFF:$diff



Wenn ich das nun ausführe bekomme ich:
pi@fhem:/tmp $ ./GetFHEM.sh
SERIAL:4171317,VENDOR:EFE,PRODUCT:Engelmann SensoStar 2,REQUESTS:179,POWER:44381/V,FLOWPERHOUR:955/V,VOLUME:2970/V,ENERGY:702175/V,FORWARD:3311/V,RETURN:35/V,DIFF:32


Bei Dir nicht? xmllint ist aber installiert oder?

Da habe ich Dir das dummy script /tmp/GetFHEM.sh ja reingepastet. Es dient ja nur erstmal dazu festzustellen, wo das Problem bei Dir liegt.
Leg die Datei mit dem Inhalt an, kopier Dir das XML nach /tmp/landys und führ das GetFHEM.sh dann aus (chmod 755 GetFHEM.sh nicht vergessen...). Wenn dann die Ausgabe mit SERIAL, VENDOR, ... mit Werten wie bei mir oben kommt ist schon mal dieser Part in Ordnung. Wenn nicht, gibt es ein Problem mit dem xmllint Tool.

Geisha2021

#68
Hallo Markus,
danke für die ausführliche Anleitung jedoch kriege ich es immer noch nicht hin.

Habe die 2 Dateien erstellt im  tmp Ordner.
Habe chmod ausgeführt.
Beim ausführen von GetFHEM.sh kommt die Meldung "Kommando nicht gefunden.

Siehe die angehängten Screenshots

Geisha2021

Hallo Markus,

hab jetzt die Abfrage erfolgreich durchgeführt aber das Resultat ist das gleiche. Die Werte fehlen. Siehe Screenshot der Konsole.

xmllint ist installiert in /usr/share/bash-completion/completions/xmllint mit den Rechten 0644.
Gruppe  und Eigentümer ist root.

Hast du noch eine Idee warum es nicht funktioniert?



Geisha2021

#70
Hallo Markus,
ich habe die Raspian Version Buster.

Welche Version hast du und wo ist bei dir xmllint installiert?

Bei mir ist es standardmäßig in "/usr/share/bash-completion/completions/"  installiert.

Wenn ich es an allen anderen Stellen wo ich es hinkopiert habe lösche wird es nicht gefunden.

Wenn ich es in /bin kopiere wird es gefunden aber es funktioniert nicht. Siehe angehängten Screenshot)

Mittlerweile bin ich überzeugt dass die vorhandene Datei xmllint nur eine Ergänzung ist.
Warum die dann den gleichen Namen hat ist mir jedoch nicht klar.
Werde nun mit der libxml2 versuchen xmllint zu installieren. Davor werde ich jedoch ein Backup meiner SD-Karte machen.
Ich möchte vermeiden das ich mir mein gut funktionierendes FHEM zerschiesse.



Kannst du trotzdem dein xmllint hier reinstellen damit ich es damit mal versuche. Und bitte auch sagen wo es gespeichert werden muss. Vielleicht hast du eine ältere Version. Meine ist vom Datum 01.03.2019

daubsi

Hallo,

das hier sollte ausreichen:

pi@fhem:~ $ which xmllint
/usr/bin/xmllint
pi@fhem:~ $ dpkg -S /usr/bin/xmllint
libxml2-utils: /usr/bin/xmllint
pi@fhem:~ $ file /usr/bin/xmllint
/usr/bin/xmllint: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=d100a128488c03c0dd5528956abe4f7f5d48f21f, stripped
pi@fhem:~ $


Also einfach als root "apt-get install libxml2-utils" eingeben, und das sollte es dann gewesen sein.



Geisha2021

Hallo Markus,
Vielen Dank für deine Hilfe.
Habe jetzt die libxml2-utils installiert und es funktioniert wie gewünscht.

Gruß Uli

daubsi


eldrik

schon etwas länger her der letzte Beitrag in diesem Thread aber vl. kann mir ja jemand weiterhelfen.

Ich nutze das MBus Modul mit einem Engelmann Sensostar 2 U mit MBus Erweiterungsmodul.

Der Zähler lässt sich im Batteriemodus alle 120Sekunden abfragen, Werte erhalte ich auch über die .sh Datei und auch im FHEM Modul.

Aber irgendwie hat es den Anschein, dass das Modul relativ unbeeindruckt ist wenn man über das Attribut interval z.B. einen Abfragewert von 300 Sekunden vorgibt.

Die Readings aktualisieren sich in ungleichmäßigen Abständen, manchmal liegt zwischen einem erfolgreichen Lesevorgang und weiteren Readingsupdates nur wenige Sekunden bis dann keine Daten mehr angezeigt werden.

2022.09.04 18:47:38.382 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11408946) line 1.
2022.09.04 18:47:38.383 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11408947) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:48:08.377 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409102) line 1.
2022.09.04 18:48:08.378 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409103) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:49:38.402 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409728) line 1.
2022.09.04 18:49:38.403 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409729) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:49:50.497 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409771) line 1.
2022.09.04 18:49:50.498 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409772) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:50:08.419 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409863) line 1.
2022.09.04 18:50:08.421 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11409864) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:51:39.887 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11410445) line 1.
2022.09.04 18:51:39.889 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11410446) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:51:44.222 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11410478) line 1.
2022.09.04 18:51:44.223 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11410479) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:53:34.202 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411195) line 1.
2022.09.04 18:53:34.204 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411196) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:53:39.842 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411268) line 1.
2022.09.04 18:53:39.843 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411269) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:54:08.511 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411467) line 1.
2022.09.04 18:54:08.514 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411468) line 1.
/opt/fhem/refresh_bj_bad_klein.sh: 1: /opt/fhem/refresh_bj_bad_klein.sh: !/bin/bash: not found
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:55:21.530 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411905) line 1.
2022.09.04 18:55:21.531 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411906) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:55:34.621 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411952) line 1.
2022.09.04 18:55:34.623 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11411953) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:55:40.062 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11412014) line 1.
2022.09.04 18:55:40.063 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11412015) line 1.
Failed to receive M-Bus response frame.
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
/tmp/landisgyr:1: parser error : Document is empty

^
2022.09.04 18:55:50.138 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11412032) line 1.
2022.09.04 18:55:50.140 1: PERL WARNING: Argument "" isn't numeric in division (/) at (eval 11412033) line 1.



18:56:09 dann wieder erfolgreich Werte

18:57:22 ebenfalls aber auch hier ist der Zeitstempel nicht wie gewünscht 130 Sekunden später, das Modul scheint mehr oder wenig beliebig die Daten abzufragen.

Greetz
Eldrik