Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yeelight 皓石吊灯氛围灯无法控制 #721

Closed
rickycm opened this issue Jul 26, 2022 · 17 comments
Closed

yeelight 皓石吊灯氛围灯无法控制 #721

rickycm opened this issue Jul 26, 2022 · 17 comments

Comments

@rickycm
Copy link

rickycm commented Jul 26, 2022

yeelight 皓石吊灯 有主灯和氛围灯,添加后在HA里只有显示和控制主灯,无法控制氛围灯。
可以通过添加自定义实体解决吗?

@al-one
Copy link
Owner

al-one commented Jul 28, 2022

请更新至master分支后再试。

@rickycm
Copy link
Author

rickycm commented Jul 29, 2022

2022-07-29 11-14-08

切换到masterwvfc分支也还是没有氛围灯的控制选项。

@al-one
Copy link
Owner

al-one commented Jul 29, 2022

'yeelink.light.ceiling10': {
'extend_model': 'yeelink.light.ceiling6',
'miio_specs': {
'prop.200.201': {'prop': 'bg_power', 'setter': 'bg_set_power', 'format': 'onoff'},
'prop.200.202': {'prop': 'bg_bright', 'setter': 'bg_set_bright'},
'prop.200.203': {'prop': 'bg_ct', 'setter': 'bg_set_ct_abx', 'set_template': '{{ [value,"smooth",500] }}'},
'prop.200.204': {'prop': 'bg_rgb', 'setter': 'bg_set_rgb'},
},
},

请检查你的本地文件以确保更新成功。

@rickycm
Copy link
Author

rickycm commented Aug 3, 2022

重新下载了master分支,也检查了miio2miot_specs.py这段代码,手动添加上这段,都还是不行。

@al-one
Copy link
Owner

al-one commented Aug 3, 2022

请下载完整的插件代码。

@rickycm
Copy link
Author

rickycm commented Aug 23, 2022

image

image

更新到了Master,也重新添加了设备,还是没有氛围灯属性,是少做了什么吗?

@al-one
Copy link
Owner

al-one commented Aug 25, 2022

image

@al-one
Copy link
Owner

al-one commented Aug 30, 2022

尝试最新版本

@crgnclsn
Copy link

Hi, I have just tried the latest version. The ambient light is still not showing up for me. Just the main light and off_delay_time like @rickycm. Is there anything I can run or do to help you figure out why it is not working?

@al-one
Copy link
Owner

al-one commented Aug 30, 2022

@crgnclsn Show me the entity attributes.

@crgnclsn
Copy link

crgnclsn commented Aug 30, 2022

Here you are!

min_mireds: 154
max_mireds: 370
effect_list: Day, Night
supported_color_modes: brightness, color_temp, onoff
color_mode: color_temp
brightness: 127
color_temp: 200
hs_color: 27.001, 19.243
rgb_color: 255, 228, 205
xy_color: 0.372, 0.35
effect: Day
model: yeelink.light.ceiling10
lan_ip: 192.168.0.206
mac_address: 50:EC:50:89:77:20
entity_class: MiotLightEntity
miot_type: urn:miot-spec-v2:device:light:0000A001:yeelink-ceiling10:1
light.on: true
light.brightness: 50
light.color_temperature: 5000
light.mode: 1
adjust_brightness-3-1.error: -704030013 Property is not readable
light_extension.ct_delta.error: -704030013 Property is not readable
light_extension.ct_adjust_alexa.error: -704030013 Property is not readable
state_updater: cloud
friendly_name: Ceiling Bar Light
supported_features: 39

@al-one
Copy link
Owner

al-one commented Sep 1, 2022

Make sure this device is integrated by account (automatic mode), or by token.

@crgnclsn
Copy link

crgnclsn commented Sep 1, 2022 via email

@al-one
Copy link
Owner

al-one commented Sep 2, 2022

Error -704030013 Property is not readable comes from the cloud.
Ambient light of the device is only available in local mode.

@crgnclsn
Copy link

crgnclsn commented Sep 5, 2022

Forced refresh in local mode.

Still only showing a single light entity with one setting.

min_mireds: 154
max_mireds: 370
effect_list: Day, Night
supported_color_modes: brightness, color_temp, onoff
color_mode: color_temp
brightness: 51
color_temp: 357
hs_color: 28.185, 62.588
rgb_color: 255, 170, 95
xy_color: 0.516, 0.386
effect: Day
model: yeelink.light.ceiling10
lan_ip: 192.168.0.206
mac_address: 50:EC:50:89:77:20
entity_class: MiotLightEntity
miot_type: urn:miot-spec-v2:device:light:0000A001:yeelink-ceiling10:1
light.on: true
light.brightness: 20
light.color_temperature: 2801
light.mode: 1
light.off_delay_time: 0
state_updater: lan
sub_entities: light-2.off_delay_time-102
friendly_name: Ceiling Bar Light
supported_features: 39

@al-one
Copy link
Owner

al-one commented Dec 14, 2022

Try master branch.

@crgnclsn
Copy link

Try master branch.

Working! You are a hero. Many thanks.

@al-one al-one closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants