62
287
5805
元老级技术达人
查看全部评分
使用道具 举报
2
48
386
中级会员
ebeeb 发表于 2022-8-14 15:35 楼主,R503指纹模块程序有吗
42
490
3109
论坛元老
23
114
712
高级会员
41
2162
8578
637
3114
Brewer 发表于 2022-8-14 20:37 真会玩,可惜想不出用在哪。
25
259
1473
金牌会员
wshc1216 发表于 2022-8-15 10:19 我想到一个场景。。。。给体重秤识别不同的人。。。
sensor: - platform: 某平台 name: "体重秤" id: scale - platform: template name: "人员1的体重" id: weight1 - platform: template name: "人员2的体重" id: weight2 # 其他基础配置 fpm383c: on_match: - if: condition: lambda: "return x.id == 0;" then: - lambda: "id(weight1).publish_state(id(scale).state);" - if: condition: lambda: "return x.id == 1;" then: - lambda: "id(weight2).publish_state(id(scale).state);"
th11998844 发表于 2022-8-15 14:57 想装电动车上。。。。
switch: - platform: gpio pin: 25 # 接继电器 id: relay # 其他基础配置 fpm383c: on_match: - switch.toggle: relay
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-13 20:20 , Processed in 0.365761 second(s), 24 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.