Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

[Bug]: DEBUG CommandServer Invoke off with data "undefined" #267

Open
tam481 opened this issue Aug 17, 2024 · 3 comments
Open

[Bug]: DEBUG CommandServer Invoke off with data "undefined" #267

tam481 opened this issue Aug 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tam481
Copy link

tam481 commented Aug 17, 2024

What happened?

Since upgrading to version 2.7, Alexa has been working intermittently, in all cases, it takes about 10 seconds before the action is carried out.

Your configuration

"matcher": {
      // optional: include all entities of these domains:
      "includeDomains": [
        "light",
        "switch"
      ],
      // optional: include all entities matching these entity_id patterns:
      "includePatterns": [
        ""
      ],
      // optional: include all entities having one of these labels.
      // It is important to use the slug of the label. When your label is "My Devices", the slug is most probably "my_devices".
      "includeLabels": [
        "exposed_to_voice_assistant"
      ],
      // optional: include all entities having one of the following platforms (= integration)
      // It is important to use the slug of the platform / integration.
      "includePlatforms": [
        ""
      ],
      // optional: exclude all entities of these domains:
      "excludeDomains": [
        ""
      ],
      // optional: exclude all entities matching these entity_id patterns:
      "excludePatterns": [
        "switch.power_socket_02",
        "switch.stairs_aqara_switch*",
        "switch.living_area_aqara_switch_power_outage_memory",
        "light.hallway_switch_left",
        "switch.tapo_*",
        "light.tapo_*"
      ],
      // optional: exclude all entities having one of these labels.
      // It is important to use the slug of the label. When your label is "My Devices", the slug is most probably "my_devices".
      "excludeLabels": [
        "unavailable_ok"
      ],
      // optional: exclude all entities having one of the following platforms (= integration)
      // It is important to use the slug of the platform / integration.
      "excludePlatforms": [
        "alexa_media"
      ]
    }
  }

Relevant log output

2024-08-17 21:18:31.205 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:18:31.212 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 21:22:36.928 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:22:36.931 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 21:23:02.036 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:23:02.040 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 21:32:22.083 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:32:22.088 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 21:32:43.133 DEBUG CommandServer Invoke on with data "undefined"
2024-08-17 21:32:43.137 DEBUG CommandServer Invoke on response : "undefined"
2024-08-17 21:33:09.043 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:33:09.046 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 21:33:21.473 DEBUG CommandServer Invoke on with data "undefined"
2024-08-17 21:33:21.477 DEBUG CommandServer Invoke on response : "undefined"
[21:36:34.436] [Matterbridge] The plugin matterbridge-home-assistant is up to date. Current version: 2.7.1, Latest version: 2.7.1
2024-08-17 21:37:08.044 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 21:37:08.047 DEBUG CommandServer Invoke off response : "undefined"
2024-08-17 22:13:38.795 DEBUG CommandServer Invoke on with data "undefined"
2024-08-17 22:13:38.798 DEBUG CommandServer Invoke on response : "undefined"
2024-08-17 22:13:51.273 DEBUG CommandServer Invoke off with data "undefined"
2024-08-17 22:13:51.277 DEBUG CommandServer Invoke off response : "undefined"

Version

2.7.1

@tam481 tam481 added the bug Something isn't working label Aug 17, 2024
@antoniozh
Copy link

I'm having the same issues, and sometimes it does not work at all.

@t0bst4r
Copy link
Owner

t0bst4r commented Aug 25, 2024

That is interesting. It doesn’t happen for me.
it seems to me like something is spamming the command server.

  1. do those messages appear only when you try to execute one command, or do those log messages appear all the time even when you didn’t ask anything for hours?
  2. Is it happening for all kind of devices? Could you try to only include one device/domain and then step by step add more to figure out which is causing the issue?

@antoniozh
Copy link

Hi, sometimes one of the devices glitches out when I try to turn it off/on via Alexa.

  1. The error occurs twice per voice command (data is undefined and response is undefined)
  2. It happens randomly on my devices, I can fix it when I remove it from the Alexa app and search for devices to find it again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants