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

如何通过mqtt 使用 Lightbulb 创建一个 有亮度 和冷暖色的灯泡 #119

Open
qq547176052 opened this issue Mar 2, 2024 · 0 comments

Comments

@qq547176052
Copy link

如何通过mqtt 使用 Lightbulb 创建一个 有亮度 和冷暖色的灯泡

msg.payload={
    "name": "" + msg.payload,
    "service_name": "单色灯",
    "service": "Lightbulb",
    "Brightness": "default",
    "manufacturer": "制作商",
    "model": "型号",
    "serialnumber": "序号",
    "firmwarerevision": "1.0.1"
  }
return msg;

上面这个只能创建一个可调亮度的灯泡

我想要一个能调亮度和冷暖色温的灯泡

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

1 participant