Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALEXA ERROR Passing #762

Open
deidelaosa opened this issue Jan 8, 2025 · 11 comments
Open

ALEXA ERROR Passing #762

deidelaosa opened this issue Jan 8, 2025 · 11 comments
Labels

Comments

@deidelaosa
Copy link

deidelaosa commented Jan 8, 2025

Current Situation

Hello, for several days Alexa has not worked well with homekit and homebrige and I get the following error. I have tried to see other cases but I can't see how to solve it, can you help me?

Logs

[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Clean
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Auto
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Display
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Health
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mildew
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Sleep
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Window Covering 1
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Night Reading
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  None
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Auto
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Antiblue
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Candle
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Computer
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Effective Work
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Favorite
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Reading
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Sleep
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Mode  Twinkle
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Buzzer
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Buzzer
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Buzzer
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Buzzer
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Dock
[08/01/2025, 19:04:08] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Led
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Led
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Led
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Led
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Temperature
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Temperature
[08/01/2025, 19:04:09] [Alexa] ERROR: Parsing failed, removing duplicate endpointID => Temperature
[08/01/2025, 19:04:09] [Alexa] WARNING: Duplicate device name Air Fryer
[08/01/2025, 19:04:09] [Alexa] alexaDiscovery - returned 64 devices
[08/01/2025, 19:04:09] [Alexa] Writing Alexa Discovery Response to /var/lib/homebridge/homebridge-alexa-discovery.json

Configuration

{
    "bridge": {
        "name": "Homebridge 1136",
        "username": "0E:EA:9D:E8:11:36",
        "port": 51187,
        "pin": "176-52-377",
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "name": "Aire Planta de Arriba",
            "ip": "192.168.1.74",
            "mac": "c8:f7:42:40:92:ed",
            "increments": 1,
            "display": true,
            "health": true,
            "clean": true,
            "sleep": true,
            "mildew": true,
            "auto": true,
            "accessory": "AirCondionerAccessory"
        },
        {
            "name": "Aire Planta de Abajo",
            "ip": "192.168.1.33",
            "mac": "c8:f7:42:40:1a:29",
            "increments": 1,
            "display": true,
            "health": true,
            "clean": true,
            "sleep": true,
            "mildew": true,
            "auto": true,
            "accessory": "AirCondionerAccessory"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "none",
            "theme": "orange",
            "tempUnits": "c",
            "lang": "es",
            "platform": "config"
        },
        {
            "name": "SHELLY",
            "username": "",
            "password": "",
            "admin": {
                "enabled": true,
                "port": 8181
            },
            "networkInterface": "192.168.1.135",
            "devices": [
                {
                    "id": "c049ef85f98c",
                    "name": "Persiana Puerta Izquierda ",
                    "type": "windowCovering",
                    "exclude": false
                },
                {
                    "id": "c45bbe754826",
                    "name": "Persiana Estar",
                    "type": "windowCovering"
                },
                {
                    "id": "c8c9a37a6378",
                    "name": "Persiana Principal",
                    "type": "windowCovering"
                }
            ],
            "platform": "Shelly"
        },
        {
            "name": "Smartthings Plug (IK)",
            "BaseURL": "https://api.smartthings.com/v1",
            "AccessToken": "2480a789-9a81-4b2b-bc",
            "GarageDoorMaxPoll": 40,
            "platform": "HomeBridgeSmartThings"
        },
        {
            "name": "Alexa",
            "username": "dei",
            "password": "",
            "pin": "176-52-377",
            "routines": true,
            "blind": true,
            "door": true,
            "debug": true,
            "deviceCleanup": true,
            "refresh": 500,
            "keepalive": 5,
            "thermostatTurnOn": 3,
            "CloudTransport": "mqtts",
            "deviceListHandling": "allow",
            "speakers": [
                {
                    "manufacturer": "Sonos",
                    "name": "Sonos"
                }
            ],
            "enhancedSkip": true,
            "platform": "Alexa"
        },
        {
            "devices": [
                {
                    "api_key": "2480a789-9a81-4b21b03",
                    "device_id": "548bf492-c33a-4030-a83a-a71969",
                    "name": "tv cocina",
                    "ip": "192.168.1.140",
                    "mac": "7c:64:56:86:07:ba",
                    "method": "wss",
                    "inputs": [
                        {
                            "type": "app",
                            "name": "NETFLIX",
                            "value": "11101200001"
                        },
                        {
                            "type": "app",
                            "name": "YouTube",
                            "value": "111299001912"
                        },
                        {
                            "type": "app",
                            "name": "Disney+",
                            "value": "3201901017640"
                        }
                    ],
                    "switches": [
                        {
                            "name": "Power",
                            "power": true,
                            "input": "digitalTv",
                            "command": [
                                "1",
                                "2",
                                "3",
                                "4",
                                "5"
                            ]
                        }
                    ]
                },
                {
                    "api_key": "2480a789-9a81-4b2b521b03",
                    "device_id": "9b2f2e53-0ab-edf790270240",
                    "name": "tv salon",
                    "ip": "192.168.1.117",
                    "mac": "68:27:37:99:1f:b7",
                    "method": "wss",
                    "inputs": [
                        {
                            "type": "app",
                            "name": "Netflix",
                            "value": "11101200001"
                        },
                        {
                            "type": "app",
                            "name": "Youtube",
                            "value": "111299001912"
                        },
                        {
                            "type": "app",
                            "name": "Disney+",
                            "value": "3201901017640"
                        },
                        {
                            "type": "input",
                            "name": "APPLE TV",
                            "value": "HDMI1"
                        }
                    ],
                    "switches": [
                        {
                            "name": "power",
                            "power": true,
                            "input": "digitalTv",
                            "mute": false,
                            "volume": 1,
                            "command": [
                                "1",
                                "2",
                                "3",
                                "4",
                                "5"
                            ]
                        }
                    ]
                },
                {
                    "api_key": "2480a789-9a81-4b2b-bcd521b03",
                    "device_id": "f41073c1-22ae-4314-0e88fc98",
                    "name": "TV Principal",
                    "ip": "192.168.1.107",
                    "mac": "c0:48:e6:bb:8f:03",
                    "method": "wss",
                    "inputs": [
                        {
                            "type": "app",
                            "name": "Netflix",
                            "value": "11101200001"
                        },
                        {
                            "type": "app",
                            "name": "YouTube",
                            "value": "111299001912"
                        },
                        {
                            "type": "app",
                            "name": "Disney+",
                            "value": "3201901017640"
                        },
                        {
                            "type": "app"
                        }
                    ],
                    "switches": [
                        {
                            "name": "Power",
                            "power": true,
                            "input": "HDMI1",
                            "mute": true
                        }
                    ]
                }
            ],
            "platform": "SamsungTizen"
        },
        {
            "platform": "BroadlinkRM",
            "name": "Dormitorio principal",
            "hideScanFrequencyButton": false,
            "hideLearnButton": false,
            "hideWelcomeMessage": false,
            "hosts": [
                {
                    "address": "192.168.1.74",
                    "mac": "c8:f7:42:40:92:ed",
                    "isRFSupported": false
                }
            ],
            "accessories": [
                {
                    "name": "Aire planta de arriba",
                    "type": "air-conditioner",
                    "autoCoolTemperature": 22,
                    "autoHeatTemperature": 19,
                    "autoSwitch": "A/C Auto Switch",
                    "data": {
                        "off": "2600400000011d8910350f130f1310121034101210120f131034103411120f131012101210121012101210120f131012101210341012103410130f130f130f3510000d050000000000000000",
                        "heat30": {
                            "data": "2600500000012..."
                        },
                        "auto22": {
                            "data": "2600500000012..."
                        },
                        "cool16": {
                            "data": "2600500000012..."
                        }
                    }
                },
                {
                    "name": "Chimenea",
                    "type": "switch",
                    "data": {
                        "on": "260058000001229215341510141015101411131114111311141114351435143515341534153414361311141113361410143613111411131213361336131114351411133614351435150005170001244915000c3e0001204913000d05",
                        "off": "260058000001229215341510141015101411131114111311141114351435143515341534153414361311141113361410143613111411131213361336131114351411133614351435150005170001244915000c3e0001204913000d05"
                    }
                }
            ]
        },
        {
            "micloud": {
                "username": "com",
                "password": "",
                "country": "de",
                "forceMiCloud": true
            },
            "devices": [
                {
                    "name": "Jeffry",
                    "ip": "192.168.1.61",
                    "token": "566d6e6330757a77694348",
                    "deviceId": "96562",
                    "model": "roborock.vacuum.s5",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "micloud": {
                        "username": "",
                        "password": "",
                        "country": "cn",
                        "forceMiCloud": true
                    },
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Puri salon",
                    "ip": "192.168.1.134",
                    "token": "6d60db38e0e0fd3bb8d31ee",
                    "deviceId": "292650",
                    "model": "zhimi.airpurifier.mb3",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Puri principal",
                    "ip": "192.168.1.51",
                    "token": "f2dc9ace583528980034afbd88",
                    "deviceId": "37",
                    "model": "zhimi.airpurifier.mb3",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "micloud": {
                        "username": "",
                        "password": "",
                        "country": "de",
                        "forceMiCloud": true
                    },
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true,
                    "suppressAutoServiceCreation": [
                        "temperature",
                        "relativeHumidity",
                        "illumination"
                    ]
                },
                {
                    "name": "Hub entrada",
                    "ip": "192.168.1.70",
                    "token": "65715944753567527a594530",
                    "deviceId": "2",
                    "model": "lumi.gateway.mgl03",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "david",
                    "ip": "192.168.1.48",
                    "token": "a3b7a0e38ca2a05d0dc2db79f42594a5",
                    "deviceId": "65442101",
                    "model": "yeelink.light.lamp1",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "sara",
                    "ip": "192.168.1.77",
                    "token": "c6589dbb46ab8d5c3d1ef",
                    "deviceId": "7098",
                    "model": "yeelink.light.lamp1",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Humificador blanca",
                    "ip": "192.168.1.34",
                    "token": "9c97369d01a244a09fbb",
                    "deviceId": "2491",
                    "model": "deerma.humidifier.jsq",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Humificador Salon",
                    "ip": "192.168.1.68",
                    "token": "640b5dbeaf47068eb7a13f",
                    "deviceId": "2454",
                    "model": "deerma.humidifier.jsq",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Humificador Principal",
                    "ip": "192.168.1.62",
                    "token": "afa4319d80c0afdf53480d02",
                    "deviceId": "2459",
                    "model": "deerma.humidifier.jsq",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Mari Carmen",
                    "ip": "192.168.1.35",
                    "token": "75324c627136b77",
                    "deviceId": "364",
                    "model": "dreame.vacuum.mc1808",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                },
                {
                    "name": "Air Fryer",
                    "ip": "192.168.1.41",
                    "token": "76f7505868238cb32a77ec14c",
                    "deviceId": "592803",
                    "model": "careli.fryer.maf05a",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "silentLog": false,
                    "deviceEnabled": true,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                }
            ],
            "platform": "miot"
        },
        {
            "name": "Shelly NG",
            "mdns": {
                "enable": true,
                "interface": "192.168.1.135"
            },
            "devices": [
                {
                    "id": "shellyplus2pm-c049ef85f98c",
                    "exclude": false,
                    "hostname": "192.168.1.135",
                    "switch:0": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:1": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:2": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:3": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "cover:0": {
                        "exclude": false,
                        "type": "windowCovering"
                    }
                }
            ],
            "platform": "ShellyNG"
        },
        {
            "name": "Shelly NG",
            "mdns": {
                "enable": true,
                "interface": "192.168.1.135"
            },
            "devices": [
                {
                    "id": "shellyplus2pm-c049ef85f98c",
                    "name": "Puerta Izquierda",
                    "exclude": false,
                    "hostname": "192.168.1.135",
                    "switch:0": {
                        "exclude": true,
                        "type": "switch"
                    },
                    "switch:1": {
                        "exclude": true,
                        "type": "switch"
                    },
                    "switch:2": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "switch:3": {
                        "exclude": false,
                        "type": "switch"
                    },
                    "cover:0": {
                        "exclude": false,
                        "type": "windowCovering"
                    }
                }
            ],
            "platform": "ShellyDS9"
        }
    ],
    "disabledPlugins": []
}

Environment

  • OS: linux bullseye (11)
  • Software:
  • Node:v22,13,0
  • npm:

Process Supervisor

not applicable

Additional Context

sorry i write the all config

@NorthernMan54
Copy link
Owner

Have you tried asking Alexa to ‘discover devices’ again ?

The plugin is sharing 64 of your homebridge devices with Alexa so these should be working. If you ask Alexa to control something what is logged by the plugin ?

@deidelaosa
Copy link
Author

Hi, yes i ask discover devices and not make nothing

yesterday show this mensange: [09/01/2025, 08:10:59] [Alexa] Writing Alexa Discovery Response to /var/lib/homebridge/homebridge-alexa-discovery.json

And this morning show this:

025-01-09T07:15:43.017Z alexaActions Events [{"deviceID":"0E:EA:9D:E8:11:36","aid":100,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":102,"iid":9,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":103,"iid":9,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":104,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":105,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":108,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":109,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":110,"iid":10,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":88,"iid":8,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":97,"iid":8,"status":-70402},{"deviceID":"0E:EA:9D:E8:11:36","aid":98,"iid":26,"status":-70402}]
2025-01-09T07:15:43.018Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 100, iid: 10, status: -70402 }
2025-01-09T07:15:43.018Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 102, iid: 9, status: -70402 }
2025-01-09T07:15:43.018Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 103, iid: 9, status: -70402 }
2025-01-09T07:15:43.019Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 104, iid: 10, status: -70402 }
2025-01-09T07:15:43.019Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 105, iid: 10, status: -70402 }
2025-01-09T07:15:43.020Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 108, iid: 10, status: -70402 }
2025-01-09T07:15:43.020Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 109, iid: 10, status: -70402 }
2025-01-09T07:15:43.020Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 110, iid: 10, status: -70402 }
2025-01-09T07:15:43.020Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 88, iid: 8, status: -70402 }
2025-01-09T07:15:43.020Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 97, iid: 8, status: -70402 }
2025-01-09T07:15:43.021Z alexaActions Event message not being sent - invalid state { deviceID: '0E:EA:9D:E8:11:36', aid: 98, iid: 26, status: -70402 }
[09/01/2025, 08:15:48] [HB Supervisor] Homebridge process ended. Code: 143, signal: null.
[09/01/2025, 08:15:53] [HB Supervisor] Restarting Homebridge...
[09/01/2025, 08:15:53] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution.
[09/01/2025, 08:15:53] [HB Supervisor] Started Homebridge v1.8.5 with PID: 15379.
[09/01/2025, 08:15:55] Loaded config.json with 2 accessories and 9 platforms.
[09/01/2025, 08:15:55] Loaded 21 cached accessories from cachedAccessories.

@NorthernMan54
Copy link
Owner

How often does this message appear ?

[09/01/2025, 08:15:48] [HB Supervisor] Homebridge process ended. Code: 143, signal: null.
[09/01/2025, 08:15:53] [HB Supervisor] Restarting Homebridge...

looks like homebridge is crashing for some reason, then restarting

@deidelaosa
Copy link
Author

Every time I restart it it appears, what should I do, is there a way to repair it?

@NorthernMan54
Copy link
Owner

Once is fine with a restart but if the message keeps repeating that is a problem.

@deidelaosa
Copy link
Author

hi yes restart and the message persist....

@NorthernMan54
Copy link
Owner

If homebridge keeps restarting on its own then the service will not work. Please share another longer log file

@deidelaosa
Copy link
Author

homebridge.log.txt

@NorthernMan54
Copy link
Owner

Is the message causing a problem ?

@deidelaosa
Copy link
Author

I don´t Know, but now is ready all dispose...

@NorthernMan54
Copy link
Owner

Can you try downgrading to 0.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants