Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. m4rgott

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 18
    • Best 0
    • Groups 1

    m4rgott

    @m4rgott

    0
    Reputation
    4
    Profile views
    18
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    m4rgott Follow
    Starter

    Latest posts made by m4rgott

    • RE: Raspberry Pi4 friert ein

      @ro75
      Das Original Netzteil vom Raspberry.

      posted in ioBroker Allgemein
      M
      m4rgott
    • RE: Raspberry Pi4 friert ein

      Hi @Ro75 und @haus-automatisierung ,

      vielen Dank für die schnelle Antwort.

      Wie der Kollege auch schon geschrieben hatte, hängt sich auch bei mir der Raspi 4b (4 GB) inzwischen jeden tag auf. In den Logs vom iob kann ich nicht nachvollziehen woran es liegt und in den Logs vom Raspi kenne ich mich nicht gut genug aus um da etwas nachvollziehen zu können.

      Das Problem hatte ich dann auch schonmal in der FB Gruppe "IoBroker SmartHome und IoT" geschildert. Hier kam dann schnell der Hinweis, dass sich häufig die SD Karten verabschieden, weshalb ich ein Backup auf eine Neue SD gezogen habe. Leider hat das nicht geholfen. Nächster Tipp war, dass ich auf eine SSD umsteigen soll. Das ist aber eine Vollkatastrophe. Trotz rpi-eeprom-update bekomm ich das nicht zum laufen und bekomme die Fehlermeldung "Unsupported block sice 4096".

      Ich bin jetzt komplett verunsichert. Kann ich den Raspi weiter mit SD betreiben und der Fehler liegt irgendwo anders? Reicht es wenn ich es irgendewie schaffe das auf SSD zum Laufen zu bekommen?
      Oder muss ich kurzfristig alles auf einem Mini PC neu aufsetzen?

      Hier die komplette Ausgabe vom iob diag:

      ======== Start marking the full check here =========
      
      --
      Skript v.2024-05-22
      
      *** BASE SYSTEM ***
         Static hostname: raspberrypi
               Icon name: computer
        Operating System: Raspbian GNU/Linux 11 (bullseye)
                  Kernel: Linux 6.1.21-v8+
            Architecture: arm64
      
      Model           : Raspberry Pi 4 Model B Rev 1.2
      Docker          : false
      Virtualization  : none
      Kernel          : aarch64
      Userland        : 32 bit
      
      Systemuptime and Load:
       11:27:11 up 41 min,  2 users,  load average: 1.30, 1.23, 1.19
      CPU threads: 4
      
      
      *** RASPBERRY THROTTLING ***
      Current issues:
      No throttling issues detected.
      
      Previously detected issues:
      ~ Under-voltage has occurred
      
      *** Time and Time Zones ***
                     Local time: Mon 2024-06-10 11:27:12 CEST
                 Universal time: Mon 2024-06-10 09:27:12 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CEST, +0200)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      iobroker
      HOME=/home/iobroker
      GROUPS=iobroker tty dialout sudo audio video bluetooth gpio i2c
      
      User that is running 'js-controller':
      iobroker
      HOME=/home/iobroker
      GROUPS=iobroker tty dialout sudo audio video bluetooth gpio i2c
      
      *** Display-Server-Setup ***
      Display-Server: false
      Desktop:
      Terminal:       tty
      Boot Target:    multi-user.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            3.8G        1.5G        1.5G        0.0K        806M        2.3G
      Swap:           1.0G          0B        1.0G
      Total:          4.8G        1.5G        2.5G
      
      Active iob-Instances:   26
      
               3794 M total memory
               1515 M used memory
               1632 M active memory
                518 M inactive memory
               1471 M free memory
                127 M buffer memory
                678 M swap cache
               1023 M total swap
                  0 M used swap
               1023 M free swap
      
      *** top - Table Of Processes  ***
      top - 11:27:12 up 41 min,  2 users,  load average: 1.30, 1.23, 1.19
      Tasks: 190 total,   2 running, 188 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 12.9 us,  8.6 sy,  0.0 ni, 78.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :   3794.3 total,   1471.9 free,   1515.8 used,    806.7 buff/cache
      MiB Swap:   1024.0 total,   1024.0 free,      0.0 used.   2292.5 avail Mem
      
      *** FAILED SERVICES ***
      
        UNIT LOAD ACTIVE SUB DESCRIPTION
      0 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem                       Type      Size  Used Avail Use% Mounted on
      /dev/root                        ext4      117G   19G   94G  17% /
      devtmpfs                         devtmpfs  1.7G     0  1.7G   0% /dev
      tmpfs                            tmpfs     1.9G     0  1.9G   0% /dev/shm
      tmpfs                            tmpfs     759M  884K  759M   1% /run
      tmpfs                            tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      /dev/mmcblk0p1                   vfat      253M   51M  202M  20% /boot
      //192.168.188.1/FRITZ.NAS/Intern cifs      1.9T  137G  1.7T   8% /home/iobroker/nas
      tmpfs                            tmpfs     380M     0  380M   0% /run/user/1000
      tmpfs                            tmpfs     380M     0  380M   0% /run/user/1001
      
      Messages concerning ext4 filesystem in dmesg:
      [sudo] password for iobroker:
      [Mon Jun 10 10:45:22 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:11:73:1C vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=79014aeb-02 rootfstype=ext4 fsck.repair=yes rootwait
      [Mon Jun 10 10:45:23 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
      [Mon Jun 10 10:45:23 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
      [Mon Jun 10 10:45:26 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
      
      Show mounted filesystems:
      TARGET                       SOURCE                           FSTYPE     OPTIONS
      /                            /dev/mmcblk0p2                   ext4       rw,noatime
      |-/dev                       devtmpfs                         devtmpfs   rw,relatime,size=1678472k,nr_inodes=419618,mode=755
      | |-/dev/shm                 tmpfs                            tmpfs      rw,nosuid,nodev
      | |-/dev/pts                 devpts                           devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
      | `-/dev/mqueue              mqueue                           mqueue     rw,nosuid,nodev,noexec,relatime
      |-/proc                      proc                             proc       rw,relatime
      | `-/proc/sys/fs/binfmt_misc systemd-1                        autofs     rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct
      |-/sys                       sysfs                            sysfs      rw,nosuid,nodev,noexec,relatime
      | |-/sys/kernel/security     securityfs                       securityfs rw,nosuid,nodev,noexec,relatime
      | |-/sys/fs/cgroup           cgroup2                          cgroup2    rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
      | |-/sys/fs/pstore           pstore                           pstore     rw,nosuid,nodev,noexec,relatime
      | |-/sys/fs/bpf              bpf                              bpf        rw,nosuid,nodev,noexec,relatime,mode=700
      | |-/sys/kernel/debug        debugfs                          debugfs    rw,nosuid,nodev,noexec,relatime
      | |-/sys/kernel/tracing      tracefs                          tracefs    rw,nosuid,nodev,noexec,relatime
      | |-/sys/fs/fuse/connections fusectl                          fusectl    rw,nosuid,nodev,noexec,relatime
      | `-/sys/kernel/config       configfs                         configfs   rw,nosuid,nodev,noexec,relatime
      |-/run                       tmpfs                            tmpfs      rw,nosuid,nodev,size=777080k,nr_inodes=819200,mode=755
      | |-/run/lock                tmpfs                            tmpfs      rw,nosuid,nodev,noexec,relatime,size=5120k
      | |-/run/rpc_pipefs          sunrpc                           rpc_pipefs rw,relatime
      | |-/run/user/1001           tmpfs                            tmpfs      rw,nosuid,nodev,relatime,size=388536k,nr_inodes=97134,mode=700,uid=1001,gid=1001
      | `-/run/user/1000           tmpfs                            tmpfs      rw,nosuid,nodev,relatime,size=388536k,nr_inodes=97134,mode=700,uid=1000,gid=1000
      |-/boot                      /dev/mmcblk0p1                   vfat       rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
      `-/home/iobroker/nas         //192.168.188.1/FRITZ.NAS/Intern cifs       rw,nosuid,nodev,noexec,relatime,vers=3.1.1,cache=strict,username=markus,domain=WORKGROUP,uid=1001,noforceuid,gid=1001,noforcegid,addr=192.168.188.1,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=65536,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=5
      
      Files in neuralgic directories:
      
      /var:
      6.3G    /var/
      3.9G    /var/log
      3.5G    /var/log/journal/c2df7990107f4916961d78d0f5d95a53
      3.5G    /var/log/journal
      750M    /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 200.0M in the file system.
      
      /opt/iobroker/backups:
      2.7G    /opt/iobroker/backups/
      11M     /opt/iobroker/backups/influxDB_2024_05_20-14_17_02_backupiobroker
      
      /opt/iobroker/iobroker-data:
      611M    /opt/iobroker/iobroker-data/
      506M    /opt/iobroker/iobroker-data/files
      138M    /opt/iobroker/iobroker-data/files/javascript.admin
      118M    /opt/iobroker/iobroker-data/files/javascript.admin/static
      117M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
      
      The five largest files in iobroker-data are:
      27M     /opt/iobroker/iobroker-data/files/tankerkoenig.admin/build/index.js.map
      24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
      24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map
      24M     /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map
      23M     /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.245b61c0.js.map
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
      
      No Devices found 'by-id'
      
      
      
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v18.20.3
      /usr/bin/node           v18.20.3
      /usr/bin/npm            10.7.0
      /usr/bin/npx            10.7.0
      /usr/bin/corepack       0.28.0
      
      
      nodejs:
        Installed: 18.20.3-1nodesource1
        Candidate: 18.20.3-1nodesource1
        Version table:
       *** 18.20.3-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
              100 /var/lib/dpkg/status
           18.20.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.20.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.20.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.19.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.19.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Core adapters versions
      js-controller:  5.0.19
      admin:          6.13.16
      javascript:     8.3.1
      
      nodejs modules from github:     0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
        system.adapter.alias-manager.0          : alias-manager         : raspberrypi                              - disabled
      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
        system.adapter.cloud.0                  : cloud                 : raspberrypi                              - disabled
      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
        system.adapter.echarts.0                : echarts               : raspberrypi                              - disabled
      + system.adapter.energiefluss-erweitert.0 : energiefluss-erweitert: raspberrypi                              -  enabled
      + system.adapter.followthesun.0           : followthesun          : raspberrypi                              -  enabled
        system.adapter.fritzdect.0              : fritzdect             : raspberrypi                              - disabled
        system.adapter.heos.0                   : heos                  : raspberrypi                              - disabled
      + system.adapter.history.0                : history               : raspberrypi                              -  enabled
      + system.adapter.hmip.0                   : hmip                  : raspberrypi                              -  enabled
      + system.adapter.homeconnect.0            : homeconnect           : raspberrypi                              -  enabled
      + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: 8086
        system.adapter.iqontrol.0               : iqontrol              : raspberrypi                              - disabled
        system.adapter.jarvis.0                 : jarvis                : raspberrypi                              - disabled
      + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
      + system.adapter.knx.0                    : knx                   : raspberrypi                              -  enabled, bind: 192.168.188.52
      + system.adapter.mihome-vacuum.0          : mihome-vacuum         : raspberrypi                              -  enabled, port: 54321
      + system.adapter.modbus.0                 : modbus                : raspberrypi                              -  enabled
        system.adapter.net-tools.0              : net-tools             : raspberrypi                              - disabled
        system.adapter.openweathermap.0         : openweathermap        : raspberrypi                              -  enabled
        system.adapter.ping.0                   : ping                  : raspberrypi                              - disabled
      + system.adapter.ring.0                   : ring                  : raspberrypi                              -  enabled
      + system.adapter.shuttercontrol.0         : shuttercontrol        : raspberrypi                              -  enabled
      + system.adapter.smartmeter.0             : smartmeter            : raspberrypi                              -  enabled
      + system.adapter.smartmeter.1             : smartmeter            : raspberrypi                              -  enabled
      + system.adapter.sourceanalytix.0         : sourceanalytix        : raspberrypi                              -  enabled
      + system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              -  enabled
      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.telegram.1               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
        system.adapter.text2command.0           : text2command          : raspberrypi                              - disabled
      + system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
      + system.adapter.viessmannapi.0           : viessmannapi          : raspberrypi                              -  enabled
        system.adapter.vis.0                    : vis                   : raspberrypi                              - disabled
      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.influxdb.0               : influxdb              : raspberrypi                              -  enabled, port: 8086
      + system.adapter.mihome-vacuum.0          : mihome-vacuum         : raspberrypi                              -  enabled, port: 54321
      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.telegram.1               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.web.0                    : web                   : raspberrypi                              -  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.13.16  , installed 6.13.16
      Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
      Adapter    "backitup"     : 2.11.0   , installed 2.11.0
      Adapter    "cloud"        : 5.0.1    , installed 5.0.1
      Adapter    "discovery"    : 4.4.0    , installed 4.4.0
      Adapter    "echarts"      : 1.7.2    , installed 1.7.2
      Adapter    "energiefluss-erweitert": 0.4.1, installed 0.4.1
      Adapter    "followthesun" : 0.5.0    , installed 0.5.0
      Adapter    "fritzdect"    : 2.5.9    , installed 2.5.9
      Adapter    "heos"         : 2.2.1    , installed 2.2.1
      Adapter    "history"      : 3.0.1    , installed 3.0.1
      Adapter    "hmip"         : 1.22.0   , installed 1.22.0
      Adapter    "homeconnect"  : 1.4.0    , installed 1.4.0
      Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
      Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
      Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
      Adapter    "javascript"   : 8.3.1    , installed 8.3.1
      Controller "js-controller": 5.0.19   , installed 5.0.19
      Adapter    "knx"          : 2.0.28   , installed 2.0.28
      Adapter    "mihome-vacuum": 4.2.0    , installed 4.2.0
      Adapter    "modbus"       : 6.1.0    , installed 6.1.0
      Adapter    "net-tools"    : 1.0.11   , installed 0.2.0  [Updatable]
      Adapter    "openweathermap": 1.0.4   , installed 1.0.4
      Adapter    "ping"         : 1.6.2    , installed 1.6.2
      Adapter    "ring"         : 5.0.10   , installed 5.0.10
      Adapter    "roborock"     : 0.6.4    , installed 0.6.4
      Adapter    "shuttercontrol": 1.7.0   , installed 1.7.0
      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
      Adapter    "smartmeter"   : 3.4.0    , installed 3.4.0
      Adapter    "socketio"     : 6.7.0    , installed 6.7.0
      Adapter    "tankerkoenig" : 3.4.0    , installed 3.4.0
      Adapter    "telegram"     : 3.3.2    , installed 3.3.2
      Adapter    "text2command" : 3.0.3    , installed 3.0.3
      Adapter    "tr-064"       : 4.3.0    , installed 4.3.0
      Adapter    "viessmannapi" : 2.3.0    , installed 2.3.0
      Adapter    "vis"          : 1.5.4    , installed 1.5.4
      Adapter    "web"          : 6.2.5    , installed 6.2.5
      Adapter    "ws"           : 2.6.1    , installed 2.6.1
      
      Objects and States
      Please stand by - This may take a while
      Objects:        15614
      States:         12683
      
      *** OS-Repositories and Updates ***
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:3 https://repos.influxdata.com/debian stable InRelease
      Hit:4 https://apt.grafana.com stable InRelease
      Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
      Reading package lists...
      Pending Updates: 0
      
      *** 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 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       18554      1508/iobroker.js-co
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       19837      1508/iobroker.js-co
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          11886      523/sshd: /usr/sbin
      tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      0          19663      1484/master
      tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        15217      787/influxd
      tcp6       0      0 :::22                   :::*                    LISTEN      0          11888      523/sshd: /usr/sbin
      tcp6       0      0 :::25                   :::*                    LISTEN      0          19664      1484/master
      tcp6       0      0 :::3000                 :::*                    LISTEN      109        16608      1507/grafana
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       18249      1542/io.admin.0
      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       23891      2211/io.web.0
      tcp6       0      0 :::8086                 :::*                    LISTEN      999        18531      787/influxd
      udp        0      0 192.168.188.52:5353     0.0.0.0:*                           1001       20981      2054/io.tr-064.0
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14030      411/avahi-daemon: r
      udp        0      0 192.168.188.52:50964    0.0.0.0:*                           1001       22722      1792/io.knx.0
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14971      775/dhcpcd
      udp        0      0 0.0.0.0:53421           0.0.0.0:*                           1001       19078      1804/io.mihome-vacu
      udp        0      0 0.0.0.0:41968           0.0.0.0:*                           108        14032      411/avahi-daemon: r
      udp6       0      0 :::5353                 :::*                                108        14031      411/avahi-daemon: r
      udp6       0      0 :::546                  :::*                                0          14982      775/dhcpcd
      udp6       0      0 :::50062                :::*                                108        14033      411/avahi-daemon: r
      
      *** Log File - Last 25 Lines ***
      
      2024-06-10 10:48:09.368  - info: ring.0 (2234) Daily sun parameter calculation scheduled for 00:00:31
      2024-06-10 10:48:13.648  - info: sourceanalytix.0 (2148) Initialization of modbus.0.inputRegisters.30513_Sum_Einspeisung_ges successfully
      2024-06-10 10:48:13.650  - info: sourceanalytix.0 (2148) Initialising (2 of 5) "smartmeter.0.1-0:1_8_0__255.value"
      2024-06-10 10:48:20.519  - info: openweathermap.0 (1831) Terminated (NO_ERROR): Without reason
      2024-06-10 10:48:21.256  - info: host.raspberrypi instance system.adapter.openweathermap.0 terminated with code 0 (NO_ERROR)
      2024-06-10 10:48:22.558  - info: sourceanalytix.0 (2148) Initialization of smartmeter.0.1-0:1_8_0__255.value successfully
      2024-06-10 10:48:22.560  - info: sourceanalytix.0 (2148) Initialising (3 of 5) "smartmeter.0.1-0:2_8_0__255.value"
      2024-06-10 10:48:25.282  - info: tankerkoenig.0 (2169) Start first request
      2024-06-10 10:48:28.475  - info: sourceanalytix.0 (2148) Initialization of smartmeter.0.1-0:2_8_0__255.value successfully
      2024-06-10 10:48:28.483  - info: sourceanalytix.0 (2148) Initialising (4 of 5) "smartmeter.1.1-0:1_8_0__255.value"
      2024-06-10 10:48:32.951  - info: sourceanalytix.0 (2148) Initialization of smartmeter.1.1-0:1_8_0__255.value successfully
      2024-06-10 10:48:32.951  - info: sourceanalytix.0 (2148) Initialising (5 of 5) "smartmeter.1.1-0:2_8_0__255.value"
      2024-06-10 10:48:36.802  - info: sourceanalytix.0 (2148) Initialization of smartmeter.1.1-0:2_8_0__255.value successfully
      2024-06-10 10:48:36.817  - info: sourceanalytix.0 (2148) Successfully activated SourceAnalytix for 5 of 5 states, will do my Job until you stop me!
      2024-06-10 10:48:54.805  - info: alexa2.0 (1697) Unknown Device, but enabling commands, Try it and report back if commands work.
      2024-06-10 10:48:54.806  - info: alexa2.0 (1697) Report to developer as GitHub issue with details for device. Please grab full next line pot. from logfile on disk if cutted
      2024-06-10 10:48:54.808  - info: alexa2.0 (1697)     Device-type:A3TMFGFCIJD290 - Miriam's JBL LIVE660NC (JBL LIVE660NC) (TUNE_IN,SLEEP,TIMERS_AND_ALARMS,AUDIBLE,VOLUME_SETTING,TIDAL,HANDS_FREE,DEREGISTER_DEVICE,SUPPORTS_CONNECTED_HOME_CLOUD_ONLY,PERSISTENT_CONNECTION,ADAPTIVE_LISTENING,MICROPHONE,CHANGE_NAME,SIRIUSXM,I_HEART_RADIO,APPLE_MUSIC,KINDLE_BOOKS,AMAZON_MUSIC,MUSIC_SKILL,DREAM_TRAINING,GOLDFISH,DEEZER,AUDIO_PLAYER)
      2024-06-10 10:49:23.128  - info: alexa2.0 (1697) Using cached smart home devices list from Mon Jun 10 2024 10:40:44 GMT+0200 (Mitteleuropäische Sommerzeit)
      2024-06-10 10:49:32.719  - info: alexa2.0 (1697) No smart home devices to query
      2024-06-10 10:49:39.341  - info: alexa2.0 (1697) Subscribing to states...
      2024-06-10 10:49:39.351  - info: alexa2.0 (1697) Deleting the following states: ["Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe","Smart-Home-Devices.3583ea70-fd69-4048-9edd-fac94de2e7b2.door-toggleState","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.#delete","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.#enabled","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.#includeInAllQuery","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.#query","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.Black Cartridge HP CF400X-level","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.Cyan Cartridge HP CF401X-level","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.Magenta Cartridge HP CF403X-level","Smart-Home-Devices.82ba897f-a7a6-46fc-9e7c-992e859ccdfe.Yellow Cartridge HP CF402X-level"]
      2024-06-10 10:49:41.413  - info: alexa2.0 (1697) Alexa-Push-Connection (macDms = true) established. Disable Polling
      2024-06-10 10:50:08.922  - info: alexa2.0 (1697) Initialization Done ...
      2024-06-10 11:28:01.348  - info: host.raspberrypi instance system.adapter.openweathermap.0 started with pid 3908
      2024-06-10 11:28:05.883  - info: openweathermap.0 (3908) starting. Version 1.0.4 in /opt/iobroker/node_modules/iobroker.openweathermap, node: v18.20.3, js-controller: 5.0.19
      
      --
      
      ============ Mark until here for C&P =============
      
      iob diag has finished.
      

      Über alle Tipps bin ich sehr dankbar, da ich den iob inzwischen nicht nur zu Komfortzwecken, sondern auch sicherheitsrelevant im Einsatz habe.

      Herzlichen Gruß
      m4rgott

      posted in ioBroker Allgemein
      M
      m4rgott
    • RE: Raspberry Pi4 friert ein

      Hallo zusammen,

      ich habe seit ein paar Wochen das selbe Problem.
      Auf meine Frage dazu in der Facebook-Gruppe hat man mir empfohlen von der SD auf SSD umzustellen weil wahrscheinlich die SD defekt wäre.
      Dass der Raspi nicht von SSD booten will (Unsupported block sice 4096) ist wohl ein anderes Thema.

      Die offene Frage von @jwerlsdf ob das Problem mit Vergrößerung des swap nur aufgeschoben ist stellt sich mir auch.

      Gibt es dazu eine Lösung?

      posted in ioBroker Allgemein
      M
      m4rgott
    • Homatic IP Keypad

      Hallo zusammen,

      Ich bräuchte einmal Eure Hilfe beim HMIP Keypad.
      Das Pad ist eingerichtet, Benutzer, Code und Aktion zugewiesen.
      Also kann ich damit nach Eingabe des Codes die Garage öffnen.

      Den HMIP Adapter habe ich auch installiert und kann damit z.B. schon die Garagen steuern.

      Nun möchte ich ein Blockly erstellen, das dann eine Ring-Kamera für 1 Minute aktiviert und danach die Garage automatisch wieder runterfährt.
      Ziel ist, dass der Paketbote den Code eingibt, das Paket ablegt und danach das Tor auch wieder automatisch zu geht.

      Mein Problem ist nun, dass ich nicht finde welche Objekt im Iobroker reagiert, sobald der Code eingegeben wird.

      Danke vorab für Eure Tipps.

      posted in Blockly
      M
      m4rgott
    • RE: Test ViessmannAPI v2.0.0

      Hi @bastler52

      die obenstehenden Blocklys sind genau so bei mir im Einsatz. Deshalb weiß ich nicht welche Lösung Du suchst.

      Ich habe nur die Anlagennummer durch "xxx" ersetzt.

      Wie oben beschrieben habe ich für den neuen Zeitplan den bestehenden Wert aus dem Datenpunkt viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.properties.entries.value geholt und den nach meinen Vorstellungen angepasst.

      Ich hoffe das hilft Dir weiter.

      posted in Tester
      M
      m4rgott
    • RE: Test ViessmannAPI v2.0.0

      @ronniboy
      Hi,

      ich habe mich mit trial and error rangegeben.

      Wenn Du Dich ja schon seit 6 Monaten mit dem Adapter beschäftigst, findest Du Dich ja sicher bei der Menge an Datenpunkten schon besser zurecht als ich.

      Bei mir habe ich jetzt 2 Dinge "eingebaut".

      1. Wenn die PV-Anlage mehr als 1,5 kW (erster Testwert) Überschuss hat wird die Solltemperatur vom Brauchwasser von 50 auf 55 erhöht.

      4fd2879b-0c0a-4888-bff0-857b231d72cf-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</variable>
        </variables>
        <block type="comment" id="Z*Yc0h-K=sxJ1l5LAmp|" x="213" y="-63">
          <field name="COMMENT">Prüfung und Anpassung</field>
          <next>
            <block type="schedule" id="%7%jU|8(d~tTq`yV7f8C">
              <field name="SCHEDULE">*/5 * * * *</field>
              <statement name="STATEMENT">
                <block type="controls_if" id="LPs,_CHiri[M]4E,Dsm3">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_compare" id="L$ZN8QYJtzUxmxv`MLMp">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="get_value" id="!{OX~MRns0?.=Kj}w0{^">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.Energie.Zwischenzaehler_Durchschnitt_5Min</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="variables_get" id="8*5PJ9nvUi+rJFr)8Kq?">
                          <field name="VAR" id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="D8I#Fdqrd/]@oe0=a8Yd">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.commands.setTargetTemperature.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="Dny{rz~_UmX``x5PB,sr">
                          <field name="NUM">55</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="control" id="c0={noL%jo3gdM3I.?h*">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.commands.setTargetTemperature.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="P6JRV:6/J$dR|K=p)wnf">
                          <field name="NUM">50</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
        <block type="variables_set" id="6:48TXub#XfY=XM;vTb~" x="313" y="-37">
          <field name="VAR" id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</field>
          <value name="VALUE">
            <block type="math_number" id="AD%gIlUA{{g_hO|c?f~i">
              <field name="NUM">-1500</field>
            </block>
          </value>
        </block>
        <block type="comment" id="N.Lev/.WZsjuGf;=g~5L" x="213" y="212">
          <field name="COMMENT">debung und Telegram bei Änderung</field>
          <next>
            <block type="on" id="bwZ;dSkz99*[vV:NaK?]">
              <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.properties.value.value</field>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
                <block type="debug" id=",Qb}*i9TtUjMOiU|)ZaI">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text" id="f_0b[Y)+yTiCdKy3Z?s~">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="text_join" id="0jHsnZ,OVL6)h$*48ld8">
                      <mutation items="6"></mutation>
                      <value name="ADD0">
                        <block type="text" id="o=Jg2a7+k)XHd?c7e0q0">
                          <field name="TEXT">PV-Überschuss =</field>
                        </block>
                      </value>
                      <value name="ADD1">
                        <block type="math_arithmetic" id="1Ej;XL61*|mX2LoJ##0s">
                          <field name="OP">MULTIPLY</field>
                          <value name="A">
                            <shadow type="math_number" id=",J;UN`hq{;Cr5OcSL*|-">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="get_value" id="!Ix|JcmE8E^hW71Kc6T=">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Energie.Zwischenzaehler_Durchschnitt_5Min</field>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="{HiC*5qx;=5Y}9-@n[ts">
                              <field name="NUM">-1</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <value name="ADD2">
                        <block type="text" id="exRvdoWnJI?J3,Jc$8hI">
                          <field name="TEXT">. Wassertemperatur geändert auf: </field>
                        </block>
                      </value>
                      <value name="ADD3">
                        <block type="get_value_var" id="]Z^d)y5~RU5GW#S0[t[N">
                          <field name="ATTR">val</field>
                          <value name="OID">
                            <shadow type="field_oid" id="i,tsb_mOhc;YxKP:p$4F">
                              <field name="oid">Object ID</field>
                            </shadow>
                            <block type="on_source" id="P]RHOe_Km2r._4mF6T~c">
                              <field name="ATTR">id</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </next>
        </block>
      </xml>
      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</variable>
        </variables>
        <block type="comment" id="Z*Yc0h-K=sxJ1l5LAmp|" x="213" y="-63">
          <field name="COMMENT">Prüfung und Anpassung</field>
          <next>
            <block type="schedule" id="%7%jU|8(d~tTq`yV7f8C">
              <field name="SCHEDULE">*/5 * * * *</field>
              <statement name="STATEMENT">
                <block type="controls_if" id="LPs,_CHiri[M]4E,Dsm3">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_compare" id="L$ZN8QYJtzUxmxv`MLMp">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="get_value" id="!{OX~MRns0?.=Kj}w0{^">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.Energie.Zwischenzaehler_Durchschnitt_5Min</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="variables_get" id="8*5PJ9nvUi+rJFr)8Kq?">
                          <field name="VAR" id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="D8I#Fdqrd/]@oe0=a8Yd">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.commands.setTargetTemperature.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="Dny{rz~_UmX``x5PB,sr">
                          <field name="NUM">55</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="control" id="c0={noL%jo3gdM3I.?h*">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.commands.setTargetTemperature.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="P6JRV:6/J$dR|K=p)wnf">
                          <field name="NUM">50</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
        <block type="variables_set" id="6:48TXub#XfY=XM;vTb~" x="313" y="-37">
          <field name="VAR" id="@^uFj]vII6w4tzOxrOUD">Schwellenwert</field>
          <value name="VALUE">
            <block type="math_number" id="AD%gIlUA{{g_hO|c?f~i">
              <field name="NUM">-1500</field>
            </block>
          </value>
        </block>
        <block type="comment" id="N.Lev/.WZsjuGf;=g~5L" x="213" y="212">
          <field name="COMMENT">debung und Telegram bei Änderung</field>
          <next>
            <block type="on" id="bwZ;dSkz99*[vV:NaK?]">
              <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.temperature.main.properties.value.value</field>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
                <block type="debug" id=",Qb}*i9TtUjMOiU|)ZaI">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text" id="f_0b[Y)+yTiCdKy3Z?s~">
                      <field name="TEXT">test</field>
                    </shadow>
                    <block type="text_join" id="0jHsnZ,OVL6)h$*48ld8">
                      <mutation items="6"></mutation>
                      <value name="ADD0">
                        <block type="text" id="o=Jg2a7+k)XHd?c7e0q0">
                          <field name="TEXT">PV-Überschuss =</field>
                        </block>
                      </value>
                      <value name="ADD1">
                        <block type="math_arithmetic" id="1Ej;XL61*|mX2LoJ##0s">
                          <field name="OP">MULTIPLY</field>
                          <value name="A">
                            <shadow type="math_number" id=",J;UN`hq{;Cr5OcSL*|-">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="get_value" id="!Ix|JcmE8E^hW71Kc6T=">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Energie.Zwischenzaehler_Durchschnitt_5Min</field>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="{HiC*5qx;=5Y}9-@n[ts">
                              <field name="NUM">-1</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <value name="ADD2">
                        <block type="text" id="exRvdoWnJI?J3,Jc$8hI">
                          <field name="TEXT">. Wassertemperatur geändert auf: </field>
                        </block>
                      </value>
                      <value name="ADD3">
                        <block type="get_value_var" id="]Z^d)y5~RU5GW#S0[t[N">
                          <field name="ATTR">val</field>
                          <value name="OID">
                            <shadow type="field_oid" id="i,tsb_mOhc;YxKP:p$4F">
                              <field name="oid">Object ID</field>
                            </shadow>
                            <block type="on_source" id="P]RHOe_Km2r._4mF6T~c">
                              <field name="ATTR">id</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </next>
        </block>
      </xml>
      
      

      2.: Zirkulationspumpe für das Warmwasser soll tagsüber, wenn jemand zu Hause ist, laufen. Wenn niemand zu Hause ist, soll die Pumpe zumindest 1 h pro Tag laufen, damit das Wasser nicht in der Leitung steht.
      Da man die Zirkulationspumpe nicht direkt mit "an" oder "aus" ansteuern kann muss man hierfür den Zeitplan anpassen.
      Die Vorlage für den Zeitplan habe ich mir aus viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.properties.entries.value geholt

      c13dd3dc-e952-4726-83d5-2209bf696304-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="Ew~n++NGs7J:Ar#*Uqbr" x="463" y="188">
          <field name="OID">0_userdata.0.JemandZuHause</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="yPYg)lUZJYm0;W=3KFRz">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="6:2aE-_cRkp|wIbHx)VK">
                  <field name="OP">GTE</field>
                  <value name="A">
                    <block type="on_source" id="zXsr1Gk{1GzZnI)[keau">
                      <field name="ATTR">state.val</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="on_source" id="S^sj=Iwb{i;*sC=Y2sCu">
                      <field name="ATTR">oldState.val</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="T^{diz_%%+!Y)#_R{EDZ">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="convert_json2object" id="wfN}ISOWBPN^TaMyS9hN">
                      <value name="VALUE">
                        <block type="text" id="8X)GpX6lxkx;GB4|Wrga">
                          <field name="TEXT">{"mon":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"tue":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"wed":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"thu":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"fri":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"sat":[{"start":"06:00","end":"22:00","mode":"on","position":0}],"sun":[{"start":"06:00","end":"22:00","mode":"on","position":0}]}</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="control" id="WE|Z9`d5uS{e{bS+[ldG">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="convert_json2object" id="3E^n5/xSCW74KBuZINbV">
                      <value name="VALUE">
                        <block type="text" id="e+TKy0Y6,3~2$=`4pCws">
                          <field name="TEXT">{"mon":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"tue":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"wed":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"thu":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"fri":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"sat":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"sun":[{"start":"14:00","end":"15:00","mode":"on","position":0}]}</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      

      Für die anpassbaren Werte gibt es bei den Datenpunkten je einen zur Eingabe der neuen Daten. Bei dem Zeitplan ist es bei mir z.B. viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue

      Die Blockly-Pros hätten das sicher galanter gemacht. Als Anfänger gebe ich mich gerade damit zufrieden was funktioniert 😉

      Ich hoffe, das hilft Dir weiter.

      posted in Tester
      M
      m4rgott
    • RE: Test ViessmannAPI v2.0.0

      Ich habe die Lösung schon gefunden.
      Ein Konvertierungsblock "JSON nach Objekt" vor den zu schreibenden Wert hat geholfen.

      posted in Tester
      M
      m4rgott
    • RE: Test ViessmannAPI v2.0.0

      @mading

      Hallo zusammen,

      Gab es hierzu inzwischen eine Lösung?

      Ich versuche gerade ein Blockly zu schreiben, das die Zirkulationspumpe steuert.
      Bei Anwesenheit "an", bei Abwesenheit "aus"

      Die Anwesenheit hole ich mir über ein Script, dass auch anderweitig schon funktioniert.

      Blockly sieht wie folgt aus:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="Ew~n++NGs7J:Ar#*Uqbr" x="463" y="188">
          <field name="OID">0_userdata.0.JemandZuHause</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="yPYg)lUZJYm0;W=3KFRz">
              <mutation else="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="6:2aE-_cRkp|wIbHx)VK">
                  <field name="OP">GTE</field>
                  <value name="A">
                    <block type="on_source" id="zXsr1Gk{1GzZnI)[keau">
                      <field name="ATTR">id</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="on_source" id="S^sj=Iwb{i;*sC=Y2sCu">
                      <field name="ATTR">oldState.val</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="debug" id="{uPj$*.M*$xKd%,gfu%7">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text" id="LCkx7hMwuj0FZi{.YkK1">
                      <field name="TEXT">Schreibe: Warmwasserzirkulation Anwesenheit</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="control" id="T^{diz_%%+!Y)#_R{EDZ">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="8X)GpX6lxkx;GB4|Wrga">
                          <field name="TEXT">{"mon":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"tue":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"wed":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"thu":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"fri":[{"start":"05:20","end":"22:00","mode":"on","position":0}],"sat":[{"start":"06:00","end":"22:00","mode":"on","position":0}],"sun":[{"start":"06:00","end":"22:00","mode":"on","position":0}]}</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
              <statement name="ELSE">
                <block type="debug" id="8LpH6YH)D5CyLU8aT0#u">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                    <shadow type="text" id="4ZjNR|L8nlnai^{Vo2Jw">
                      <field name="TEXT">Schreibe: Warmwasserzirkulation Abwesenheit</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="control" id="WE|Z9`d5uS{e{bS+[ldG">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">viessmannapi.0.xxx.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="e+TKy0Y6,3~2$=`4pCws">
                          <field name="TEXT">{"mon":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"tue":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"wed":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"thu":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"fri":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"sat":[{"start":"14:00","end":"15:00","mode":"on","position":0}],"sun":[{"start":"14:00","end":"15:00","mode":"on","position":0}]}</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      

      Ergebnis ist die Fehlermeldung, die es wohl 2022 auch schon gab:

      Log-Auszug:

      2024-01-04 11:22:27.478 - info: javascript.0 (30162) script.js.Heizung.Warmwasser_Anwesenheit: Schreibe: Warmwasserzirkulation Abwesenheit
      2024-01-04 11:22:27.819 - error: viessmannapi.0 (31598) AxiosError: Request failed with status code 400
      2024-01-04 11:22:27.826 - error: viessmannapi.0 (31598) {"viErrorId":"|00-d0c1e5306c3c4d7097495e37a7e10403-1462f1a0dd4446f8-01.102801629_","statusCode":400,"errorType":"DEVICE_COMMUNICATION_ERROR","message":"","extendedPayload":{"httpStatusCode":"BadRequest","code":"400","reason":"VALIDATION_ERROR","details":"The parameter newSchedule=\"{\\\"mon\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"tue\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"wed\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"thu\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"fri\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"sat\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}],\\\"sun\\\":[{\\\"start\\\":\\\"14:00\\\",\\\"end\\\":\\\"15:00\\\",\\\"mode\\\":\\\"on\\\",\\\"position\\\":0}]}\" does not meet the constraints {\"type\":\"Schedule\",\"modes\":[\"5/25-cycles\",\"5/10-cycles\",\"on\"],\"maxEntries\":8,\"resolution\":10,\"defaultMode\":\"off\",\"overlapAllowed\":true}: The parameter should be an object."}}
      2024-01-04 11:22:27.827 - error: viessmannapi.0 (31598) URL: https://api.viessmann.com/iot/v1/features/installations/xxx/gateways/xxx/devices/0/features/heating.dhw.pumps.circulation.schedule/commands/setSchedule
      2024-01-04 11:22:27.828 - error: viessmannapi.0 (31598) Data: {"newSchedule":"{\"mon\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"tue\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"wed\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"thu\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"fri\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"sat\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}],\"sun\":[{\"start\":\"14:00\",\"end\":\"15:00\",\"mode\":\"on\",\"position\":0}]}"}
      

      Ich bin nun bei meiner Recherche häufiger darüber gestolpert, dass man es bei Postman testen soll. Komme damit aber auch nicht richtig klar.

      Wäre super einen Hinweis von Euch zu bekommen.

      Danke vorab.

      posted in Tester
      M
      m4rgott
    • RE: Viessmann Anlage steuern, je nach PV-Energie

      Hallo @jumbo125,

      hast Du hierfür inzwischen eine Lösung gefunden?

      Ich habe die selbe Zielsetzung. Habe mich gegen das Smartgrind entschieden, da mein Wechselrichter das nicht hergibt.

      Inzwischen habe ich mir das Vitoconnect-Modul besorgt und kann damit auf die Heizungsanlage zugreifen. Als Übersichtlich würde ich die Daten der API allerdings nicht beschreiben.

      Wie bist Du weiter vorgegangen?

      posted in Einsteigerfragen
      M
      m4rgott
    • Ring Doorbell als Bewegungsmelder für Haustürbeleuchtung

      Hallo zusammen,

      ich frage mich welchen Fehler ich mache.

      Wenn eine Bewegung erkannt, oder der Klingelknopf gedrückt wird soll das Script starten und das Licht an der Haustüre anschalten.
      Nach einer Minute soll das Licht dann wieder ausgehen.

      Der Ring-Adapter bietet bei den Events den Datenpunkt "created_at". Der wird aktualisiert, sobald eine Bewegung erkannt, oder die klingel gedrückt wird und gibt den entsprechenden Zeitpunkt an. Diesen habe ich als Trigger für mein Script genutzt.

      Um nicht tagsüber unnötig das Licht einzuschalten habe ich eine Variable "Zeitschaltung" erstellt, die bei Abenddämmerung auf "true" und Morgendämmerung auf "false" schaltet:

      6f157c83-d3df-4a1b-9c2f-824fb55de050-image.png

      Die Lichtsteuerung sieht wie folgt aus, funktioniert aber nicht.

      3ec286da-bde5-4b6b-b87c-9b237c169fa4-image.png

      Habt Ihr einen Tipp für mich was falsch ist?

      Danke vorab für Eure Hilfe.

      posted in Blockly
      M
      m4rgott
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo