NEWS
Wasserzähler (Funk 868) auslesen.
-
@michi_pi sagte in Wasserzähler (Funk 868) auslesen.:
systemctl status wmbusmeters.service
Läuft wohl nicht:
pi@raspberrypi:~ $ systemctl status wmbusmeters.service ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor pres Active: failed (Result: exit-code) since Wed 2021-03-31 23:06:33 CEST; 8h ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 672 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (c Process: 673 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbus Process: 674 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status= Process: 675 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmete Process: 676 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid Main PID: 678 (code=exited, status=1/FAILURE) Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec= Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart j Mär 31 23:06:33 raspberrypi systemd[1]: Stopped "wmbusmeters service". Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Start request repea Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Failed with result Mär 31 23:06:33 raspberrypi systemd[1]: Failed to start "wmbusmeters service". lines 1-18/18 (END)...skipping... ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-03-31 23:06:33 CEST; 8h ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 672 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS) Process: 673 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS) Process: 674 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 675 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 676 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS) Main PID: 678 (code=exited, status=1/FAILURE) Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. Mär 31 23:06:33 raspberrypi systemd[1]: Stopped "wmbusmeters service". Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. Mär 31 23:06:33 raspberrypi systemd[1]: Failed to start "wmbusmeters service". ~
Obwohl ich über
pi@raspberrypi:~ $ wmbusmeters auto:t1 meinwasserzaehler iperl:t1 21200936 2E13xxxxxxxxxxxxxxx92
alle 1-2h was reinbekommen hatte.
Ich wollte das Ganze nochmal deinstallieren und neu installieren finde aber über
dpkg --list
...das Paket nicht mal
Hier nochmal Versuche den Service neu zu starten:
pi@raspberrypi:~ $ sudo systemctl stop wmbusmeters pi@raspberrypi:~ $ systemctl status wmbusmeters.service ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-03-31 23:06:33 CEST; 8h ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 672 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS) Process: 673 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS) Process: 674 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 675 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 676 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS) Main PID: 678 (code=exited, status=1/FAILURE) Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. Mär 31 23:06:33 raspberrypi systemd[1]: Stopped "wmbusmeters service". Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Mär 31 23:06:33 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. Mär 31 23:06:33 raspberrypi systemd[1]: Failed to start "wmbusmeters service". pi@raspberrypi:~ $ sudo systemctl start wmbusmeters pi@raspberrypi:~ $ systemctl status wmbusmeters.service ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2021-04-01 07:49:15 CEST; 1s ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 19954 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS) Process: 19955 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS) Process: 19956 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 19957 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 19958 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS) Main PID: 19959 (code=exited, status=1/FAILURE) Apr 01 07:49:16 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Apr 01 07:49:16 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. Apr 01 07:49:16 raspberrypi systemd[1]: Stopped "wmbusmeters service". Apr 01 07:49:16 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Apr 01 07:49:16 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. Apr 01 07:49:16 raspberrypi systemd[1]: Failed to start "wmbusmeters service". pi@raspberrypi:~ $
Den Fehler hatte ich ja von Anfang an gepostet.
-
-
@michi_pi sagte in Wasserzähler (Funk 868) auslesen.:
ps -e | grep wmbusmeters
Garnichts.
ps -e | grep wmbusmeters pi@raspberrypi:~ $
-
@hg6806 okay, ja vielleicht sollte es doch nochmal neuinstalliert werden. Oder erst mal ein Update durchführen.
$ git pull https://github.com/weetmuts/wmbusmeters.git $ cd wmbusmeters $ sudo make clean $ sudo make $ sudo systemctl daemon-reload
und danach nochmal schauen ob es dann läuft
-
@michi_pi sagte in Wasserzähler (Funk 868) auslesen.:
sudo systemctl daemon-reload
Habe es ausgeführt, Fehler taucht wieder auf.
pi@raspberrypi:~/wmbusmeters $ systemctl status wmbusmeters.service ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-01 11:17:02 CEST; 1min 38s ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 16257 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS) Process: 16258 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS) Process: 16259 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 16260 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 16261 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS) Main PID: 16262 (code=exited, status=1/FAILURE) Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. Apr 01 11:17:02 raspberrypi systemd[1]: Stopped "wmbusmeters service". Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. Apr 01 11:17:02 raspberrypi systemd[1]: Failed to start "wmbusmeters service". pi@raspberrypi:~/wmbusmeters $ journalctl -xe -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit wmbusmeters.service has exited. -- -- The process' exit code is 'exited' and its exit status is 1. Apr 01 11:17:01 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit wmbusmeters.service has entered the 'failed' state with result 'exit-code'. Apr 01 11:17:01 raspberrypi CRON[16265]: pam_unix(cron:session): session opened for user root by (uid=0) Apr 01 11:17:01 raspberrypi CRON[16266]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Apr 01 11:17:01 raspberrypi CRON[16265]: pam_unix(cron:session): session closed for user root Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. -- Subject: Automatic restarting of a unit has been scheduled -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Automatic restarting of the unit wmbusmeters.service has been scheduled, as the result for -- the configured Restart= setting for the unit. Apr 01 11:17:02 raspberrypi systemd[1]: Stopped "wmbusmeters service". -- Subject: A stop job for unit wmbusmeters.service has finished -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A stop job for unit wmbusmeters.service has finished. -- -- The job identifier is 2170 and the job result is done. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit wmbusmeters.service has entered the 'failed' state with result 'exit-code'. Apr 01 11:17:02 raspberrypi systemd[1]: Failed to start "wmbusmeters service". -- Subject: A start job for unit wmbusmeters.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit wmbusmeters.service has finished with a failure. --
Hat es vielleicht was mit fehlenden Rechten zu tun?
Wie kann ich denn das Ganze erst einmal ganz deinstallieren?
Habe da nichts gefunden undpi@raspberrypi:~/wmbusmeters $ sudo apt-get --purge remove wmbusmeters Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket wmbusmeters kann nicht gefunden werden.
...funktioniert nicht.
-
@hg6806 einfach mit uninstall
sudo systemctl stop wmbusmeters cd wmbusmeters sudo make uninstall
Wenn du dann diese Zeilen ausführst, kannst du dann mal zeigen was in dem make test für ein Ergebnis gekommen ist?
git clone https://github.com/weetmuts/wmbusmeters.git cd wmbusmeters make && make test
-
@michi_pi sagte in Wasserzähler (Funk 868) auslesen.:
make && make test
pi@raspberrypi:~/wmbusmeters $ sudo apt-get --purge remove wmbusmeters Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket wmbusmeters kann nicht gefunden werden. pi@raspberrypi:~/wmbusmeters $ wmbusmeters auto:t1 meinwasserzaehler iperl:t1 21200936 2E13CF51607F0A307C3C91025CE97792 Started auto cul on /dev/ttyACM1 listening on t1 meinwasserzaehler 21200936 32.754 m3 0 m3/h 2021-04-01 11:36.04 ^Cpi@raspberrypi:~/wmbusmeters $ sudo systemctl stop wmbusmeters pi@raspberrypi:~/wmbusmeters $ cd wmbusmeters -bash: cd: wmbusmeters: Datei oder Verzeichnis nicht gefunden pi@raspberrypi:~/wmbusmeters $ sudo make uninstall Building 1.1.0-44-ga26bac3 binaries: removed /usr/bin/wmbusmeters and /usr/sbin/wmbusmetersd man page: removed /usr/share/man/man1/wmbusmeters.1.gz user: removed wmbusmeters log dir: removed /var/log/wmbusmeters/ logrotate file: removed /etc/logrotate.d/wmbusmeters conf file: removed /etc/wmbusmeters.conf conf dir: removed /etc/wmbusmeters.d systemd: removed /lib/systemd/system/wmbusmeters.service pi@raspberrypi:~/wmbusmeters $ git clone https://github.com/weetmuts/wmbusmeters.git Klone nach 'wmbusmeters' ... remote: Enumerating objects: 195, done. remote: Counting objects: 100% (195/195), done. remote: Compressing objects: 100% (147/147), done. remote: Total 6512 (delta 115), reused 87 (delta 45), pack-reused 6317 Empfange Objekte: 100% (6512/6512), 2.67 MiB | 6.85 MiB/s, Fertig. Löse Unterschiede auf: 100% (5065/5065), Fertig. pi@raspberrypi:~/wmbusmeters $ cd wmbusmeters pi@raspberrypi:~/wmbusmeters/wmbusmeters $ make && make test Building 1.2.0-21-ga26bac3 g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aes.cc -c -E > build/aes.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aes.cc -MMD -c -o build/aes.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aescmac.cc -c -E > build/aescmac.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aescmac.cc -MMD -c -o build/aescmac.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/bus.cc -c -E > build/bus.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/bus.cc -MMD -c -o build/bus.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/cmdline.cc -c -E > build/cmdline.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/cmdline.cc -MMD -c -o build/cmdline.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/config.cc -c -E > build/config.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/config.cc -MMD -c -o build/config.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/dvparser.cc -c -E > build/dvparser.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/dvparser.cc -MMD -c -o build/dvparser.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/mbus_rawtty.cc -c -E > build/mbus_rawtty.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/mbus_rawtty.cc -MMD -c -o build/mbus_rawtty.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meters.cc -c -E > build/meters.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meters.cc -MMD -c -o build/meters.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/manufacturer_specificities.cc -c -E > build/manufacturer_specificities.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/manufacturer_specificities.cc -MMD -c -o build/manufacturer_specificities.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/printer.cc -c -E > build/printer.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/printer.cc -MMD -c -o build/printer.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/rtlsdr.cc -c -E > build/rtlsdr.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/rtlsdr.cc -MMD -c -o build/rtlsdr.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/serial.cc -c -E > build/serial.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/serial.cc -MMD -c -o build/serial.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/shell.cc -c -E > build/shell.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/shell.cc -MMD -c -o build/shell.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/sha256.cc -c -E > build/sha256.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/sha256.cc -MMD -c -o build/sha256.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/threads.cc -c -E > build/threads.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/threads.cc -MMD -c -o build/threads.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/util.cc -c -E > build/util.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/util.cc -MMD -c -o build/util.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/units.cc -c -E > build/units.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/units.cc -MMD -c -o build/units.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus.cc -c -E > build/wmbus.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus.cc -MMD -c -o build/wmbus.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_auto.cc -c -E > build/meter_auto.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_auto.cc -MMD -c -o build/meter_auto.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_unknown.cc -c -E > build/meter_unknown.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_unknown.cc -MMD -c -o build/meter_unknown.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_amiplus.cc -c -E > build/meter_amiplus.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_amiplus.cc -MMD -c -o build/meter_amiplus.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_amb8465.cc -c -E > build/wmbus_amb8465.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_amb8465.cc -MMD -c -o build/wmbus_amb8465.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_im871a.cc -c -E > build/wmbus_im871a.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_im871a.cc -MMD -c -o build/wmbus_im871a.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_cul.cc -c -E > build/wmbus_cul.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_cul.cc -MMD -c -o build/wmbus_cul.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rtlwmbus.cc -c -E > build/wmbus_rtlwmbus.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rtlwmbus.cc -MMD -c -o build/wmbus_rtlwmbus.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rtl433.cc -c -E > build/wmbus_rtl433.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rtl433.cc -MMD -c -o build/wmbus_rtl433.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_simulator.cc -c -E > build/wmbus_simulator.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_simulator.cc -MMD -c -o build/wmbus_simulator.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rawtty.cc -c -E > build/wmbus_rawtty.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rawtty.cc -MMD -c -o build/wmbus_rawtty.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rc1180.cc -c -E > build/wmbus_rc1180.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_rc1180.cc -MMD -c -o build/wmbus_rc1180.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_utils.cc -c -E > build/wmbus_utils.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/wmbus_utils.cc -MMD -c -o build/wmbus_utils.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_apator08.cc -c -E > build/meter_apator08.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_apator08.cc -MMD -c -o build/meter_apator08.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_apator162.cc -c -E > build/meter_apator162.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_apator162.cc -MMD -c -o build/meter_apator162.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_cma12w.cc -c -E > build/meter_cma12w.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_cma12w.cc -MMD -c -o build/meter_cma12w.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_compact5.cc -c -E > build/meter_compact5.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_compact5.cc -MMD -c -o build/meter_compact5.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ebzwmbe.cc -c -E > build/meter_ebzwmbe.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ebzwmbe.cc -MMD -c -o build/meter_ebzwmbe.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ehzp.cc -c -E > build/meter_ehzp.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ehzp.cc -MMD -c -o build/meter_ehzp.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_esyswm.cc -c -E > build/meter_esyswm.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_esyswm.cc -MMD -c -o build/meter_esyswm.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_elf.cc -c -E > build/meter_elf.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_elf.cc -MMD -c -o build/meter_elf.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_em24.cc -c -E > build/meter_em24.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_em24.cc -MMD -c -o build/meter_em24.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_emerlin868.cc -c -E > build/meter_emerlin868.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_emerlin868.cc -MMD -c -o build/meter_emerlin868.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ev200.cc -c -E > build/meter_ev200.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ev200.cc -MMD -c -o build/meter_ev200.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_evo868.cc -c -E > build/meter_evo868.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_evo868.cc -MMD -c -o build/meter_evo868.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_eurisii.cc -c -E > build/meter_eurisii.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_eurisii.cc -MMD -c -o build/meter_eurisii.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_fhkvdataiii.cc -c -E > build/meter_fhkvdataiii.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_fhkvdataiii.cc -MMD -c -o build/meter_fhkvdataiii.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_fhkvdataiv.cc -c -E > build/meter_fhkvdataiv.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_fhkvdataiv.cc -MMD -c -o build/meter_fhkvdataiv.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_flowiq2200.cc -c -E > build/meter_flowiq2200.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_flowiq2200.cc -MMD -c -o build/meter_flowiq2200.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrus.cc -c -E > build/meter_hydrus.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrus.cc -MMD -c -o build/meter_hydrus.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrocalm3.cc -c -E > build/meter_hydrocalm3.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrocalm3.cc -MMD -c -o build/meter_hydrocalm3.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrodigit.cc -c -E > build/meter_hydrodigit.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_hydrodigit.cc -MMD -c -o build/meter_hydrodigit.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ei6500.cc -c -E > build/meter_ei6500.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ei6500.cc -MMD -c -o build/meter_ei6500.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_iperl.cc -c -E > build/meter_iperl.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_iperl.cc -MMD -c -o build/meter_iperl.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_izar.cc -c -E > build/meter_izar.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_izar.cc -MMD -c -o build/meter_izar.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_izar3.cc -c -E > build/meter_izar3.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_izar3.cc -MMD -c -o build/meter_izar3.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansendw.cc -c -E > build/meter_lansendw.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansendw.cc -MMD -c -o build/meter_lansendw.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansensm.cc -c -E > build/meter_lansensm.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansensm.cc -MMD -c -o build/meter_lansensm.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansenth.cc -c -E > build/meter_lansenth.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansenth.cc -MMD -c -o build/meter_lansenth.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansenpu.cc -c -E > build/meter_lansenpu.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lansenpu.cc -MMD -c -o build/meter_lansenpu.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_mkradio3.cc -c -E > build/meter_mkradio3.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_mkradio3.cc -MMD -c -o build/meter_mkradio3.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_mkradio4.cc -c -E > build/meter_mkradio4.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_mkradio4.cc -MMD -c -o build/meter_mkradio4.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical21.cc -c -E > build/meter_multical21.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical21.cc -MMD -c -o build/meter_multical21.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical302.cc -c -E > build/meter_multical302.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical302.cc -MMD -c -o build/meter_multical302.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical403.cc -c -E > build/meter_multical403.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical403.cc -MMD -c -o build/meter_multical403.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical603.cc -c -E > build/meter_multical603.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical603.cc -MMD -c -o build/meter_multical603.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical803.cc -c -E > build/meter_multical803.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_multical803.cc -MMD -c -o build/meter_multical803.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_omnipower.cc -c -E > build/meter_omnipower.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_omnipower.cc -MMD -c -o build/meter_omnipower.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_piigth.cc -c -E > build/meter_piigth.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_piigth.cc -MMD -c -o build/meter_piigth.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_q400.cc -c -E > build/meter_q400.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_q400.cc -MMD -c -o build/meter_q400.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_qcaloric.cc -c -E > build/meter_qcaloric.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_qcaloric.cc -MMD -c -o build/meter_qcaloric.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_rfmamb.cc -c -E > build/meter_rfmamb.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_rfmamb.cc -MMD -c -o build/meter_rfmamb.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_rfmtx1.cc -c -E > build/meter_rfmtx1.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_rfmtx1.cc -MMD -c -o build/meter_rfmtx1.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sharky.cc -c -E > build/meter_sharky.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sharky.cc -MMD -c -o build/meter_sharky.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_supercom587.cc -c -E > build/meter_supercom587.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_supercom587.cc -MMD -c -o build/meter_supercom587.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sontex868.cc -c -E > build/meter_sontex868.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sontex868.cc -MMD -c -o build/meter_sontex868.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_topaseskr.cc -c -E > build/meter_topaseskr.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_topaseskr.cc -MMD -c -o build/meter_topaseskr.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_tsd2.cc -c -E > build/meter_tsd2.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_tsd2.cc -MMD -c -o build/meter_tsd2.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ultrimis.cc -c -E > build/meter_ultrimis.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_ultrimis.cc -MMD -c -o build/meter_ultrimis.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_vario451.cc -c -E > build/meter_vario451.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_vario451.cc -MMD -c -o build/meter_vario451.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_waterstarm.cc -c -E > build/meter_waterstarm.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_waterstarm.cc -MMD -c -o build/meter_waterstarm.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_whe46x.cc -c -E > build/meter_whe46x.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_whe46x.cc -MMD -c -o build/meter_whe46x.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_whe5x.cc -c -E > build/meter_whe5x.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_whe5x.cc -MMD -c -o build/meter_whe5x.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sensostar.cc -c -E > build/meter_sensostar.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_sensostar.cc -MMD -c -o build/meter_sensostar.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_gransystems_ccx01.cc -c -E > build/meter_gransystems_ccx01.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_gransystems_ccx01.cc -MMD -c -o build/meter_gransystems_ccx01.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lse_08.cc -c -E > build/meter_lse_08.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_lse_08.cc -MMD -c -o build/meter_lse_08.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_weh_07.cc -c -E > build/meter_weh_07.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/meter_weh_07.cc -MMD -c -o build/meter_weh_07.o echo 'R"MANUAL(' > build/short_manual.h sed -n '/wmbusmeters version/,/```/p' README.md \ | grep -v 'wmbusmeters version' \ | grep -v '```' >> build/short_manual.h echo ')MANUAL";' >> build/short_manual.h g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/main.cc -c -E > build/main.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/main.cc -MMD -c -o build/main.o g++ -o build/wmbusmeters build/aes.o build/aescmac.o build/bus.o build/cmdline.o build/config.o build/dvparser.o build/mbus_rawtty.o build/meters.o build/manufacturer_specificities.o build/printer.o build/rtlsdr.o build/serial.o build/shell.o build/sha256.o build/threads.o build/util.o build/units.o build/wmbus.o build/meter_auto.o build/meter_unknown.o build/meter_amiplus.o build/wmbus_amb8465.o build/wmbus_im871a.o build/wmbus_cul.o build/wmbus_rtlwmbus.o build/wmbus_rtl433.o build/wmbus_simulator.o build/wmbus_rawtty.o build/wmbus_rc1180.o build/wmbus_utils.o build/meter_apator08.o build/meter_apator162.o build/meter_cma12w.o build/meter_compact5.o build/meter_ebzwmbe.o build/meter_ehzp.o build/meter_esyswm.o build/meter_elf.o build/meter_em24.o build/meter_emerlin868.o build/meter_ev200.o build/meter_evo868.o build/meter_eurisii.o build/meter_fhkvdataiii.o build/meter_fhkvdataiv.o build/meter_flowiq2200.o build/meter_hydrus.o build/meter_hydrocalm3.o build/meter_hydrodigit.o build/meter_ei6500.o build/meter_iperl.o build/meter_izar.o build/meter_izar3.o build/meter_lansendw.o build/meter_lansensm.o build/meter_lansenth.o build/meter_lansenpu.o build/meter_mkradio3.o build/meter_mkradio4.o build/meter_multical21.o build/meter_multical302.o build/meter_multical403.o build/meter_multical603.o build/meter_multical803.o build/meter_omnipower.o build/meter_piigth.o build/meter_q400.o build/meter_qcaloric.o build/meter_rfmamb.o build/meter_rfmtx1.o build/meter_sharky.o build/meter_supercom587.o build/meter_sontex868.o build/meter_topaseskr.o build/meter_tsd2.o build/meter_ultrimis.o build/meter_vario451.o build/meter_waterstarm.o build/meter_whe46x.o build/meter_whe5x.o build/meter_sensostar.o build/meter_gransystems_ccx01.o build/meter_lse_08.o build/meter_weh_07.o build/main.o -lrtlsdr -lusb-1.0 -lpthread g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/admin.cc -c -E > build/admin.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/admin.cc -MMD -c -o build/admin.o g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/ui.cc -c -E > build/ui.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/ui.cc -MMD -c -o build/ui.o g++ -o build/wmbusmeters-admin build/aes.o build/aescmac.o build/bus.o build/cmdline.o build/config.o build/dvparser.o build/mbus_rawtty.o build/meters.o build/manufacturer_specificities.o build/printer.o build/rtlsdr.o build/serial.o build/shell.o build/sha256.o build/threads.o build/util.o build/units.o build/wmbus.o build/meter_auto.o build/meter_unknown.o build/meter_amiplus.o build/wmbus_amb8465.o build/wmbus_im871a.o build/wmbus_cul.o build/wmbus_rtlwmbus.o build/wmbus_rtl433.o build/wmbus_simulator.o build/wmbus_rawtty.o build/wmbus_rc1180.o build/wmbus_utils.o build/meter_apator08.o build/meter_apator162.o build/meter_cma12w.o build/meter_compact5.o build/meter_ebzwmbe.o build/meter_ehzp.o build/meter_esyswm.o build/meter_elf.o build/meter_em24.o build/meter_emerlin868.o build/meter_ev200.o build/meter_evo868.o build/meter_eurisii.o build/meter_fhkvdataiii.o build/meter_fhkvdataiv.o build/meter_flowiq2200.o build/meter_hydrus.o build/meter_hydrocalm3.o build/meter_hydrodigit.o build/meter_ei6500.o build/meter_iperl.o build/meter_izar.o build/meter_izar3.o build/meter_lansendw.o build/meter_lansensm.o build/meter_lansenth.o build/meter_lansenpu.o build/meter_mkradio3.o build/meter_mkradio4.o build/meter_multical21.o build/meter_multical302.o build/meter_multical403.o build/meter_multical603.o build/meter_multical803.o build/meter_omnipower.o build/meter_piigth.o build/meter_q400.o build/meter_qcaloric.o build/meter_rfmamb.o build/meter_rfmtx1.o build/meter_sharky.o build/meter_supercom587.o build/meter_sontex868.o build/meter_topaseskr.o build/meter_tsd2.o build/meter_ultrimis.o build/meter_vario451.o build/meter_waterstarm.o build/meter_whe46x.o build/meter_whe5x.o build/meter_sensostar.o build/meter_gransystems_ccx01.o build/meter_lse_08.o build/meter_weh_07.o build/admin.o build/ui.o -lmenu -lform -lncurses -lrtlsdr -lusb-1.0 -lpthread g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/testinternals.cc -c -E > build/testinternals.o.src g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/testinternals.cc -MMD -c -o build/testinternals.o g++ -o build/testinternals build/aes.o build/aescmac.o build/bus.o build/cmdline.o build/config.o build/dvparser.o build/mbus_rawtty.o build/meters.o build/manufacturer_specificities.o build/printer.o build/rtlsdr.o build/serial.o build/shell.o build/sha256.o build/threads.o build/util.o build/units.o build/wmbus.o build/meter_auto.o build/meter_unknown.o build/meter_amiplus.o build/wmbus_amb8465.o build/wmbus_im871a.o build/wmbus_cul.o build/wmbus_rtlwmbus.o build/wmbus_rtl433.o build/wmbus_simulator.o build/wmbus_rawtty.o build/wmbus_rc1180.o build/wmbus_utils.o build/meter_apator08.o build/meter_apator162.o build/meter_cma12w.o build/meter_compact5.o build/meter_ebzwmbe.o build/meter_ehzp.o build/meter_esyswm.o build/meter_elf.o build/meter_em24.o build/meter_emerlin868.o build/meter_ev200.o build/meter_evo868.o build/meter_eurisii.o build/meter_fhkvdataiii.o build/meter_fhkvdataiv.o build/meter_flowiq2200.o build/meter_hydrus.o build/meter_hydrocalm3.o build/meter_hydrodigit.o build/meter_ei6500.o build/meter_iperl.o build/meter_izar.o build/meter_izar3.o build/meter_lansendw.o build/meter_lansensm.o build/meter_lansenth.o build/meter_lansenpu.o build/meter_mkradio3.o build/meter_mkradio4.o build/meter_multical21.o build/meter_multical302.o build/meter_multical403.o build/meter_multical603.o build/meter_multical803.o build/meter_omnipower.o build/meter_piigth.o build/meter_q400.o build/meter_qcaloric.o build/meter_rfmamb.o build/meter_rfmtx1.o build/meter_sharky.o build/meter_supercom587.o build/meter_sontex868.o build/meter_topaseskr.o build/meter_tsd2.o build/meter_ultrimis.o build/meter_vario451.o build/meter_waterstarm.o build/meter_whe46x.o build/meter_whe5x.o build/meter_sensostar.o build/meter_gransystems_ccx01.o build/meter_lse_08.o build/meter_weh_07.o build/testinternals.o -lrtlsdr -lusb-1.0 -lpthread Building 1.2.0-21-ga26bac3 OK: test internals OK: Test C1 meters OK json: Test T1 meters OK fields: Test T1 meters OK json: Test S1 meters OK fields: Test S1 meters OK: Test meter with unknown driver OK json: Test naughty non-compliant apator162 meters OK fields: Test naughty non-compliant apator162 meters OK json: Test Izars meters OK: Test listen to all izars OK: Test aes encrypted telegrams OK: Test that failed decryption warning only prints once. OK: Test shell invocation OK: Test shell in config file OK: Test that normal meterfiles are written OK: Test that meterfiles with name-id are written OK: Test that meterfiles with id are written OK: Test that meterfiles with timestamps are written OK: Test that meterfiles with timestamps are written OK: Test normal config files with C1 meters OK: Test logfile OK: Test single meter conf file matches any id OK: Test listen and print any meter heard in logfile OK: Test listen and print any meter heard on stdout OK: Test detection of drivers for all telegrams OK: Test listen to wildcard * id OK: Test listen to wildcard suffix 8856* id OK: Test listen to two comma separted ids OK: Test listen to three comma separted ids OK: Test listen with negated ids OK: Test listen with wrong driver and wildcard OK: Test conversions of units OK: Test selected fields OK: Test oneshot OK: Test wrong keys OK: Test config4 with added conversions OK: Test that listen to t1+c1 works with meters transmitting using t1+c1 OK: Test that listen to t1+c1 works with meters transmitting using t1+c1 OK: Test that setting supercom587 to c1 fails OK: Test additional json from cmdline OK: Test additional shell envs from cmdline OK: Test additional json from wmbusmeters.conf and from meter file OK: Test rtlwmbus starting background script to produce telegrams OK: Reading binary telegram from stdin OK: Reading binary telegram from file OK: Reading rtlwmbus formatted telegrams from stdin OK: Reading rtlwmbus formatted telegrams from file OK: Reading rtl433 formatted telegrams from stdin OK: Reading rtl433 formatted telegrams from file OK: Test ok serial rawtty telegram on stdin OK: Test bad serial rawtty telegram with interspersed noise, on stdin OK: Test duplicates are ignored OK: Test duplicates are left alone OK: Test match on dll id OK: Test match on tpl id OK: Test log timestamps Slower tests... OK: reading all stdin before closing down RUNNING Test alarms ... STDERR--------------------------------- [ALARM DeviceInactivity] 4 seconds of inactivity resetting simulations/simulation_alarm.txt simulation (timeout 4s expected mon-sun(00-23) now 2021-04-01 12:35) (wmbus) successfully reset wmbus device STDOUT--------------------------------- TMP/OUTPUT----------------------------- METER =={"media":"cold water","meter":"multical21","name":"Water","id":"76348799","total_m3":6.408,"target_m3":6.408,"max_flow_m3h":0,"flow_temperature_c":127,"external_temperature_c":19,"current_status":"DRY","time_dry":"22-31 days","time_reversed":"","time_leaking":"","time_bursting":"","timestamp":"2021-04-01T10:35:32Z"}== METER =={"media":"cold water","meter":"multical21","name":"Water","id":"76348799","total_m3":6.408,"target_m3":6.408,"max_flow_m3h":0,"flow_temperature_c":127,"external_temperature_c":19,"current_status":"DRY","time_dry":"22-31 days","time_reversed":"","time_leaking":"","time_bursting":"","timestamp":"2021-04-01T10:35:38Z"}== TMP/ALARM------------------------------ ALARM_SHELL DeviceInactivity [ALARM DeviceInactivity] 4 seconds of inactivity resetting simulations/simulation_alarm.txt simulation (timeout 4s expected mon-sun(00-23) now 2021-04-01 12:35) --------------------------------------- OK: Test alarms All tests ok! pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl stop wmbusmeters Warning: The unit file, source configuration file or drop-ins of wmbusmeters.service changed on disk. Run 'systemctl daemon-reload' to reload units. pi@raspberrypi:~/wmbusmeters/wmbusmeters $
und weiter:
pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl stop wmbusmeters Warning: The unit file, source configuration file or drop-ins of wmbusmeters.service changed on disk. Run 'systemctl daemon-reload' to reload units. pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl daemon-reload pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl stop wmbusmeters pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl start wmbumeters Failed to start wmbumeters.service: Unit wmbumeters.service not found. pi@raspberrypi:~/wmbusmeters/wmbusmeters $ sudo systemctl start wmbusmeters Failed to start wmbusmeters.service: Unit wmbusmeters.service not found. pi@raspberrypi:~/wmbusmeters/wmbusmeters $ cd pi@raspberrypi:~ $ sudo systemctl start wmbusmeters Failed to start wmbusmeters.service: Unit wmbusmeters.service not found. pi@raspberrypi:~ $ systemctl status wmbusmeters.service ● wmbusmeters.service Loaded: not-found (Reason: Unit wmbusmeters.service not found.) Active: failed (Result: exit-code) since Thu 2021-04-01 11:17:02 CEST; 1h 24min ago Main PID: 16262 (code=exited, status=1/FAILURE) Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3. Apr 01 11:17:02 raspberrypi systemd[1]: Stopped "wmbusmeters service". Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly. Apr 01 11:17:02 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'. Apr 01 11:17:02 raspberrypi systemd[1]: Failed to start "wmbusmeters service". pi@raspberrypi:~ $
-
@hg6806 mit make test wollte ich nur sehen ob auch das kompilieren funktioniert. Also es wurde nicht wirklich installiert. Die tests waren ok.
also kannst jetzt
cd wmbusmeters sudo make install sudo systemctl daemon-reload sudo systemctl start wmbusmeters
durchführen, dann nochmal schauen was der status bringt
-
Sieht vielversprechend aus.
pi@raspberrypi:~ $ cd wmbusmeters pi@raspberrypi:~/wmbusmeters $ sudo make install Building 1.1.0-44-ga26bac3 binaries: installed /usr/bin/wmbusmeters and /usr/sbin/wmbusmetersd man page: installed /usr/share/man/man1/wmbusmeters.1.gz group: added wmbusmeters user: added wmbusmeters user: added wmbusmeters to dialout group user: added wmbusmeters to uucp group user: added wmbusmeters to plugdev group log: created /var/log/wmbusmeters/meter_readings logrotate: created /etc/logrotate.d/wmbusmeters conf file: created /etc/wmbusmeters.conf conf dir: created /etc/wmbusmeters.d systemd: no changes to /lib/systemd/system/wmbusmeters.service pi@raspberrypi:~/wmbusmeters $ sudo systemctl daemon-reload pi@raspberrypi:~/wmbusmeters $ sudo systemctl start wmbusmeters pi@raspberrypi:~/wmbusmeters $ systemctl status wmbusmeters.service ● wmbusmeters.service - "wmbusmeters service" Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2021-04-01 13:55:23 CEST; 51s ago Docs: https://github.com/weetmuts/wmbusmeters man:wmbusmeters(1) Process: 13729 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS) Process: 13730 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS) Process: 13731 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 13732 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS) Process: 13733 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS) Main PID: 13734 (wmbusmetersd) Tasks: 3 (limit: 4915) CGroup: /system.slice/wmbusmeters.service └─13734 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid Apr 01 13:55:23 raspberrypi systemd[1]: Starting "wmbusmeters service"... Apr 01 13:55:23 raspberrypi systemd[1]: Started "wmbusmeters service". pi@raspberrypi:~/wmbusmeters $
Ich muss dann noch die Config und meinwasserzaehler rüberkopieren/schreiben und teste dann mal.
-
@hg6806 ja sieht gut aus.
wenn du die config änderst dann nochmal folgendes eingeben.
sudo systemctl daemon-reload sudo systemctl restart wmbusmeters
-
So, es läuft jetzt endlich!!!
Was eine Geburt! Ich bin auch echt froh, das mit meinem Halbwissen durchgezogen zu haben.Generell war wohl anfangs die Installation nicht in Ordnung, deshalb wurde der Service nicht gestartet.
Schön und einfacher wäre es trotzdem das Ganze mit dem CUL Adapter zu machen, aber ich glaube da ist man noch nicht so weit.
-
@hg6806 sagte in Wasserzähler (Funk 868) auslesen.:
Was eine Geburt!
das stimmt aber immerhin läuft es jetzt.
Ja ein Adapter wäre naturlich schon nice. Bei mir wurde mit dem CUL Adapter nichtmal der der Stick erkannt. Daraufhin bin ich dann auf wmbusmeters gestoßen.
Hatte anfangs auch schwierigkeiten, aber eher mit dem Stick als mit wmbusmeters. Allerdings läuft es jetzt seit Oktober ohne Probleme zuverlässig.
-
-
Noch eine Kleinigkeit.
In der git-Beschreibung stand nichts.
Kann man per SW irgendwie die hell blinkende LED ausschalten?
Notfalls löte ich sie aus. -
@hg6806 ja die nervt ein wenig. Weiß nicht ob man die einfach so deaktivieren kann.
Hab mal gesehen dass man die im Sketch selbst deaktivieren kann. Wollte aber da nicht rumspielen.Ich habe jetzt ein Gehäuse dazu und da sieht man jetzt das blinken kaum mehr.
-
Ich frage mich gerade, ob man mit dem AES-Schlüssel auch in der Lage wäre, Daten auf einem Diehl HYDRUS 171A zu verändern.
Es geht mir nicht darum, das zu machen, jedoch wäre das ein prima Gegenargument der Wasserversorger, wenn es um die Herausgabe des Schlüssels geht...
-
@oxident Wenn geht es nur lokal per IR-Schnittstelle. Kann ich mir aber nicht vorstellen, dass dies überhaupt vorgesehen ist. Immerhin handelt es sich um eine geeichte Messvorrichtung zur Abrechnung von Verbräuchen. Damit wäre jede Abrechnung anfechtbar, schließlich könnte ja auch das Wasserwerk meinen Verbrauch "hoch drehen"...
-
@sborg Ja, so denke ich auch. Aber mir ist zu Ohren gekommen, dass die Wasserwerke derzeit Anfragen zu dem AES-Key oft aus genau zwei Gründen abweisen:
- Datenschutz (?)
- Manipulierbarkeit des Zählers
In der Anleitung zum Diehl habe ich nichts dergleichen gefunden, aber irgendwie muss ja der Zähler bei der Installation auch programmiert werden können, oder?
Falls das nur per IR geht, um so besser
-
@michi_pi
Hallo michi_pi, ich hoffe du kannst mir kurz helfen.
Ich möchte eine ältere Version (0.9.35) von wmbusmeter installieren, leider komme ich nicht drauf wie ich den git clone Befehl dafür schreiben muss. -
Hallo @gerald123 versuchs mal damit
git clone https://github.com/weetmuts/wmbusmeters.git -b v0.9.35
oder
git clone --branch 0.9.35 wmbusmeters
so genau weiß ich es auch nicht, hatte ich bisher noch nicht gemacht. Wenn dann nur upgedatet
Wieso brauchst du genau diese Version?