本人小白,最近在看esphome,受用nodemcu8266发现个问题,esphome的红外发射,无法成功,不知道有没有大神可以指点一下,接受码可以正常接收,有日志输出,发射的时候,总是一打开就关闭没有信息显示,不知道什么原因,配置如下remote_transmitter:
pin: GPIO4
carrier_duty_percent: 50%
switch:
- platform: remote_transmitter
name: "FAN Off"
raw: [4088, -1542, 1019, -510, 513, -1019, 510, -509, 511, -510, 1020,
-1020, 1022, -1019, 510, -509, 511, -510, 511, -509, 511, -510,
1020, -1019, 510, -511, 1020, -510, 512, -508, 510, -1020, 1022,
-1021, 1019, -1019, 511, -510, 510, -510, 1022, -1020, 1019,
-1020, 511, -511, 1018, -1022, 1020, -1019, 1021, -1019, 1020,
-511, 510, -1019, 1023, -1019, 1019, -510, 512, -508, 510, -511,
512, -1019, 510, -509]
|