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

 找回密码
 立即注册
查看: 859|回复: 0

[技术探讨] Esphome射频窗帘操作问题

[复制链接]

10

主题

85

帖子

1136

积分

金牌会员

Rank: 6Rank: 6

积分
1136
金钱
1051
HASS币
0
发表于 2022-5-19 13:23:14 | 显示全部楼层 |阅读模式
问大家一下,是不是一个Esphome 配置就只支持一个cover,不能操作多个

cover:
  - platform: template
    name: "Cover_ChaShii"
    open_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '1100001010011001100000000000010100110011'
          protocol:
            pulse_length: 350
            sync: [14, 4]
            zero: [1, 2]
            one: [2, 1]
          repeat:
            times: 5
            wait_time: 7500us
    close_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '1100001010011001100000000000010100010001'
          protocol:
            pulse_length: 350
            sync: [14, 4]
            zero: [1, 2]
            one: [2, 1]
          repeat:
            times: 5
            wait_time: 7500us
    stop_action:
      - remote_transmitter.transmit_rc_switch_raw:
          code: '1100001010011001100000000000010101010101'
          protocol:
            pulse_length: 350
            sync: [14, 4]
            zero: [1, 2]
            one: [2, 1]
          repeat:
            times: 5
            wait_time: 7500us

  - platform: template #这个再接第二个窗帘,没办法在HA上显示,只显示一个
    name: "Cover_ChaShii1"

.   .....同上一配置
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-6 18:24 , Processed in 1.321566 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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