Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Schaltverhalten IOT Adapter mit Alexa

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Schaltverhalten IOT Adapter mit Alexa

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Knirpso last edited by Knirpso

      Hallo zusammen

      Ich bin gerade dabei, einige Zigbee Lampen in mein Netzwerk einzubinden.

      Steuerung via Alexa in Verbindung mit dem IOT-Adapter. Lampentyp: TS0505B_1

      im IOT-Adpater ist die Gruppe hinterlegt mit Brightness, Colortemp und Color wobei mir die letzten beiden derzeit nicht wichtig sind.

      So wie ich das verstehe schaltet Alexa bei "Lampen an" oder Lampen aus" nur die Brightness und fasst den State on/off nicht an. das wiederspiegelt sich auch im Log

      Wenn ich nun die Lampen aber einige Zeit nicht schalte, sagen wir mal 12 Stunden, passiert folgenden beim Befehl "Alexa, Licht an": Licht schaltet sich an und geht direkt wieder aus, wenn ich dann erneut sage "Alexa, Licht an" bleibt es angeschaltet.

      Gleiches verhalten beim Schalten mit: "Alexa, Licht auf XX%"

      Als voreinstellung im IOT-Adapter ist der Typ auf LIGHT und 10% bei an. ich habe aber schon diverse Sachen "Bei AN" versucht und hatte immer das gleiche Ergebnis

      Ebenfalls habe ich hier zwei Logs, welche das gewollte und das fehlerhafte Schaltverhalten aufzeichnen. Scheinbar sind diese aber identisch und ich bin mit meinem Latein am Ende.

      ich habe beim IOT-Adpater folgendes gefunden:

      OFF level for switches

      Some groups consist of mixed devices: dimmers and switches. It is allowed to control them with "ON" and "OFF" commands and with percents. If command is Set to 30% and the OFF level is 30% so the switches will be turned on. By command "Set to 25%" all switches will be turned OFF.

      Additionally, if the command is "OFF", so the adapter will remember the current dimmer level if the actual value is over or equal to the "30%". Later when the new "ON" command will come, the adapter will switch the dimmer not to 100% but to the level in memory.

      Example:

      Assume, that OFF level is 30%.
      Virtual device "Light" has two physical devices: switch and dimmer.
      Command: "set the light to 40%". The adapter will remember this value for dimmer, will set it for "dimmer" and will turn the switch ON.
      Command: "turn the light off". The adapter will set the dimmer to 0% and will turn off the switch.
      Command: "turn on the light". dimmer => 40%, switch => ON.
      Command: "set the light to 20%". dimmer => 20%, switch => OFF. The value for dimmer will not be remembered, because it is bellow OFF level.
      Command: "turn on the light". dimmer => 40%, switch => ON.
      

      by ON
      You can select the behavior of ON command will come for the number state. The specific value can be selected, or the last non-zero value will be used.

      Hat es etwas damit zu tun? wenn ja, verstehe ich es nicht wirklich.

      Samson71 1 Reply Last reply Reply Quote 0
      • Samson71
        Samson71 Global Moderator @Knirpso last edited by Samson71

        @knirpso
        Was sind das für txt-Dateien? Die öffnet nicht jeder einfach so und "schön" ist es auch nicht.

        Ggf. den Inhalt direkt in Code-Tags (</>) posten.

        @knirpso sagte in Schaltverhalten IOT Adapter mit Alexa:

        Alle Adapter sind auf dem neusten Stand.

        Sagst Du.

        Jemand einen Vorschlag wie weiter?

        iob diag in Code-Tags wäre ein Anfang

        EDIT
        Ich habe mir das mal in einer sicheren Umgebung angesehen. Die txt-Dateien enthalten scheinbar einen Access-Token, den man rauskopieren kann. Daher habe ich die zu Deiner eigenen Sicherheit entfernt.

        K 1 Reply Last reply Reply Quote 2
        • K
          Knirpso @Samson71 last edited by

          @samson71 Danke für den Hinweis

          Anbei die Diagnose:

          Script v.2024-09-15
          
          *** BASE SYSTEM ***
          Hardware Vendor : Synology Inc.
          Kernel          : x86_64
          Userland        : 64 bit
          Docker          : v9.1.2
          Virtualization  : Docker
          Kernel          : x86_64
          Userland        : 64 bit
          
          Systemuptime and Load:
           18:53:03 up 142 days,  8:03,  0 user,  load average: 1.36, 1.21, 1.09
          CPU threads: 8
          
          
          *** LIFE CYCLE STATUS ***
          Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
          
          *** TIME AND TIMEZONES ***
          Mon Sep 16 16:53:03 UTC 2024
          Mon Sep 16 18:53:03 CEST 2024
          CEST +0200
          Etc/UTC
          ./iob_diag.sh: line 394: timedatectl: command not found
          
          *** Users and Groups ***
          User that called 'iob diag':
          root
          HOME=/root
          GROUPS=root
          
          User that is running 'js-controller':
          iobroker
          HOME=/opt/iobroker
          GROUPS=iobroker tty dialout audio video plugdev
          
          *** DISPLAY-SERVER SETUP ***
          Display-Server: true
          Desktop: 
          Terminal: 
          
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:             67G        7.2G        1.0G        215M         59G         59G
          Swap:            42G        307M         42G
          Total:          109G        7.5G         43G
          
          Active iob-Instances:   17
          
                  64084 M total memory
                   6904 M used memory
                   7644 M active memory
                  53313 M inactive memory
                    970 M free memory
                     83 M buffer memory
                  56928 M swap cache
                  40499 M total swap
                    293 M used swap
                  40206 M free swap
          
          *** top - Table Of Processes  ***
          top - 18:53:04 up 142 days,  8:03,  0 user,  load average: 1.36, 1.21, 1.09
          Tasks:  25 total,   1 running,  24 sleeping,   0 stopped,   0 zombie
          %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
          MiB Mem :  64084.8 total,    968.8 free,   6906.3 used,  57011.9 buff/cache     
          MiB Swap:  40499.9 total,  40206.9 free,    293.1 used.  57178.5 avail Mem 
          
          
          *** DMESG CRITICAL ERRORS ***
          
          No critical errors detected
          
          *** FILESYSTEM ***
          Filesystem     Type   Size  Used Avail Use% Mounted on
          /dev/synorbd_1 btrfs  7.0T  2.5T  4.6T  35% /
          tmpfs          tmpfs   64M     0   64M   0% /dev
          tmpfs          tmpfs   32G     0   32G   0% /sys/fs/cgroup
          shm            tmpfs   64M     0   64M   0% /dev/shm
          /dev/synorbd_1 btrfs  7.0T  2.5T  4.6T  35% /opt/iobroker
          /dev/synorbd_1 btrfs  7.0T  2.5T  4.6T  35% /etc/hosts
          tmpfs          tmpfs   32G     0   32G   0% /proc/acpi
          tmpfs          tmpfs   32G     0   32G   0% /proc/scsi
          tmpfs          tmpfs   32G     0   32G   0% /sys/firmware
          
          Messages concerning ext4 filesystem in dmesg:
          
          Show mounted filesystems:
          TARGET             SOURCE                                                                                                                 FSTYPE OPTIONS
          /                  /dev/synorbd_1[/@syno/@docker/btrfs/subvolumes/43c485044ed9f1e230e9f082f08e839ece82e19c0db5e0e02d5f344f954dfa66]       btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_t
          |-/opt/iobroker    /dev/synorbd_1[/@syno/docker/iobroker]                                                                                 btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_t
          |-/etc/resolv.conf /dev/synorbd_1[/@syno/@docker/containers/cfc35c35eeb9eb02ac6c35b5a69a7f037dc59a2a43301ee573e25807288b862b/resolv.conf] btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_t
          |-/etc/hostname    /dev/synorbd_1[/@syno/@docker/containers/cfc35c35eeb9eb02ac6c35b5a69a7f037dc59a2a43301ee573e25807288b862b/hostname]    btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_t
          `-/etc/hosts       /dev/synorbd_1[/@syno/@docker/containers/cfc35c35eeb9eb02ac6c35b5a69a7f037dc59a2a43301ee573e25807288b862b/hosts]       btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_t
          
          Files in neuralgic directories:
          
          /var:
          34M     /var/
          32M     /var/lib
          19M     /var/lib/apt/lists
          19M     /var/lib/apt
          13M     /var/lib/dpkg
          
          
          /opt/iobroker/backups:
          26M     /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          941M    /opt/iobroker/iobroker-data/
          756M    /opt/iobroker/iobroker-data/files
          441M    /opt/iobroker/iobroker-data/files/javascript.admin
          409M    /opt/iobroker/iobroker-data/files/javascript.admin/static
          408M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
          
          The five largest files in iobroker-data are:
          38M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map
          24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
          23M     /opt/iobroker/iobroker-data/states.jsonl
          19M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.e7bb655f.js.map
          19M     /opt/iobroker/iobroker-data/files/vis-2/static/js/main.368dc292.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'
          
          HINT:
          Your zigbee.1 COM-Port is NOT matching 'by-id'. Please check your setting:
          /dev/ttyACM0
          
          HINT:
          Your zigbee.2 COM-Port is NOT matching 'by-id'. Please check your setting:
          /dev/ttyACM0
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.20.4
          /usr/bin/node           v18.20.4
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.28.0
          
          nodejs:
            Installed: 18.20.4-1nodesource1
            Candidate: 18.20.4-1nodesource1
            Version table:
           *** 18.20.4-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
                  100 /var/lib/dpkg/status
               18.20.3-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.20.2-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.20.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.20.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.19.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.19.0+dfsg-6~deb12u2 500
                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
               18.19.0+dfsg-6~deb12u1 500
                  500 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages
               18.19.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.2-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.18.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.17.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.16.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.15.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.2-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.14.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.13.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.12.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.11.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.10.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.1-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.9.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.8.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.7.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.6.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.5.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.4.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.3.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.2.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.1.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
               18.0.0-1nodesource1 1001
                 1001 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
          
          Temp directories causing deletion problem: 0
          No problems detected
          
          Errors in npm tree: 0
          No problems detected
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Hosts:
          iobroker            iobroker (version: 6.0.11, hostname: iobroker      , alive, uptime: 1227147)
          slave1-raspberrypi  slave1-raspberrypi (version: 6.0.11, hostname: slave1-raspberrypi, alive, uptime: 187271)
          
          Core adapters versions
          js-controller:  6.0.11
          admin:          7.0.23
          javascript:     8.7.6
          
          nodejs modules from github:     0
          
          Adapter State
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
          + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
          + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
            system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
          + system.adapter.history.0                : history               : iobroker                                 -  enabled
          + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
          + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
          + system.adapter.mystrom.0                : mystrom               : iobroker                                 -  enabled
          + system.adapter.roborock.0               : roborock              : iobroker                                 -  enabled
          + system.adapter.terminal.0               : terminal              : iobroker                                 -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
          + system.adapter.tuya.0                   : tuya                  : iobroker                                 -  enabled
            system.adapter.vis-2-widgets-inventwo.0 : vis-2-widgets-inventwo: iobroker                                 -  enabled
            system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker                                 -  enabled
          + system.adapter.vis-2.0                  : vis-2                 : iobroker                                 -  enabled
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
          + system.adapter.zigbee.1                 : zigbee                : slave1-raspberrypi                       -  enabled, port: /dev/ttyACM0
          + system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyACM0
          
          + instance is alive
          
          Enabled adapters with bindings
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.terminal.0               : terminal              : iobroker                                 -  enabled, port: 8088, bind: 0.0.0.0, run as: admin
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
          + system.adapter.zigbee.1                 : zigbee                : slave1-raspberrypi                       -  enabled, port: /dev/ttyACM0
          + system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyACM0
          
          ioBroker-Repositories
          ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐
          │ (index) │   name   │                           url                           │ auto upgrade │
          ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤
          │    0    │ 'stable' │    'http://download.iobroker.net/sources-dist.json'     │    false     │
          │    1    │  'beta'  │ 'http://download.iobroker.net/sources-dist-latest.json' │    false     │
          └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘
          
          Active repo(s): stable
          Upgrade policy: none
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "admin"        : 7.0.23   , installed 7.0.23
          Adapter    "alexa2"       : 3.26.5   , installed 3.26.5
          Adapter    "backitup"     : 3.0.22   , installed 3.0.22
          Adapter    "discovery"    : 4.5.0    , installed 4.5.0
          Adapter    "flot"         : 1.12.0   , installed 1.12.0
          Adapter    "history"      : 3.0.1    , installed 3.0.1
          Adapter    "iot"          : 3.3.0    , installed 3.3.0
          Adapter    "javascript"   : 8.7.6    , installed 8.7.6
          Controller "js-controller": 6.0.11   , installed 6.0.11
          Adapter    "roborock"     : 0.6.4    , installed 0.6.4
          Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
          Adapter    "socketio"     : 6.7.1    , installed 6.7.1
          Adapter    "terminal"     : 1.0.0    , installed 1.0.0
          Adapter    "tuya"         : 3.16.0   , installed 3.16.0
          Adapter    "vis-2"        : 2.9.32   , installed 2.9.32
          Adapter    "vis-2-widgets-inventwo": 0.1.11, installed 0.1.11
          Adapter    "vis-2-widgets-material": 1.4.8, installed 1.4.8
          Adapter    "web"          : 6.2.5    , installed 6.2.5
          Adapter    "ws"           : 2.6.2    , installed 2.6.2
          Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
          
          Objects and States
          Please stand by - This may take a while
          Objects:        3786
          States:         2647
          
          *** OS-Repositories and Updates ***
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
          Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
          Reading package lists... Done
          Pending Updates: 26
          
          *** 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:9000            0.0.0.0:*               LISTEN      1000       3946312486 -                   
          tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1000       3946312479 -                   
          tcp        0      0 127.0.0.11:42340        0.0.0.0:*               LISTEN      0          3946306647 -                   
          tcp6       0      0 :::6824                 :::*                    LISTEN      1000       78218444   -                   
          tcp6       0      0 :::8554                 :::*                    LISTEN      1000       78220248   -                   
          tcp6       0      0 :::8555                 :::*                    LISTEN      1000       78220249   -                   
          tcp6       0      0 :::8081                 :::*                    LISTEN      1000       3946310901 -                   
          tcp6       0      0 :::8082                 :::*                    LISTEN      1000       3946317922 -                   
          tcp6       0      0 :::8083                 :::*                    LISTEN      1000       3946324298 -                   
          tcp6       0      0 :::8088                 :::*                    LISTEN      1000       3946324745 -                   
          tcp6       0      0 :::1984                 :::*                    LISTEN      1000       78243001   -                   
          tcp6       0      0 :::7906                 :::*                    LISTEN      1000       78218445   -                   
          udp        0      0 127.0.0.11:56032        0.0.0.0:*                           0          3946306646 -                   
          udp        0      0 0.0.0.0:5678            0.0.0.0:*                           1000       38730773   -                   
          udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1000       3946311323 -                   
          udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1000       3946311324 -                   
          
          *** Log File - Last 25 Lines ***
          
          2024-09-16 18:31:23.470  - error: mystrom.0 (386) https://mystrom.ch/api/device/getSettings?id=64002D035AE0
          2024-09-16 18:31:23.470  - error: mystrom.0 (386) {"status":"error","error":"device.not.connected"}
          2024-09-16 18:31:23.470  - error: mystrom.0 (386) 200
          2024-09-16 18:31:23.470  - error: mystrom.0 (386) https://mystrom.ch/api/device/getSettings?id=64002D035AF3
          2024-09-16 18:31:23.470  - error: mystrom.0 (386) {"status":"error","error":"device.not.connected"}
          2024-09-16 18:31:23.494  - info: mystrom.0 (386) Device Offline. To bring buttons online press double and hold for 8 seconds until it blinks green.
          2024-09-16 18:31:23.882  - info: mystrom.0 (386) Device Offline. To bring buttons online press double and hold for 8 seconds until it blinks green.
          2024-09-16 18:31:23.897  - error: mystrom.0 (386) 200
          2024-09-16 18:31:23.897  - error: mystrom.0 (386) https://mystrom.ch/api/device/getSettings?id=FCF5C418FB0C
          2024-09-16 18:31:23.897  - error: mystrom.0 (386) {"status":"error","error":"device.not.connected"}
          2024-09-16 18:31:24.077  - info: mystrom.0 (386) Device Offline. To bring buttons online press double and hold for 8 seconds until it blinks green.
          2024-09-16 18:31:24.077  - info: mystrom.0 (386) Device Offline. To bring buttons online press double and hold for 8 seconds until it blinks green.
          2024-09-16 18:31:24.078  - info: mystrom.0 (386) Device Offline. To bring buttons online press double and hold for 8 seconds until it blinks green.
          2024-09-16 18:31:24.079  - info: mystrom.0 (386) Set update interval for 807D3A8858BC to 60
          2024-09-16 18:31:24.079  - info: mystrom.0 (386) Set update interval for FCF5C418FE6C to 60
          2024-09-16 18:31:24.079  - info: mystrom.0 (386) Set update interval for 64002D035AF3 to 60
          2024-09-16 18:31:24.142  - info: mystrom.0 (386) Set update interval for 64002D035AE0 to 60
          2024-09-16 18:31:24.142  - info: mystrom.0 (386) Set update interval for FCF5C418FF54 to 60
          2024-09-16 18:31:24.142  - info: mystrom.0 (386) Set update interval for FCF5C418FB0C to 60
          2024-09-16 18:31:24.142  - info: mystrom.0 (386) Set update interval for 840D8E3D1AE8 to 60
          2024-09-16 18:31:24.142  - info: mystrom.0 (386) Set update interval for FCF5C418CE78 to 60
          2024-09-16 18:34:54.590  - warn: roborock.0 (1901) Reconnecting mqtt client!
          2024-09-16 18:34:54.606  - warn: roborock.0 (1901) MQTT connection close.
          2024-09-16 18:34:54.606  - warn: roborock.0 (1901) MQTT connection reconnect.
          2024-09-16 18:48:17.989  - info: admin.0 (157) ==> Connected system.user.admin from ::ffff:192.168.212.23
          
          

          Summary Diagnose:

          ```bash
          ======================= SUMMARY =======================
                                  v.2024-09-15
          
          
          model name      : Intel(R) Xeon(R) CPU D-1527 @ 2.20GHz
          Kernel          : x86_64
          Userland        : amd64
          Docker          : v9.1.2
          
          Installation:           Docker
          Kernel:                 x86_64
          Userland:               64 bit
          Timezone:               CEST +0200
          User-ID:                0
          Display-Server:         true
          
          
          Pending OS-Updates:     26
          Pending iob updates:    0
          
          Nodejs-Installation:
          /usr/bin/nodejs         v18.20.4
          /usr/bin/node           v18.20.4
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.28.0
          
          Recommended versions are nodejs 20.17.0 and npm 10.8.2
          nodeJS installation is correct
          
          MEMORY: 
                         total        used        free      shared  buff/cache   available
          Mem:             67G        7.5G        642M        215M         59G         59G
          Swap:            42G        307M         42G
          Total:          109G        7.8G         42G
          
          Active iob-Instances:   17
          Upgrade policy: none
          
          ioBroker Core:          js-controller           6.0.11
                                  admin                   7.0.23
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin and web instance:
          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.admin.1                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
          
          Objects:                3786
          States:                 2647
          
          Size of iob-Database:
          
          13M     /opt/iobroker/iobroker-data/objects.jsonl
          24M     /opt/iobroker/iobroker-data/states.jsonl
          
          
          Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
          
          =================== END OF SUMMARY ====================
          

          Log gewolltes Schaltverhalten:

          2024-09-11 18:42:03.648 - debug: iot.0 (4667) Request command/ACCNAMEDELETED/alexa
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) Data: "{\"header\":{\"messageId\":\"0030c24c-524c-4b96-89d0-46ef6077627b\",\"namespace\":\"Alexa.ConnectedHome.Control\",\"name\":\"TurnOnRequest\",\"payloadVersion\":\"2\"},\"payload\":{\"accessToken\":\"ACCESSTOKENDELETED\",\"appliance\":{\"applianceId\":\"Arbeitszimmer\",\"additionalApplianceDetails\":{\"group\":\"true\"}}}}"
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) 1726072923649 ALEXA: {"header":{"messageId":"0030c24c-524c-4b96-89d0-46ef6077627b","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnRequest","payloadVersion":"2"},"payload":{"accessToken":"ACCESSTOKENDELETED","appliance":{"applianceId":"Arbeitszimmer","additionalApplianceDetails":{"group":"true"}}}}
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) [ALEXA] Found following devices to control: {"group":true,"channels":{"zigbee.1.group_2":[{"id":"zigbee.1.group_2.brightness","role":"level.dimmer","actions":["setPercentage","incrementPercentage","decrementPercentage","turnOn","turnOff"]},{"id":"zigbee.1.group_2.colortemp","role":"level.color.temperature","actions":["incrementColorTemperature","decrementColorTemperature","setColorTemperature"]},{"id":"zigbee.1.group_2.color","role":"level.color.rgb","actions":["setColor","turnOn","turnOff"]}]},"smartTypes":{"zigbee.1.group_2.brightness":"LIGHT","zigbee.1.group_2.colortemp":"LIGHT","zigbee.1.group_2.color":"LIGHT"},"names":{"zigbee.1.group_2.brightness":"Brightness","zigbee.1.group_2.colortemp":"Color temperature","zigbee.1.group_2.color":"Color"},"byONs":{"zigbee.1.group_2.brightness":"10","zigbee.1.group_2.colortemp":"10","zigbee.1.group_2.color":"10"},"room":null,"func":null}
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) [ALEXA] New Request: TurnOnRequest
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) [ALEXA] ALEXA ON: Arbeitszimmer
          2024-09-11 18:42:03.649 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.brightness
          2024-09-11 18:42:03.651 - debug: iot.0 (4667) [ALEXA] Set "zigbee.1.group_2.brightness" to 10
          2024-09-11 18:42:03.653 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastObjectID:{"val":"zigbee.1.group_2.brightness","ack":true,"ts":1726072923652,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072785179}
          2024-09-11 18:42:03.654 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.colortemp
          2024-09-11 18:42:03.654 - debug: iot.0 (4667) Won't control zigbee.1.group_2.colortemp as we have a switch available
          2024-09-11 18:42:03.655 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.color
          2024-09-11 18:42:03.655 - debug: iot.0 (4667) Won't control zigbee.1.group_2.color as we have a switch available
          2024-09-11 18:42:03.656 - debug: iot.0 (4667) Response: {"header":{"messageId":"0030c24c-524c-4b96-89d0-46ef6077627b","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnConfirmation","payloadVersion":"2"},"payload":{}}
          2024-09-11 18:42:03.656 - debug: iot.0 (4667) [REMOTE] Send response to 'response/ACCNAMEDELETED/alexa: {"header":{"messageId":"0030c24c-524c-4b96-89d0-46ef6077627b","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnConfirmation","payloadVersion":"2"},"payload":{}}
          2024-09-11 18:42:03.698 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastResponse:{"val":"Arbeitszimmer ist eingeschaltet!","ack":true,"ts":1726072923697,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072785225}
          2024-09-11 18:42:03.738 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastFunction:{"val":null,"ack":true,"ts":1726072923738,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1709749235317}
          2024-09-11 18:42:03.780 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastRoom:{"val":null,"ack":true,"ts":1726072923779,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1709749235318}
          2024-09-11 18:42:03.821 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastCommand:{"val":true,"ack":true,"ts":1726072923821,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072740563}
          

          Log fehlerhaftes Schaltverhalten:

          2024-09-11 18:39:45.175 - debug: iot.0 (4667) Request command/ACCNAMEDELETED/alexa
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) Data: "{\"header\":{\"messageId\":\"aef45e6b-fdec-4b9d-824d-ddd61b8f0aff\",\"namespace\":\"Alexa.ConnectedHome.Control\",\"name\":\"TurnOnRequest\",\"payloadVersion\":\"2\"},\"payload\":{\"accessToken\":\"ACCESSTOKENDELETED\",\"appliance\":{\"applianceId\":\"Arbeitszimmer\",\"additionalApplianceDetails\":{\"group\":\"true\"}}}}"
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) 1726072785176 ALEXA: {"header":{"messageId":"aef45e6b-fdec-4b9d-824d-ddd61b8f0aff","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnRequest","payloadVersion":"2"},"payload":{"accessToken":"ACCESSTOKENDELETED","appliance":{"applianceId":"Arbeitszimmer","additionalApplianceDetails":{"group":"true"}}}}
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) [ALEXA] Found following devices to control: {"group":true,"channels":{"zigbee.1.group_2":[{"id":"zigbee.1.group_2.brightness","role":"level.dimmer","actions":["setPercentage","incrementPercentage","decrementPercentage","turnOn","turnOff"]},{"id":"zigbee.1.group_2.colortemp","role":"level.color.temperature","actions":["incrementColorTemperature","decrementColorTemperature","setColorTemperature"]},{"id":"zigbee.1.group_2.color","role":"level.color.rgb","actions":["setColor","turnOn","turnOff"]}]},"smartTypes":{"zigbee.1.group_2.brightness":"LIGHT","zigbee.1.group_2.colortemp":"LIGHT","zigbee.1.group_2.color":"LIGHT"},"names":{"zigbee.1.group_2.brightness":"Brightness","zigbee.1.group_2.colortemp":"Color temperature","zigbee.1.group_2.color":"Color"},"byONs":{"zigbee.1.group_2.brightness":"10","zigbee.1.group_2.colortemp":"10","zigbee.1.group_2.color":"10"},"room":null,"func":null}
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) [ALEXA] New Request: TurnOnRequest
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) [ALEXA] ALEXA ON: Arbeitszimmer
          2024-09-11 18:39:45.176 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.brightness
          2024-09-11 18:39:45.178 - debug: iot.0 (4667) [ALEXA] Set "zigbee.1.group_2.brightness" to 10
          2024-09-11 18:39:45.180 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastObjectID:{"val":"zigbee.1.group_2.brightness","ack":true,"ts":1726072785179,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072785179}
          2024-09-11 18:39:45.181 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.colortemp
          2024-09-11 18:39:45.182 - debug: iot.0 (4667) Won't control zigbee.1.group_2.colortemp as we have a switch available
          2024-09-11 18:39:45.182 - debug: iot.0 (4667) [ALEXA] Controlling: zigbee.1.group_2.color
          2024-09-11 18:39:45.182 - debug: iot.0 (4667) Won't control zigbee.1.group_2.color as we have a switch available
          2024-09-11 18:39:45.183 - debug: iot.0 (4667) Response: {"header":{"messageId":"aef45e6b-fdec-4b9d-824d-ddd61b8f0aff","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnConfirmation","payloadVersion":"2"},"payload":{}}
          2024-09-11 18:39:45.183 - debug: iot.0 (4667) [REMOTE] Send response to 'response/ACCNAMEDELETED/alexa: {"header":{"messageId":"aef45e6b-fdec-4b9d-824d-ddd61b8f0aff","namespace":"Alexa.ConnectedHome.Control","name":"TurnOnConfirmation","payloadVersion":"2"},"payload":{}}
          2024-09-11 18:39:45.226 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastResponse:{"val":"Arbeitszimmer ist eingeschaltet!","ack":true,"ts":1726072785225,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072785225}
          2024-09-11 18:39:45.227 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastFunction:{"val":null,"ack":true,"ts":1726072785227,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1709749235317}
          2024-09-11 18:39:45.267 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastRoom:{"val":null,"ack":true,"ts":1726072785267,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1709749235318}
          2024-09-11 18:39:45.309 - silly: iot.0 (4667) States user redis pmessage iot.0.smart.*/iot.0.smart.lastCommand:{"val":true,"ack":true,"ts":1726072785308,"q":0,"from":"system.adapter.iot.0","user":"system.user.admin","lc":1726072740563}
          

          Jemand einen Vorschlag wie weiter?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Knirpso last edited by

            @knirpso sagte in Schaltverhalten IOT Adapter mit Alexa:

            Jemand einen Vorschlag wie weiter?

            Nein. Aber in deinem Output habe ich zwei Fehler im 'iob diag'-Skript gefunden.
            Könntest du die Version 2024-09-16 mal laufen lassen. Output dann auch gerne im entsprechenden Thread.

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

            Support us

            ioBroker
            Community Adapters
            Donate

            952
            Online

            31.6k
            Users

            79.6k
            Topics

            1.3m
            Posts

            3
            4
            160
            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