-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
- main device shows up as temperature sensor (but which is diagnostic only)
- color can not be controlled on Aqara T1M ceiling light through Alexa
some context: this is a composed devices consisting of two endpoint (white and rgb). May be we can take this as an example.
To Reproduce
Steps to reproduce the behavior:
- Connect the device to Alexa (or Google Home) by scanning the QR-code.
- Alexa: device shows up as temperature sensor, but has two sub devices connected (white light, rgb light)
- Google Home: only light endpoints show (with the name of the main device) can't be distingushed inside App
- Try to control them via speech through smart speakers (On/Off works fine)
Expected behavior
- device should show up with some meaningful device type/name (Google Home)
- rgb endpoint should be controlable by smart speakers (Alexa, Google Home).
Plugin (please complete the following information):
- matterbrigde 3.4.2
- matterbridge-zigbee2mqtt 3.0.3
Matterbridge (please complete the following information):
- Matterbridge running as container (docker compose), host mode
- Version 3.4.2
- OS: debian
- no HA here
Additional context
@Luligu First of all i want to thank for your great work. I came across this project a few weeks ago and found it very interesting, as it fills a gap in my smarthome: connection to smart speakers, which was always a pain. I'm not running HA for reasons (it is not KISS in my eyes and no separation of concerns).
I bought this ceiling light some days ago and took this as an example how it works with matterbridge.
The device was showing up as temperature sensor (main device) with two sub devices ("first light", "second light"). After renaming the sub devices to a meaningful name in alexa it was possible to turn the light on and off by speech. But it was not possible to change color (of the rgb endpoint) or color temperature of the white light endpoint. I investigated this a bit and found, that the rgb endpoint only accepts x/y colors but alexa sends hsl color. My question is, at which point this should be converted. I implemented a solution method moveToHueAndSaturationCommandHandler inside matterbridge-zigbee2mqtt plugin and this works so far. But i'm not sure if this is the right location to do this. (see #144)