Closed Slapash-do closed 2 years ago
Will add support for it in the next update!
Will add support for it in the next update!
great, thank you very much, I can't wait ;)
The device is now added in version 1.0.6
@merdok Hi, I just tried this. I didn't work properly. The light bar has 2 physical lights, a front one that supports warmth adjustment and a rear one that supports color adjustment. This plugin exposes a color-adjustable light and a switch to HomeKit. I can turn on/off the front light, but not the rear one. Color adjustment doesn't work correctly either. I'm currently using another plugin https://github.com/SR2k/homebridge-yeelight-screen-bar-pro. It works well.
@merdok Hi, I just tried this. I didn't work properly. The light bar has 2 physical lights, a front one that supports warmth adjustment and a rear one that supports color adjustment. This plugin exposes a color-adjustable light and a switch to HomeKit. I can turn on/off the front light, but not the rear one. Color adjustment doesn't work correctly either. I'm currently using another plugin https://github.com/SR2k/homebridge-yeelight-screen-bar-pro. It works well.
the same for me :(
@merdok can you doing something ? (sorry for my english)
@raulchen : i have never succeed to configurate the second plugin, can you make a copy paste of light bar's code of your config.json ? please
The plugin works in a generic way, and a generic light device has just one light😅 To be able to control the other lights you have to use propertyControl to expose yourself whatever you want to be able to control from your device.
EDIT: according to the spec there is just one light exposed which is able to being controlled, so you will not be able to control the other light...
@merdok Thanks for the information! I'll continue using the other plugin then.
@Slapash-do Hope this helps.
{
"accessories": [
{
"accessory": "YeelightScreenBarPro",
"name": "Screen Light",
"ip": "<IP>",
"token": "<TOKEN>"
}
]
}
@merdok Thanks for the information! I'll continue using the other plugin then.
@Slapash-do Hope this helps.
{ "accessories": [ { "accessory": "YeelightScreenBarPro", "name": "Screen Light", "ip": "<IP>", "token": "<TOKEN>" } ] }
Thank a lot, perfect it's work at 99%
I don't understand why plugin's creator doesn't write that code on his read me.
For me who no know coding, that isn't the same code....
Read Me :
`{ // ... extra configs
"accessories": [ // ... extra accessories
{
"accessory": "YeelightScreenBarPro",
"ip": "10.0.1.5",
"token": "the-top-secret-token"
}
] }`
Yeelight Led Screen Light Bar Pro yeelink.light.lamp15 ??
Does it already work with the plugin with a limited scope (can be controlled using the auto created switch)?
Yes i think : one switch button created in homekit ( just on/off )
Sorry my english write is not very good I'm French
my logs :
`[04/03/2022, 14:28:27] [miot] Initializing miot platform... [04/03/2022, 14:28:27] [miot] Initializing devices [04/03/2022, 14:28:27] [miot] [Barre PC] Got device configuration, initializing device with name: Barre PC [04/03/2022, 14:28:28] [miot] [Barre PC] Model known: yeelink.light.lamp15! [04/03/2022, 14:28:28] [miot] [Barre PC] Initializing device! [04/03/2022, 14:28:28] [miot] [Barre PC] Initializing device services [04/03/2022, 14:28:28] [miot] [Barre PC] Device services: [ "light", "yeelight" ] [04/03/2022, 14:28:28] [miot] [Barre PC] Initializing device properties [04/03/2022, 14:28:28] [miot] [Barre PC] Device properties: [ "light:on", "light:brightness", "light:color-temperature", "light:color", "light:mode" ] [04/03/2022, 14:28:28] [miot] [Barre PC] Initializing device actions [04/03/2022, 14:28:28] [miot] [Barre PC] Device actions: [ "light:toggle", "yeelight:toggle", "yeelight:brightness-up", "yeelight:brightness-down", "yeelight:ct-up", "yeelight:ct-down" ] [04/03/2022, 14:28:28] [miot] [Barre PC] Device not supported! Using a generic device with limited properties! Consider requesting device support! [04/03/2022, 14:28:28] [miot] [Barre PC] Initializing accessory! [04/03/2022, 14:28:28] [miot] [Barre PC] Accessory successfully initialized! [04/03/2022, 14:28:28] [miot] [Barre PC] Registering 1 accessories! [04/03/2022, 14:28:28] [miot] [Barre PC] Everything looks good! Initiating property polling! [04/03/2022, 14:28:28] [miot] [Barre PC] Device found: yeelink.light.lamp15 [04/03/2022, 14:28:28] [miot] [Barre PC] Setting up miot device! [04/03/2022, 14:28:28] [miot] [Barre PC] Device setup finished! Miot device ready! [04/03/2022, 14:28:28] [miot] [Barre PC] Connected to device: yeelink.light.lamp15 [04/03/2022, 14:28:28] [miot] [Barre PC] Doing initial property fetch. [04/03/2022, 14:28:28] [miot] [Barre PC] Starting property polling.
Thanks for your help