Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Duplicate device with plugin Alexa #147

Open
vzlgdu opened this issue Sep 17, 2020 · 7 comments
Open

Duplicate device with plugin Alexa #147

vzlgdu opened this issue Sep 17, 2020 · 7 comments

Comments

@vzlgdu
Copy link

vzlgdu commented Sep 17, 2020

Hi, I'm using your plugin and the Alexa plugin; in my network I used a DECT200 that is normally discovered creating two devices: one outlet and one temperature sensor (also if I set false in the config...); the problem is that the Alexa plugin discovers two devices named DECT200 generating an error (this happen also if I rename one of this in the Alexa app).
Is there a solution to avoid the error message?
Thanks

@BionicThomas
Copy link

Hi!

This could also be configured in the Alexa Plugin configuration.

I have the situation for some cameras and for all those I have a section in the combine:

"combine": [
{
"into": "Kamera Flur",
"from": [
"Kamera Flur"
]
},...

for the temp sensors I have disabled them, hence not the issue for Alexa

"xxxxxxx": {
"TemperatureSensor": false
},

@vzlgdu
Copy link
Author

vzlgdu commented Sep 17, 2020 via email

@BionicThomas
Copy link

Hi!

You need to replace "outlet-1" with the ID of your device.
The outlet-1 is just a placeholder. Otherwise it does not work.

Regarding Alex, this works on a name basis hence the combine would fix the issue if they have both the same name.

@vzlgdu
Copy link
Author

vzlgdu commented Sep 17, 2020 via email

@vzlgdu
Copy link
Author

vzlgdu commented Sep 17, 2020 via email

@BionicThomas
Copy link

My cameras (like the DEC200) publish more than one feature in HomeKit. But Alexa only allows one feature per named device.
Hence if you have e.g. a Temp Sensor and a switch with the same name, Alexa gets confused.
So you have to tell in the configuration for the Alexa Plugin to merge those with the same name into one.
This achieved by the Combine section of the Alexa configuration.
for you then something like this, see more details in the Alexa homebridge plugin help.

"combine": [
{
"into": "DECT200",
"from": [
"DECT200"
]
}

For the fritz plugin you have to replace "Outlet-1" with your device id.
Like this:

 "087610048016": {
                "TemperatureSensor": false
            }

only then it really does what you want it to do.

@vzlgdu
Copy link
Author

vzlgdu commented Sep 17, 2020 via email

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

No branches or pull requests

2 participants