NorthernMan54 / homebridge-alexa

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

homebridge-alexa is unable to show 2 accessories #442

Closed sudhirkankal closed 3 years ago

sudhirkankal commented 3 years ago

I am using OS : Synology and deployed this package on a docker Alpine Linux (3.12.6)

Attached logs as below.

Starting to advertise 'Homebridge BF83 0A55' using bonjour-hap backend! [4/14/2021, 6:18:50 PM] Homebridge v1.3.4 (Homebridge BF83) is running on port 51704. 2021-04-14T12:48:50.994Z alexaLocal connect command/sudhir.kankal/# 2021-04-14T12:48:51.412Z hapNodeJSClient HAP Device discovered Homebridge BF83 0A55 2021-04-14T12:48:51.473Z hapNodeJSClient Homebridge instance discovered homebridge with 2 accessories 2021-04-14T12:49:10.402Z hapNodeJSClient Ready 2021-04-14T12:49:10.403Z alexaActions alexaDiscovery 2021-04-14T12:49:10.410Z alexaActions Cookie Object: 115 [4/14/2021, 6:19:10 PM] [Alexa] alexaDiscovery - returned 1 devices 2021-04-14T12:49:10.412Z alexaActions registerEvents [ '{"deviceID":"0E:54:7C:9E:BF:83","aid":3,"iid":10}': { '0': 'NOT_DETECTED', '1': 'DETECTED', endpointID: 'MEU6NTQ6N0M6OUU6QkY6ODMtaG9tZWJyaWRnZS1ob21lYnJpZGdlLWFsZXhhLUFsZXhhLTAwMDAwMDgwLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ==', template: 'ContactSensor' } ] 2021-04-14T12:49:10.416Z alexaActions Event Register 0E:54:7C:9E:BF:83 -> { characteristics: [ { aid: 3, iid: 10, ev: true } ] }

Below is config :

{ "bridge": { "name": "Homebridge BF83", "username": "0E:54:7C:9E:BF:83", "port": 51704, "pin": "xxx" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "auth": "none", "theme": "auto", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "name": "Alexa", "username": "xxl", "password": "xx", "pin": "xxx", "routines": true, "blind": false, "door": false, "debug": true, "deviceListHandling": "allow", "platform": "Alexa" } ] }

iPhone Home app is able to detect the contact sensor named "Alexa" but unable to find accessories.

I have several lights connected to Alexa Eco Dot and Eco Flex devices and I expect to also use them using iOS HomeApp

NorthernMan54 commented 3 years ago

This plugin does the opposite and exposes homebridge devices to Alexa and not alexa devices to HomeKit.