NorthernMan54 / homebridge-alexa

Expose your homebridge controlled devices to Amazon Alexa.
https://www.homebridge.ca
458 stars 68 forks source link

hombridge dvices on alexa device not responding #710

Closed JD-Cus closed 3 weeks ago

JD-Cus commented 2 months ago

Current Situation

In home bridge i can control accessories and are fast responsive, but when using alexa mosto of the time are idle or not responsive

Logs

[9/17/2024, 12:48:44 AM] [Alexa] Stopping child bridge (will not restart)...
[9/17/2024, 12:48:44 AM] Got SIGTERM, shutting down child bridge process...
[9/17/2024, 12:48:49 AM] [Alexa] Child bridge process ended
[9/17/2024, 12:55:26 AM] [Alexa] Initializing Alexa platform...
[9/17/2024, 12:55:26 AM] [Alexa] Initializing child bridge 0E:A7:D3:4F:B1:3E
[9/17/2024, 12:55:31 AM] [Alexa] Launched child bridge with PID 3518
[9/17/2024, 12:55:31 AM] Registering platform 'homebridge-samsung-tizen.SamsungTizen'
[9/17/2024, 12:55:35 AM] [Alexa] Loaded homebridge-alexa v0.7.1-beta.3 child bridge successfully
[9/17/2024, 12:55:35 AM] Loaded 0 cached accessories from cachedAccessories.0EA7D34FB13E.
[9/17/2024, 12:55:35 AM] [Alexa] homebridge-alexa v0.7.1-beta.3, node v20.17.0, homebridge v1.8.4
[9/17/2024, 12:55:35 AM] Initializing platform accessory 'Alexa'...
[9/17/2024, 12:55:36 AM] Homebridge v1.8.4 (HAP v0.12.2) (Alexa) is running on port 43197.
[9/17/2024, 12:55:36 AM] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/17/2024, 12:55:55 AM] [Alexa] alexaDiscovery - returned 10 devices
[9/17/2024, 1:07:41 AM] [Alexa] PowerController TurnOff 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 37, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:07:41 AM] [Alexa] PowerController TurnOff 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 37, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:07:45 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 37, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:07:51 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 37, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:07:53 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 37, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:08:02 AM] [Alexa] PowerLevelController SetPowerLevel 0E:9B:7E:78:C6:72 {
  characteristics: [
    { aid: 37, iid: 12, status: -70410 },
    { aid: 37, iid: 11, status: -70410 }
  ]
} {
  characteristics: [ { aid: 37, iid: 12, value: 17 }, { aid: 37, iid: 11, value: 1 } ]
} null
[9/17/2024, 1:08:04 AM] [Alexa] PowerLevelController SetPowerLevel 0E:9B:7E:78:C6:72 {
  characteristics: [
    { aid: 37, iid: 12, status: -70410 },
    { aid: 37, iid: 11, status: -70410 }
  ]
} {
  characteristics: [ { aid: 37, iid: 12, value: 1 }, { aid: 37, iid: 11, value: 1 } ]
} null
[9/17/2024, 1:08:10 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 35, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:08:10 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 35, iid: 11, status: -70410 } ] } null
[9/17/2024, 1:08:13 AM] [Alexa] PowerController TurnOn 0E:9B:7E:78:C6:72 { characteristics: [ { aid: 35, iid: 11, status: -70410 } ] } null

Configuration

{
    "name": "Alexa",
    "username": "dan_cuspi",
    "password": "------",
    "pin": "918-38-567",
    "routines": true,
    "refresh": 900,
    "keepalive": 5,
    "CloudTransport": "mqtts",
    "deviceListHandling": "none",
    "platform": "Alexa",
    "_bridge": {
        "username": "0E:A7:D3:4F:B1:3E"
    }
}

Environment

ihost root v20.17.0 /opt/homebridge/bin /var/lib/homebridge /var/lib/homebridge/config.json /var/lib/homebridge/node_modules GMT-0600 Yes

Process Supervisor

Docker (Mention image name in Additional Context)

Additional Context

No response

NorthernMan54 commented 2 months ago

Can you try asking Alexa to 'discover devices' again? And if that does not work, which plugin is the broken device coming from, is it 'homebridge-samsung-tizen' ?