『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1788|回复: 4

[技术探讨] WLED选项卡帮忙看下哪里有问题

[复制链接]

9

主题

56

帖子

194

积分

注册会员

Rank: 2

积分
194
金钱
138
HASS币
0
发表于 2021-12-6 11:02:53 | 显示全部楼层 |阅读模式
QQ截图20211206110108.png
接上个帖子https://bbs.hassbian.com/thread-14756-1-1.html,MQTT添加了LED等,正常开关调颜色,但是下面那个亮度和时间好像没用,最地下两排也不知道啥意思。
回复

使用道具 举报

6

主题

743

帖子

5962

积分

论坛元老

Rank: 8Rank: 8

积分
5962
金钱
5214
HASS币
20
发表于 2021-12-6 13:40:36 | 显示全部楼层
直接在ha的集成中添加wled
回复

使用道具 举报

9

主题

56

帖子

194

积分

注册会员

Rank: 2

积分
194
金钱
138
HASS币
0
 楼主| 发表于 2021-12-6 14:37:17 | 显示全部楼层
mitu 发表于 2021-12-6 13:40
直接在ha的集成中添加wled

hass和灯不在一个网络下没办法用
回复

使用道具 举报

2

主题

37

帖子

284

积分

论坛分享达人

积分
284
金钱
247
HASS币
0
发表于 2021-12-7 11:06:43 | 显示全部楼层
图里pallate list应该是灯光效果吧,preset是预先设置好的效果。回去了看看mqtt方式接入配置
回复

使用道具 举报

2

主题

37

帖子

284

积分

论坛分享达人

积分
284
金钱
247
HASS币
0
发表于 2021-12-9 00:17:27 | 显示全部楼层
抱歉啊,差点忘了这个。你那个config里的部分需要改了才能用。
1. 第9行后面的是效果列表,需要根据你当前版本来调,当前格式跟配置里是一样的 [FX=00]
  "effects": [
    "Solid", "Blink", "Breathe", "Wipe", "Wipe Random", "Random Colors", "Sweep", "Dynamic", "Colorloop", "Rainbow",
    "Scan", "Dual Scan", "Fade", "Chase", "Chase Rainbow", "Running", "Saw", "Twinkle", "Dissolve", "Dissolve Rnd",
    "Sparkle", "Dark Sparkle", "Sparkle+", "Strobe", "Strobe Rainbow", "Mega Strobe", "Blink Rainbow", "Android", "Chase", "Chase Random",
    "Chase Rainbow", "Chase Flash", "Chase Flash Rnd", "Rainbow Runner", "Colorful", "Traffic Light", "Sweep Random", "Running 2", "Red & Blue","Stream",
    "Scanner", "Lighthouse", "Fireworks", "Rain", "Merry Christmas", "Fire Flicker", "Gradient", "Loading", "In Out", "In In",
    "Out Out", "Out In", "Circus", "Halloween", "Tri Chase", "Tri Wipe", "Tri Fade", "Lightning", "ICU", "Multi Comet",
    "Dual Scanner", "Stream 2", "Oscillate", "Pride 2015", "Juggle", "Palette", "Fire 2012", "Colorwaves", "BPM", "Fill Noise", "Noise 1",
    "Noise 2", "Noise 3", "Noise 4", "Colortwinkle", "Lake", "Meteor", "Smooth Meteor", "Railway", "Ripple"
  ],

2. 第96行下面的是预设配置,一般如果WLED里没有设置过那可以留空;
QQ截图20211209001424.png

3. 第115行后是palette 颜色配置,也是要根据当前版本来调,当前格式跟配置里是一样的 [FP=00]
  "palettes": [
    "Default", "Random Cycle", "Primary Color", "Based on Primary", "Set Colors", "Based on Set", "Party", "Cloud", "Lava", "Ocean",
    "Forest", "Rainbow", "Rainbow Bands", "Sunset", "Rivendell", "Breeze", "Red & Blue", "Yellowout", "Analogous", "Splash",
    "Pastel", "Sunset 2", "Beech", "Vintage", "Departure", "Landscape", "Beach", "Sherbet", "Hult", "Hult 64",
    "Drywet", "Jul", "Grintage", "Rewhi", "Tertiary", "Fire", "Icefire", "Cyane", "Light Pink", "Autumn",
    "Magenta", "Magred", "Yelmag", "Yelblu", "Orange & Teal", "Tiamat", "April Night"
  ]


然后自动化里也要添加对应的东西:
https://github.com/Snipercaine/W ... er/automations.yaml

评分

参与人数 1金钱 +5 收起 理由
qxwo + 5 论坛有你更精彩!

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-27 21:02 , Processed in 0.097445 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表