Comments (9)
@cellcortex Is it feasible to have the second light service name ( background ) add some text to the name so that the homebridge-alexa plugin can differentiate between the two? At the present time as the names are duplicate, the second one is not passed too Alexa.
NorthernMan54/homebridge-alexa#336
from homebridge-yeelighter.
I should be able to add an option to have added to the config.
from homebridge-yeelighter.
Tks, much appreciated
from homebridge-yeelighter.
Hey @cellcortex , did you managed to fix that? Or can you point us on how to fix it manually?
Thanks in advance.
from homebridge-yeelighter.
Didn't get to it. If you want to take a shot, I'm happy to accept a PR. You would need to create 2 accessories for those lights instead of one.
from homebridge-yeelighter.
Hi, have similar issues with duplicates and the Alexa plugin.
Also, if you have 2 identical lights, in my case they are both detected as color4, they will both show in Homekit but when using the Alexa Hombridge Skill, only one light will detect, and it fails to operate due to the duplication of the detected name.
Below is what comes up in Homebridge and its passing the "Model" through to the Alexa Skill plugin, not the "Name", as I change the name, but it still detects as color4, I have also tried to change the ID but that only changes the "Serial Number"
Lightbulb
On false
Brightness 5%
Color Temperature 370
Hue 282
Saturation 100%
Manufacturer Yeelighter
Model color4
Name color4
Serial Number 0x000010101018dc9f
Firmware Revision 27
Homebridge Instance IP 127.0.0.1
Homebridge Instance Port 51100
Homebridge Instance Username 0E:69:8E:D8:4E:21
aid 12
iid 8
from homebridge-yeelighter.
@cellcortex Recently identified is that the Configured Name characteristic will receive set events when an accessory name is changed in the Home app. And if you could add the characteristic, I can read the values in the homebridge-alexa plugin.
Change is something like this
this.services[uniq_id].service.getCharacteristic(this.Characteristic.ConfiguredName)
.on('set', setConfiguredName.bind(this.services[uniq_id]));
function setConfiguredName(this: tasmotaSwitchService | tasmotaLightService | tasmotaFanService | tasmotaSensorService | tasmotaBinarySensorService, value, callback: CharacteristicSetCallback) {
// debug('this', this.service.displayName);
// this.platform.log.debug('setConfiguredName', value, this.service.displayName);
this.service.displayName = value;
this.service.setCharacteristic(this.platform.Characteristic.Name, this.service.displayName);
this.platform.api.updatePlatformAccessories([this.accessory]);
callback();
}
from homebridge-yeelighter.
Would be really happy if this gets fixed because I do some dynamics brightness adjustments trough NodeRed and this currently does not work for a second device called „Ceiling Light“.
NorthernMan54/node-red-contrib-homebridge-automation#30 (comment)
from homebridge-yeelighter.
@cellcortex Tks
from homebridge-yeelighter.
Related Issues (20)
- node v14 support
- How to reduce logs for Yeelighter? HOT 2
- The background light on Yeelight Screen Bar Pro does not turn on HOT 2
- Yeelight Staria Bedside Lamp Pro (Night Mode) Issues HOT 1
- Yeelighter settings lags HOT 2
- Yeelighter error for ceiling14 HOT 4
- Smooth Transition Between Colors HOT 2
- Yeelighter - Error and loops HOT 3
- Unable to change colour of ceiling light HOT 1
- TypeError: Cannot read properties of undefined (reading 'split') HOT 2
- Yeelight Bulb W3 keeps "No Respond" randomly and generates lots of "Color tempurature" characteristic error HOT 1
- Can't find device id. HOT 2
- Cache Notification Loop HOT 1
- ceiling17 HOT 1
- "No Response" after a while on the new update (ylxd50yl) HOT 2
- Constant log of "retry in 5s" after upgrading to 2.5.16 HOT 2
- Yeelight Smart LED Bulb 1S and LED Bedside Lamp D2 Adaptive Lighting
- Feature Improvement: Moonlight Mode minimum brightness
- W1 GU10 Problems HOT 1
- Help me to understand the re-connect logic for manual configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-yeelighter.