Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Smartmeter Elster AS1440

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Smartmeter Elster AS1440

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petlaw @Thomas Braun last edited by

      @thomas-braun said in Smartmeter Elster AS1440:

      @petlaw sagte in Smartmeter Elster AS1440:

      Sollte er die haben ? Wurde bei der installation nicht vergeben.

      Nein, sollte er nicht.
      Mach das wieder rückgängig.

      Ist raus

      peter@SMARTY:~$ sudo gpasswd -d iobroker sudo
      Removing user iobroker from group sudo
      peter@SMARTY:~$ sudo iobroker restart
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @petlaw last edited by

        @petlaw sagte in Smartmeter Elster AS1440:

        sudo iobroker restart

        Und pack niemals das Kommando 'iobroker' zusammen mit 'sudo' an.

        iob stop
        iob fix
        iob start
        iob diag
        

        Ausgaben von iob diag bitte posten.

        P 1 Reply Last reply Reply Quote 0
        • P
          petlaw @Thomas Braun last edited by petlaw

          @thomas-braun said in Smartmeter Elster AS1440:

          @petlaw sagte in Smartmeter Elster AS1440:

          sudo iobroker restart

          Und pack niemals das Kommando 'iobroker' zusammen mit 'sudo' an.

          Sir, jawohl, Sir 😉

          iob stop
          iob fix
          iob start
          iob diag
          

          Ausgaben von iob diag bitte posten.

          ======================= SUMMARY =======================
                               v.2023-04-16
          
          
          Operatingsystem:        Debian GNU/Linux 11 (bullseye)
          Kernel:                 5.10.0-22-amd64
          Installation:           Native
          Timezone:               Europe/Berlin (CEST, +0200)
          User-ID:                1000
          X-Server:               true
          Boot Target:            graphical.target
          
          Pending OS-Updates:     2
          Pending iob updates:    0
          
          Nodejs-Installation:    /usr/bin/nodejs         v18.16.0
                                  /usr/bin/node           v18.16.0
                                  /usr/bin/npm            9.5.1
                                  /usr/bin/npx            9.5.1
          
          Recommended versions are nodejs 18.x.y and npm 9.x.y
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            7.8G        1.2G        5.3G        8.0M        1.3G        6.4G
          Swap:           975M          0B        975M
          Total:          8.8G        1.2G        6.3G
          
          Active iob-Instances:   11
          Active repo(s): stable
          
          ioBroker Core:          js-controller           4.0.24
                                  admin                   6.3.5
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : SMARTY                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : SMARTY                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          Objects:                481
          States:                 378
          
          Size of iob-Database:
          
          3.8M    /opt/iobroker/iobroker-data/objects.jsonl
          172K    /opt/iobroker/iobroker-data/states.jsonl
          
          
          
          =================== END OF SUMMARY ====================
          

          Details:

          ======== Start marking the full check here =========
          
          Skript v.2023-04-16
          
          *** BASE SYSTEM ***
          Architecture    : x86_64
          Docker          : false
          Virtualization  : none
          Distributor ID: Debian
          Description:    Debian GNU/Linux 11 (bullseye)
          Release:        11
          Codename:       bullseye
          
          PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
          NAME="Debian GNU/Linux"
          VERSION_ID="11"
          VERSION="11 (bullseye)"
          VERSION_CODENAME=bullseye
          ID=debian
          HOME_URL="https://www.debian.org/"
          SUPPORT_URL="https://www.debian.org/support"
          BUG_REPORT_URL="https://bugs.debian.org/"
          
          Systemuptime and Load:
           11:50:00 up  8:57,  2 users,  load average: 0.04, 0.09, 0.05
          CPU threads: 4
          
          
          *** Time and Time Zones ***
                         Local time: Thu 2023-05-11 11:50:00 CEST
                     Universal time: Thu 2023-05-11 09:50:00 UTC
                           RTC time: Thu 2023-05-11 09:50:00
                          Time zone: Europe/Berlin (CEST, +0200)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** User and Groups ***
          peter
          /home/peter
          peter cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner iobroker
          
          *** X-Server-Setup ***
          X-Server:       true
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            7.8G        1.2G        5.3G        8.0M        1.3G        6.4G
          Swap:           975M          0B        975M
          Total:          8.8G        1.2G        6.3G
          
                   7828 M total memory
                   1170 M used memory
                    581 M active memory
                   1605 M inactive memory
                   5318 M free memory
                    164 M buffer memory
                   1175 M swap cache
                    975 M total swap
                      0 M used swap
                    975 M free swap
          
          *** FILESYSTEM ***
          Filesystem                  Type      Size  Used Avail Use% Mounted on
          udev                        devtmpfs  3.8G     0  3.8G   0% /dev
          tmpfs                       tmpfs     783M  1.5M  782M   1% /run
          /dev/mapper/SMARTY--vg-root ext4       23G  5.2G   17G  24% /
          tmpfs                       tmpfs     3.9G     0  3.9G   0% /dev/shm
          tmpfs                       tmpfs     5.0M  4.0K  5.0M   1% /run/lock
          /dev/sda2                   ext2      471M   63M  384M  15% /boot
          /dev/mapper/SMARTY--vg-tmp  ext4      1.8G  100K  1.7G   1% /tmp
          /dev/mapper/SMARTY--vg-var  ext4      9.1G  752M  7.9G   9% /var
          /dev/mapper/SMARTY--vg-home ext4      198G  411M  188G   1% /home
          /dev/sda1                   vfat      511M  5.8M  506M   2% /boot/efi
          tmpfs                       tmpfs     783M   64K  783M   1% /run/user/116
          tmpfs                       tmpfs     783M   56K  783M   1% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Thu May 11 02:52:34 2023] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
          [Thu May 11 02:52:34 2023] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
          [Thu May 11 02:52:35 2023] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
          [Thu May 11 02:52:35 2023] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
          [Thu May 11 02:52:35 2023] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null)
          [Thu May 11 02:52:35 2023] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
          [Thu May 11 02:52:35 2023] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: (null)
          
          Show mounted filesystems (real ones only):
          TARGET        SOURCE                      FSTYPE OPTIONS
          /             /dev/mapper/SMARTY--vg-root ext4   rw,relatime,errors=remount-ro
          |-/boot       /dev/sda2                   ext2   rw,relatime
          | `-/boot/efi /dev/sda1                   vfat   rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
          |-/tmp        /dev/mapper/SMARTY--vg-tmp  ext4   rw,relatime
          |-/var        /dev/mapper/SMARTY--vg-var  ext4   rw,relatime
          `-/home       /dev/mapper/SMARTY--vg-home ext4   rw,relatime
          
          Files in neuralgic directories:
          
          /var:
          752M    /var/
          390M    /var/cache
          359M    /var/cache/apt
          289M    /var/cache/apt/archives
          281M    /var/lib
          
          Hint: You are currently not seeing messages from other users and the system.
                Users in groups 'adm', 'systemd-journal' can see all messages.
                Pass -q to turn off this notice.
          Archived and active journals take up 16.0M in the file system.
          
          /opt/iobroker/backups:
          2.4M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          136M    /opt/iobroker/iobroker-data/
          126M    /opt/iobroker/iobroker-data/files
          51M     /opt/iobroker/iobroker-data/files/javascript.admin
          32M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
          32M     /opt/iobroker/iobroker-data/files/javascript.admin/static
          
          The five largest files in iobroker-data are:
          9.1M    /opt/iobroker/iobroker-data/files/echarts.admin/static/js/2.bbf74d5f.chunk.js.map
          8.9M    /opt/iobroker/iobroker-data/files/echarts/static/js/2.3d2d025f.chunk.js.map
          8.9M    /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/2.3d2d025f.chunk.js.map
          6.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
          6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.16.0
          /usr/bin/node           v18.16.0
          /usr/bin/npm            9.5.1
          /usr/bin/npx            9.5.1
          
          
          nodejs:
            Installed: 18.16.0-deb-1nodesource1
            Candidate: 18.16.0-deb-1nodesource1
            Version table:
           *** 18.16.0-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u4 500
                  500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
               12.22.12~dfsg-1~deb11u3 500
                  500 http://deb.debian.org/debian bullseye/main amd64 Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          MULTIHOSTSERVICE/enabled: false
          
          Core adapters versions
          js-controller:  4.0.24
          admin:          6.3.5
          javascript:     6.1.4
          
          Adapters from github:   0
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : SMARTY                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.backitup.0               : backitup              : SMARTY                                   -  enabled
          + system.adapter.discovery.0              : discovery             : SMARTY                                   -  enabled
          + system.adapter.echarts.0                : echarts               : SMARTY                                   -  enabled
          + system.adapter.fritzdect.0              : fritzdect             : SMARTY                                   -  enabled
          + system.adapter.influxdb.0               : influxdb              : SMARTY                                   -  enabled, port: 8086
          + system.adapter.jarvis.0                 : jarvis                : SMARTY                                   -  enabled
          + system.adapter.javascript.0             : javascript            : SMARTY                                   -  enabled
            system.adapter.net-tools.0              : net-tools             : SMARTY                                   - disabled
            system.adapter.ping.0                   : ping                  : SMARTY                                   - disabled
          + system.adapter.smartmeter.0             : smartmeter            : SMARTY                                   -  enabled
          + system.adapter.web.0                    : web                   : SMARTY                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : SMARTY                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          + system.adapter.influxdb.0               : influxdb              : SMARTY                                   -  enabled, port: 8086
          + system.adapter.web.0                    : web                   : SMARTY                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
          
          ioBroker-Repositories
          stable        : http://download.iobroker.net/sources-dist.json
          beta          : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo(s): stable
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "admin"        : 6.3.5    , installed 6.3.5
          Adapter    "backitup"     : 2.6.19   , installed 2.6.19
          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
          Adapter    "echarts"      : 1.0.12   , installed 1.0.12
          Adapter    "fritzdect"    : 2.2.6    , installed 2.2.6
          Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
          Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
          Adapter    "javascript"   : 6.1.4    , installed 6.1.4
          Controller "js-controller": 4.0.24   , installed 4.0.24
          Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
          Adapter    "ping"         : 1.5.3    , installed 1.5.3
          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
          Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
          Adapter    "socketio"     : 4.2.0    , installed 4.2.0
          Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
          Adapter    "web"          : 4.3.0    , installed 4.3.0
          Adapter    "ws"           : 1.3.0    , installed 1.3.0
          
          Objects and States
          Please stand by - This may take a while
          Objects:        481
          States:         378
          
          *** OS-Repositories and Updates ***
          Hit:1 http://deb.debian.org/debian bullseye InRelease
          Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
          Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
          Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
          Hit:6 https://dl.yarnpkg.com/debian stable InRelease
          Hit:7 https://repos.influxdata.com/debian stable InRelease
          Hit:8 https://repos.influxdata.com/debian bullseye InRelease
          Reading package lists...
          Pending Updates: 2
          
          *** Listening Ports ***
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15379      601/sshd: /usr/sbin
          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          15394      572/cupsd
          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       102655     10102/iobroker.js-c
          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       102648     10102/iobroker.js-c
          tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       103578     10427/io.jarvis.0
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       103439     10247/io.web.0
          tcp6       0      0 :::8086                 :::*                    LISTEN      998        18537      525/influxd
          tcp6       0      0 :::22                   :::*                    LISTEN      0          15381      601/sshd: /usr/sbin
          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          15393      572/cupsd
          tcp6       0      0 :::80                   :::*                    LISTEN      0          13077      635/apache2
          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       101909     10120/io.admin.0
          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          15581      616/cups-browsed
          udp        0      0 0.0.0.0:58553           0.0.0.0:*                           110        1989       500/avahi-daemon: r
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           110        1987       500/avahi-daemon: r
          udp6       0      0 :::39214                :::*                                110        1990       500/avahi-daemon: r
          udp6       0      0 fe80::921b:eff:fe3f:546 :::*                                0          17949      503/NetworkManager
          udp6       0      0 :::5353                 :::*                                110        1988       500/avahi-daemon: r
          
          *** Log File - Last 25 Lines ***
          
          2023-05-11 11:47:42.529  - debug: smartmeter.0 (10177) SERIALPORT CLOSE
          2023-05-11 11:47:42.530  - debug: smartmeter.0 (10177) SCHEDULE NEXT RUN IN 30s
          2023-05-11 11:48:12.531  - debug: smartmeter.0 (10177) CREATE SERIALPORT: 300 7 1 even
          2023-05-11 11:48:12.534  - debug: smartmeter.0 (10177) SERIALPORT OPEN
          2023-05-11 11:48:12.536  - debug: smartmeter.0 (10177) SET MESSAGE TIMEOUT TIMER: 30000
          2023-05-11 11:48:42.537  - debug: smartmeter.0 (10177) MESSAGE TIMEOUT TRIGGERED
          2023-05-11 11:48:42.538  - debug: smartmeter.0 (10177) Error: No or too long answer from Serial Device after last request.
          2023-05-11 11:48:42.538  - warn: smartmeter.0 (10177) No or too long answer from Serial Device after last request.
          2023-05-11 11:48:42.538  - debug: smartmeter.0 (10177) Error: No or too long answer from Serial Device after last request.
          2023-05-11 11:48:42.539  - debug: smartmeter.0 (10177) Transport Reset!! Restart = true
          2023-05-11 11:48:42.541  - debug: smartmeter.0 (10177) SERIALPORT CLOSE
          2023-05-11 11:48:42.542  - debug: smartmeter.0 (10177) SCHEDULE NEXT RUN IN 30s
          2023-05-11 11:49:12.543  - debug: smartmeter.0 (10177) CREATE SERIALPORT: 300 7 1 even
          2023-05-11 11:49:12.545  - debug: smartmeter.0 (10177) SERIALPORT OPEN
          2023-05-11 11:49:12.547  - debug: smartmeter.0 (10177) SET MESSAGE TIMEOUT TIMER: 30000
          2023-05-11 11:49:42.547  - debug: smartmeter.0 (10177) MESSAGE TIMEOUT TRIGGERED
          2023-05-11 11:49:42.548  - debug: smartmeter.0 (10177) Error: No or too long answer from Serial Device after last request.
          2023-05-11 11:49:42.548  - warn: smartmeter.0 (10177) No or too long answer from Serial Device after last request.
          2023-05-11 11:49:42.549  - debug: smartmeter.0 (10177) Error: No or too long answer from Serial Device after last request.
          2023-05-11 11:49:42.549  - debug: smartmeter.0 (10177) Transport Reset!! Restart = true
          2023-05-11 11:49:42.551  - debug: smartmeter.0 (10177) SERIALPORT CLOSE
          2023-05-11 11:49:42.552  - debug: smartmeter.0 (10177) SCHEDULE NEXT RUN IN 30s
          2023-05-11 11:50:12.551  - debug: smartmeter.0 (10177) CREATE SERIALPORT: 300 7 1 even
          2023-05-11 11:50:12.552  - debug: smartmeter.0 (10177) SERIALPORT OPEN
          2023-05-11 11:50:12.553  - debug: smartmeter.0 (10177) SET MESSAGE TIMEOUT TIMER: 30000
          
          ============ Mark until here for C&P =============
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @petlaw last edited by

            @petlaw sagte in Smartmeter Elster AS1440:

            Setz den user 'peter' in die Gruppe 'adm' rein, dann kann der auch logs lesen und du brauchst da keine root-Rechte.

            Schalt den Desktop/X-Server aus.

            Hit:7 https://repos.influxdata.com/debian stable InRelease

            Da ist eine Doublette, vermutich hast du zwei .list-Files zu influx in /etc/apt/sources.list.d/ liegen. Lösche die mit dem Eintrag 'stable'.

            Zu deinem eigentlichen Problem mit dem SerialPort fällt mir aber nix ein.

            P 1 Reply Last reply Reply Quote 0
            • P
              petlaw @Thomas Braun last edited by

              @thomas-braun said in Smartmeter Elster AS1440:

              @petlaw sagte in Smartmeter Elster AS1440:

              Setz den user 'peter' in die Gruppe 'adm' rein, dann kann der auch logs lesen und du brauchst da keine root-Rechte.

              Schalt den Desktop/X-Server aus.

              Hit:7 https://repos.influxdata.com/debian stable InRelease

              Da ist eine Doublette, vermutich hast du zwei .list-Files zu influx in /etc/apt/sources.list.d/ liegen. Lösche die mit dem Eintrag 'stable'.

              Zu deinem eigentlichen Problem mit dem SerialPort fällt mir aber nix ein.

              Erledigt.

              Ich habe mal mit strace gecheckt, ob der Adapter überhaupt auf die Serielle Schnittstelle zugreift, da gibt es aber zu keinem Zeitpunkt einen open call auf /dev/ttyUSB0 oder irgendwas in /dev:

              peter@SMARTY:~$ sudo ps -ef | grep smart
              Debian-+    1012     892  0 02:52 tty1     00:00:00 /usr/libexec/gsd-smartcard
              iobroker   10177   10102  0 11:46 ?        00:00:01 io.smartmeter.0
              peter      13490    5853  0 11:56 pts/1    00:00:00 grep smart
              peter@SMARTY:~$ sudo strace -p 10177
              strace: Process 10177 attached
              epoll_wait(14, [], 1024, 41)            = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 51)            = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 3)             = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 18)            = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1)             = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 195)           = 0
              write(23, "*2\r\n$3\r\nget\r\n$36\r\nio.system.adap"..., 56) = 56
              write(23, "*2\r\n$3\r\nget\r\n$40\r\nio.system.adap"..., 60) = 60
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 28
              read(28, "10177 (io.smartmeter.0) R 10102 "..., 1023) = 309
              close(28)                               = 0
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$41\r\nio.system.adap"..., 61) = 61
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "$118\r\n{\"val\":true,\"ack\":true,\"ts"..., 65536) = 1029
              write(23, "*4\r\n$5\r\nsetex\r\n$36\r\nio.system.ad"..., 178) = 178
              write(23, "*4\r\n$5\r\nsetex\r\n$40\r\nio.system.ad"..., 182) = 182
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 169) = 169
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 176) = 176
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 175) = 175
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 172) = 172
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 168) = 168
              write(23, "*3\r\n$3\r\nset\r\n$41\r\nio.system.adap"..., 170) = 170
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 172) = 172
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n+OK\r\n+OK\r\n+OK\r\n", 65536) = 20
              write(23, "*3\r\n$7\r\npublish\r\n$36\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$40\r\nio.system."..., 176) = 176
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 173) = 173
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 180) = 180
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n+OK\r\n+OK\r\n+OK\r\n+OK\r\n", 65536) = 25
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 179) = 179
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 176) = 176
              futex(0x6ca1124, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca10d0, FUTEX_WAKE_PRIVATE, 1) = 1
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$41\r\nio.system."..., 174) = 174
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 176) = 176
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, ":0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n", 65536) = 32
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 82) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              mprotect(0x7043000, 245760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
              mprotect(0x7043000, 245760, PROT_READ|PROT_EXEC) = 0
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 0) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              write(23, "*2\r\n$3\r\nget\r\n$34\r\nio.system.adap"..., 54) = 54
              write(23, "*2\r\n$3\r\nget\r\n$38\r\nio.system.adap"..., 58) = 58
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n$104\r\n{\"val\":0.13,\"ack\":true"..., 65536) = 116
              write(23, "*3\r\n$3\r\nset\r\n$34\r\nio.system.adap"..., 165) = 165
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "$104\r\n{\"val\":1.79,\"ack\":true,\"ts"..., 65536) = 112
              write(23, "*3\r\n$3\r\nset\r\n$38\r\nio.system.adap"..., 170) = 170
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$34\r\nio.system."..., 169) = 169
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$38\r\nio.system."..., 174) = 174
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 72) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 30)            = 0
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 0) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 198) = 198
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 199) = 199
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}, {EPOLLIN, {u32=23, u64=23}}], 1024,                                                   0) = 2
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              epoll_ctl(14, EPOLL_CTL_ADD, 27, {EPOLLIN, {u32=4294967295, u64=4294967295}}) =                                                   0
              epoll_ctl(14, EPOLL_CTL_DEL, 27, 0x7ffe9b261044) = 0
              ioctl(27, FIONBIO, [1])                 = 0
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              read(23, ":1\r\n", 65536)               = 4
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 182) = 182
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 183) = 183
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}, {EPOLLIN, {u32=23, u64=23}}], 1024,                                                   0) = 2
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              epoll_ctl(14, EPOLL_CTL_DEL, 27, 0x7ffe9b260dc4) = -1 ENOENT (No such file or di                                                  rectory)
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              read(23, ":1\r\n:1\r\n", 65536)         = 8
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 199) = 199
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 200) = 200
              epoll_ctl(14, EPOLL_CTL_ADD, 27, {EPOLLIN, {u32=27, u64=27}}) = 0
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}, {EPOLLIN, {u32=23, u64=23}}], 1024,                                                   0) = 2
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              read(23, ":1\r\n:1\r\n", 65536)         = 8
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 610) = 1
              read(23, ":1\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 568)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 249)           = 0
              write(23, "*2\r\n$3\r\nget\r\n$36\r\nio.system.adap"..., 56) = 56
              write(23, "*2\r\n$3\r\nget\r\n$40\r\nio.system.adap"..., 60) = 60
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 29
              read(29, "10177 (io.smartmeter.0) R 10102 "..., 1023) = 309
              close(29)                               = 0
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$41\r\nio.system.adap"..., 61) = 61
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "$118\r\n{\"val\":true,\"ack\":true,\"ts"..., 65536) = 364
              write(23, "*4\r\n$5\r\nsetex\r\n$36\r\nio.system.ad"..., 178) = 178
              write(23, "*4\r\n$5\r\nsetex\r\n$40\r\nio.system.ad"..., 182) = 182
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 170) = 170
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "$105\r\n{\"val\":26.75,\"ack\":true,\"t"..., 65536) = 665
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 176) = 176
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 174) = 174
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 172) = 172
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 168) = 168
              write(23, "*3\r\n$3\r\nset\r\n$41\r\nio.system.adap"..., 170) = 170
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 172) = 172
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n+OK\r\n", 65536)       = 10
              write(23, "*3\r\n$7\r\npublish\r\n$36\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$40\r\nio.system."..., 176) = 176
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 174) = 174
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 180) = 180
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 178) = 178
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              write(23, "*2\r\n$3\r\nget\r\n$34\r\nio.system.adap"..., 54) = 54
              write(23, "*2\r\n$3\r\nget\r\n$38\r\nio.system.adap"..., 58) = 58
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n+OK\r\n+OK\r\n+OK\r\n:0\r\n:0\r\n", 65536) = 28
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 176) = 176
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$41\r\nio.system."..., 174) = 174
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 176) = 176
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n:0\r\n:0\r\n$103\r\n{\"val\":0.2,\"ac"..., 65536) = 247
              write(23, "*3\r\n$3\r\nset\r\n$34\r\nio.system.adap"..., 165) = 165
              write(23, "*3\r\n$3\r\nset\r\n$38\r\nio.system.adap"..., 170) = 170
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n+OK\r\n", 65536)        = 9
              write(23, "*3\r\n$7\r\npublish\r\n$34\r\nio.system."..., 169) = 169
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$38\r\nio.system."..., 174) = 174
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 729) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 687)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 226)           = 0
              write(23, "*2\r\n$3\r\nget\r\n$36\r\nio.system.adap"..., 56) = 56
              write(23, "*2\r\n$3\r\nget\r\n$40\r\nio.system.adap"..., 60) = 60
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 29
              read(29, "10177 (io.smartmeter.0) R 10102 "..., 1023) = 309
              close(29)                               = 0
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              write(23, "*2\r\n$3\r\nget\r\n$43\r\nio.system.adap"..., 63) = 63
              write(23, "*2\r\n$3\r\nget\r\n$37\r\nio.system.adap"..., 57) = 57
              write(23, "*2\r\n$3\r\nget\r\n$41\r\nio.system.adap"..., 61) = 61
              write(23, "*2\r\n$3\r\nget\r\n$42\r\nio.system.adap"..., 62) = 62
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "$118\r\n{\"val\":true,\"ack\":true,\"ts"..., 65536) = 919
              mprotect(0xac90e6c0000, 262144, PROT_READ|PROT_WRITE) = 0
              mprotect(0x17dcb7700000, 262144, PROT_READ|PROT_WRITE) = 0
              mprotect(0x3913740000, 262144, PROT_READ|PROT_WRITE) = 0
              mprotect(0x4481bb00000, 262144, PROT_READ|PROT_WRITE) = 0
              futex(0x6ca1124, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca10d0, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca1124, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca10d0, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6c60e80, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily                                                   unavailable)
              futex(0x6c60e08, FUTEX_WAKE_PRIVATE, 1) = 0
              futex(0x6ca1124, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca10d0, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca1120, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x6ca10d0, FUTEX_WAKE_PRIVATE, 1) = 1
              getpid()                                = 10177
              write(23, "*4\r\n$5\r\nsetex\r\n$36\r\nio.system.ad"..., 178) = 178
              write(23, "*4\r\n$5\r\nsetex\r\n$40\r\nio.system.ad"..., 182) = 182
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 169) = 169
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 176) = 176
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 175) = 175
              write(23, "*3\r\n$3\r\nset\r\n$43\r\nio.system.adap"..., 172) = 172
              write(23, "*3\r\n$3\r\nset\r\n$37\r\nio.system.adap"..., 168) = 168
              write(23, "*3\r\n$3\r\nset\r\n$41\r\nio.system.adap"..., 170) = 170
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "$102\r\n{\"val\":11,\"ack\":true,\"ts\":"..., 65536) = 125
              write(23, "*3\r\n$3\r\nset\r\n$42\r\nio.system.adap"..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$36\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$40\r\nio.system."..., 176) = 176
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 173) = 173
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n+OK\r\n+OK\r\n", 65536) = 15
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 180) = 180
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 179) = 179
              write(23, "*3\r\n$7\r\npublish\r\n$43\r\nio.system."..., 176) = 176
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, "+OK\r\n+OK\r\n+OK\r\n", 65536) = 15
              write(23, "*3\r\n$7\r\npublish\r\n$37\r\nio.system."..., 172) = 172
              write(23, "*3\r\n$7\r\npublish\r\n$41\r\nio.system."..., 174) = 174
              write(23, "*3\r\n$7\r\npublish\r\n$42\r\nio.system."..., 176) = 176
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}, {EPOLLIN, {u32=17, u64=17}}], 1024,                                                   0) = 2
              read(23, ":0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n:0\r\n", 65536) = 32
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 0) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              write(23, "*2\r\n$3\r\nget\r\n$34\r\nio.system.adap"..., 54) = 54
              write(23, "*2\r\n$3\r\nget\r\n$38\r\nio.system.adap"..., 58) = 58
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n$103\r\n{\"val\":0.2,\"ack\":true,"..., 65536) = 115
              write(23, "*3\r\n$3\r\nset\r\n$34\r\nio.system.adap"..., 165) = 165
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "$104\r\n{\"val\":1.85,\"ack\":true,\"ts"..., 65536) = 112
              write(23, "*3\r\n$3\r\nset\r\n$38\r\nio.system.adap"..., 170) = 170
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$34\r\nio.system."..., 169) = 169
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, "+OK\r\n", 65536)              = 5
              write(23, "*3\r\n$7\r\npublish\r\n$38\r\nio.system."..., 174) = 174
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 0) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 90) = 1
              read(23, ":0\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 47)            = 0
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              epoll_ctl(14, EPOLL_CTL_DEL, 27, 0x7ffe9b264604) = 0
              futex(0x52740a8, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              mprotect(0x7043000, 245760, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
              mprotect(0x7043000, 245760, PROT_READ|PROT_EXEC) = 0
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 0) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 192) = 192
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 193) = 193
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 234) = 234
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 235) = 235
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 226) = 226
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 227) = 227
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 234) = 234
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 235) = 235
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 199) = 199
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 200) = 200
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 183) = 183
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 184) = 184
              write(23, "*3\r\n$7\r\npublish\r\n$26\r\nlog.system"..., 191) = 191
              write(23, "*3\r\n$7\r\npublish\r\n$27\r\nlog.system"..., 192) = 192
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}, {EPOLLIN, {u32=23, u64=23}}], 1024,                                                   0) = 2
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              futex(0x52740ac, FUTEX_WAKE_PRIVATE, 1) = 1
              futex(0x5274040, FUTEX_WAKE_PRIVATE, 1) = 1
              read(23, ":1\r\n:1\r\n:1\r\n:1\r\n:1\r\n:1\r\n:1\r\n:1\r\n"..., 65536) = 52
              epoll_wait(14, [{EPOLLIN, {u32=17, u64=17}}], 1024, 0) = 1
              read(17, "\1\0\0\0\0\0\0\0", 1024)      = 8
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [{EPOLLIN, {u32=23, u64=23}}], 1024, 642) = 1
              read(23, ":1\r\n", 65536)               = 4
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 599)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 999)           = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, [], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              epoll_wait(14, ^C[], 1024, 1000)          = 0
              epoll_wait(14, [], 1024, 0)             = 0
              
              

              Im gegensatz zu socat:

              stat("/dev/ttyUSB0", {st_mode=S_IFCHR|0777, st_rdev=makedev(0xbc, 0), ...}) = 0
              openat(AT_FDCWD, "/dev/ttyUSB0", O_RDWR|O_APPEND) = 5
              
              
              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @petlaw last edited by

                @petlaw sagte in Smartmeter Elster AS1440:

                Im gegensatz zu socat:

                dann hat socat die noch nicht freigegeben

                oder die Konfiguration im Adapter passt nicht

                P 1 Reply Last reply Reply Quote 0
                • P
                  petlaw @Homoran last edited by

                  @homoran said in Smartmeter Elster AS1440:

                  @petlaw sagte in Smartmeter Elster AS1440:

                  Im gegensatz zu socat:

                  dann hat socat die noch nicht freigegeben

                  oder die Konfiguration im Adapter passt nicht

                  Der Adapter versucht es ja noch nicht einmal.

                  Es gibt keinen system call open auf irgendwas unterhalb von /dev, weder ttyUSB0 noch den unter /dev/serial/by-id

                  Wenn da was schief wäre müsste er ja wenigstens einen Versuch (mit einem falschen Device namen oä) machen, oder ?

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @petlaw last edited by

                    @petlaw sagte in Smartmeter Elster AS1440:

                    Der Adapter versucht es ja noch nicht einmal.

                    doch

                    @petlaw sagte in Smartmeter Elster AS1440:

                    2023-05-11 11:30:38.783 - debug: smartmeter.0 (8047) CREATE SERIALPORT: 300 7 1 even

                    nur möglicherweise den falschen

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      petlaw @Homoran last edited by

                      @homoran said in Smartmeter Elster AS1440:

                      @petlaw sagte in Smartmeter Elster AS1440:

                      Der Adapter versucht es ja noch nicht einmal.

                      doch

                      leider nicht.

                      
                      peter@SMARTY:/dev$ sudo ps -ewwf | grep smart
                      [sudo] password for peter:
                      iobroker    1083     730  0 13:36 ?        00:00:01 io.smartmeter.0
                      peter       1258     886  0 13:43 pts/0    00:00:00 grep smart
                      
                      peter@SMARTY:/dev$ sudo strace -o strace_smart.trc -p 1083
                      strace: Process 1083 attached
                      ^Cstrace: Process 1083 detached
                      
                      peter@SMARTY:/dev$ grep open strace_smart.trc
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 28
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 28
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 29
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 29
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 28
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 28
                      openat(AT_FDCWD, "/proc/self/stat", O_RDONLY) = 29
                      
                      

                      @petlaw sagte in Smartmeter Elster AS1440:

                      2023-05-11 11:30:38.783 - debug: smartmeter.0 (8047) CREATE SERIALPORT: 300 7 1 even

                      nur möglicherweise den falschen

                      Zu keinem Zeitpunkt wird ein system call "open" geloggt auf irgendein Device unterhalb von /dev. Auch nicht auf ein falsches.

                      1 Reply Last reply Reply Quote 0
                      • P
                        petlaw last edited by petlaw

                        Also die Lösung war (rückblickend betrachtet) so einfach wie einleuchtend: Der Adapter muss auf bidirektionale Kommunikation gestellt werden, ansonsten schickt er dem Smartmeter nicht die Loginsequenz.

                        Die Standardeinstellung "nur lesen" taugt vermutlich nur für Smartmeter, die die Werte permanent von selbst über die Schnittstelle ausgeben.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @petlaw last edited by Homoran

                          @petlaw sagte in Smartmeter Elster AS1440:

                          Die Standardeinstellung taugt vermutlich nur für Smartmeter, die die Werte permanent von selbst über die Schnittstelle ausgeben.

                          korrekt!
                          dafür gibt es die Einstellungen.

                          hätte man aber sehen können/ müssen.
                          readonly und Wakeup - signon - data passt nicht zusammen.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          460
                          Online

                          32.0k
                          Users

                          80.3k
                          Topics

                          1.3m
                          Posts

                          4
                          24
                          672
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo