Skip to content

灯光控制亮度数值不对 #1052

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

Open
GavinIves opened this issue Apr 29, 2025 · 6 comments
Open

灯光控制亮度数值不对 #1052

GavinIves opened this issue Apr 29, 2025 · 6 comments
Assignees

Comments

@GavinIves
Copy link

Describe the Bug / 描述问题

我发送控制将灯光亮度设置2% 他只会变成1%
但其他数值他都能准确
在以前的0.2.x的版本下没有问题 具体是2.x不记得了 我也是今天突然发现不行了的

Image
执行后 他却是1%
Image

How to Reproduce / 复现步骤

如上

Expected Behavior / 预期结果

应用2%亮度

Reproduce Time / 问题复现的时间点

任何

Home Assistant Logs / 系统日志

No response

Log Timezone / 日志时区

shanghai

Home Assistant Core Version / Home Assistant Core 版本

2025

Home Assistant Operation System Version / Home Assistant Operation System 版本

16

Xiaomi Home Integration Version / 米家集成版本

v0.3.1

Additional Context / 其他说明

No response

@SusanPhevos SusanPhevos self-assigned this Apr 29, 2025
@SusanPhevos
Copy link
Contributor

请您将日志等级设置为debug级别(方法详见这里),复现问题,并上传HA日志。如果您担心隐私问题,可将日志发送至 [email protected] ,邮件正文附上此 issue 的链接。

@GavinIves
Copy link
Author

GavinIves commented Apr 29, 2025

home-assistant_2025-04-29T07-36-45.222Z.log
我发送了几次设定亮度为2% 色温为3000 的指令 你们可以看一下

@SusanPhevos
Copy link
Contributor

2025-04-29 15:35:51、15:35:56 xiaomi_home 2次设置衣柜灯亮度值为 1 ,设备也返回亮度变化为 1 。
xiaomi_home 发出的控制指令是“设置亮度值为1”,请问您用什么方法让 xiaomi_home 发指令呢?

@GavinIves
Copy link
Author

我是用nodered来控制的 所有参数都是符合标准的 我可以提供远程 你直接来我电脑上操作

Image Image

@SusanPhevos
Copy link
Contributor

我是用nodered来控制的 所有参数都是符合标准的 我可以提供远程 你直接来我电脑上操作

Image Image

我没有用过nodered,无法提供帮助

@GavinIves
Copy link
Author

GavinIves commented Apr 29, 2025

不不不 我用ha的自动化也是一样的 亮度2变成1 应该是xiaomi_home内部出了问题 无论是nodered还是ha都只是传参
Image

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

No branches or pull requests

2 participants