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

 找回密码
 立即注册
楼主: natic

[进阶教程] 基于Tasmota DIY红外遥控器,支持模拟空调浴霸等高码率信号

  [复制链接]

9

主题

118

帖子

541

积分

高级会员

Rank: 4

积分
541
金钱
423
HASS币
0
发表于 2020-12-4 14:06:04 | 显示全部楼层
qiushuai1988 发表于 2020-11-28 22:03
你好,请问你解决了吗?我也遇到跟你一样的问题,每次解码都不一样

没有,我不用raw控制,所以也就没纠结。
回复

使用道具 举报

15

主题

636

帖子

2201

积分

金牌会员

Rank: 6Rank: 6

积分
2201
金钱
1565
HASS币
0
发表于 2020-12-7 23:51:32 | 显示全部楼层
呃,是图片挂了吗?
没有看到接线图,就看到面包版的实物图了,怎么接线呢? 没玩过面包版,用杜邦线接应该也可以吧?

另外,请问楼主,如果用IR Baby的硬件线路,是否也可行呢?但是是不是还得移植程序? 还是说稍微改造一下即可?
回复

使用道具 举报

23

主题

1338

帖子

6755

积分

超级版主

Rank: 8Rank: 8

积分
6755
金钱
5392
HASS币
100

教程狂人

 楼主| 发表于 2020-12-8 12:50:23 | 显示全部楼层
telanx 发表于 2020-12-7 23:51
呃,是图片挂了吗?
没有看到接线图,就看到面包版的实物图了,怎么接线呢? 没玩过面包版,用杜邦线接应该 ...

接线可以去网上搜一下红外发射+三极管的接线
没玩过ir baby不太清楚
回复

使用道具 举报

15

主题

636

帖子

2201

积分

金牌会员

Rank: 6Rank: 6

积分
2201
金钱
1565
HASS币
0
发表于 2020-12-25 17:15:30 | 显示全部楼层
大佬,首先感谢大佬,仔细看着您的面包板的图片,揣摩出来如何接线,终于刷了您修改的固件,接好线了,然后拿遥控器试了下,能够捕捉到红外命令。

我的浴霸是松下FV-40BTS1C


我拿灯光控制为例,遥控器上就一个灯的按键,有3个档位,强光挡,弱光挡,关灯。每次按遥控器,都是开灯-强光挡,然后按下同一个灯的按键,就切换为弱光挡,然后再按一次,就是关闭灯。


主要是,我捕捉了好几次,每次的IR命令的rawdata都不一样。。。。汗。这该如何是好。。。


这是第一次捕捉的弱光挡的IR码。
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3476,1752,434,470,382,1368,380,498,382,498,408,448,434,470,382,498,382,498,382,472,406,498,408,472,382,498,382,522,354,1344,434,472,382,496,382,498,382,498,380,498,408,472,382,1368,372,508,406,1316,408,1368,382,498,382,496,408,1342,380,500,382,496,380,1346,404,500,382,498,380,500,380,500,380,1344,434,1314,434,1316,434,1320,404,498,382,1368,410,446,406,498,380,500,406,472,382,1342,408,472,408,498,382,474,408,496,382,472,408,498,382,496,382,472,406,1346,406,472,408,474,432,472,384,496,384,470,408,470,408,1346,404,1370,380,500,408,472,382,498,382,496,380,498,408,446,434,472,382,500,382,1368,382,472,434,448,406,470,434,470,382,496,380,1344,432,448,408,1340,408,498,382,498,406,472,408,472,406,472,382,498,380,1342,408,1368,382,498,408,470,384,496,380,500,406,472,382,498,406,474,382,498,406,1344,408,472,380,496,382,498,382,496,408,474,408,1342,382,496,408,1316,408,1368,382,498,410,470,382,498,382,1368,396,1354,382,498,382,1370,408,1342,408,470,380,500,382,1344,432,472,382,1368,410,470,410,1342,382,30070,3448,1776,408,498,382,1340,408,472,434,446,406,498,382,496,382,474,434,470,380,476,406,468,410,496,412,444,432,446,408,1344,406,474,408,472,408,474,406,472,404,500,382,472,404,1344,436,446,380,1372,432,1342,382,472,406,472,408,1342,408,474,408,498,382,1342,408,472,434,472,382,500,380,472,406,1344,406,1342,408,1370,380,1368,382,498,380,1372,380,496,384,496,408,444,406,500,408,1316,434,446,406,474,404,474,408,472,406,472,406,472,434,446,406,498,380,1370,382,498,380,500,382,498,406,446,436,470,380,498,382,1342,434,1316,408,498,382,498,410,446,432,470,410,442,408,498,382,496,410,470,380,1370,380,500,380,474,432,472,382,472,434,444,408,1342,418,462,436,1314,434,470,382,472,460,444,380,498,382,500,406,470,410,1316,432,1318,436,442,408,498,382,470,410,498,380,500],"RawDataInfo":[487,429,0]}}
这是第二次捕捉的弱光挡的IR码
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3474,1774,410,470,410,1338,410,470,410,470,434,444,410,470,410,472,434,448,408,472,408,470,410,470,434,444,410,472,408,1340,410,472,408,470,410,472,410,468,408,472,408,470,408,1342,410,470,408,1340,408,1342,382,498,408,470,408,1342,408,472,408,470,408,1342,436,444,434,448,406,470,408,472,406,1342,410,1340,408,1342,410,1342,434,446,408,1342,382,496,408,470,408,472,408,472,410,1340,436,444,408,472,408,472,436,444,408,470,410,470,410,472,408,470,408,1342,436,444,410,470,410,470,408,470,408,472,408,472,408,1342,410,1340,410,472,434,444,410,470,408,472,408,472,410,468,408,472,408,472,408,1342,410,470,408,470,410,470,408,470,408,472,410,1340,410,468,410,1340,408,470,410,470,406,472,408,470,408,470,410,468,410,1342,410,1342,410,468,408,472,410,468,410,470,410,470,410,468,408,472,410,470,408,1318,432,472,408,470,410,470,410,470,410,470,408,1342,436,444,408,1342,410,1342,436,444,408,472,410,470,408,1340,436,1314,436,444,410,1342,410,1340,410,470,408,470,436,1314,410,470,436,1314,410,470,408,1342,436,29998,3496,1774,438,442,410,1316,432,470,410,468,408,472,410,470,436,442,382,498,410,470,410,468,408,472,434,444,436,444,410,1318,432,472,410,446,432,470,438,442,410,468,410,470,410,1338,410,472,410,1316,432,1340,410,470,434,444,436,1290,432,470,410,472,436,1312,410,468,382,474,434,470,408,472,410,1316,460,1312,410,1340,436,1314,410,470,410,1342,408,470,410,468,410,470,406,472,408,1342,408,470,438,442,410,470,408,472,410,444,434,470,410,468,382,496,408,1318,432,472,410,470,410,470,434,442,410,446,432,470,410,1340,410,1318,434,470,410,470,436,444,410,470,410,470,434,444,408,472,410,470,410,1340,436,444,410,448,432,470,436,442,408,470,410,1316,434,468,410,1342,436,444,410,470,434,446,410,470,410,468,408,446,434,1318,432,1318,458,444,384,496,408,470,436,444,436,442],"RawDataInfo":[487,429,0]}}
这是第三次捕捉的弱光的IR码
{"IrReceived":{"Protocol":"UNKNOWN","Bits":244,"Data":"ED3CBDA7","RawData":[3472,1776,382,498,408,1342,436,444,434,444,408,472,436,442,436,444,382,500,408,472,408,470,408,472,408,470,408,472,408,1342,410,496,382,472,408,470,406,474,434,444,408,472,406,1342,434,470,384,1340,436,1316,408,470,408,472,408,1342,408,472,408,472,382,1368,408,472,408,474,434,446,406,470,436,1314,410,1342,408,1342,464,1286,408,472,436,1314,410,472,408,470,408,472,488,390,464,1284,412,470,408,472,410,472,432,446,408,468,410,446,434,470,436,444,408,1342,436,444,408,472,408,498,382,470,408,470,408,470,408,1342,408,1342,436,444,408,472,408,472,410,472,406,472,434,446,406,470,434,448,434,1316,434,444,408,470,436,442,438,442,408,470,408,1342,410,470,408,1340,408,474,406,472,434,444,410,470,408,472,434,446,404,1342,410,1342,382,524,382,472,406,472,382,496,438,446,406,470,410,496,384,470,434,1316,410,496,408,442,436,444,436,444,382,498,434,1314,434,444,436,1316,436,1312,438,442,410,470,436,442,410,1340,382,1368,408,472,408,1342,408,1342,408,496,382,470,408,1344,406,474,436,1314,408,470,408,1342,408,30044,3502,1748,410,470,408,1342,408,472,436,444,410,470,408,472,436,444,406,472,410,468,436,444,408,472,410,468,436,444,410,1340,408,474,408,470,408,472,406,472,408,472,410,468,436,1314,408,474,408,1340,436,1314,410,468,410,470,434,1316,408,472,410,470,436,1314,438,442,412,470,410,468,410,470,434,1316,410,1342,408,1340,434,1316,410,472,436,1314,408,474,408,470,408,468,410,472,406,1342,408,448,430,474,432,444,410,472,438,440,410,470,410,470,464,416,408,1342,382,500,434,442,412,470,382,496,408,472,380,498,382,1368,408,1342,406,472,410,474,380,522,410,446,406,472,436,442,410,470,408,472,408,1342,412,468,408,474,408,470,436,444,406,470,406,1344,408,470,410,1342,404,474,408,470,410,470,436,442,410,470,436,442,382,1368,410,1340,438,444,408,470,410,470,408,470,408,470],"RawDataInfo":[487,429,0]}}


我看了下,好像我的IR码有430组,
是说发送命令是得 IRSend 0,后面跟430个xxx吗。。。
另外,这样的老变化的情况,该如何是好呢?
多谢大佬指点。
回复

使用道具 举报

23

主题

1338

帖子

6755

积分

超级版主

Rank: 8Rank: 8

积分
6755
金钱
5392
HASS币
100

教程狂人

 楼主| 发表于 2020-12-25 21:28:18 | 显示全部楼层
telanx 发表于 2020-12-25 17:15
大佬,首先感谢大佬,仔细看着您的面包板的图片,揣摩出来如何接线,终于刷了您修改的固件,接好线了,然后 ...

变化说明最小间隔设置的不对,这个在固件里面不好改
我现在换esphome了,还挺好用的,不明白的群里面找我
回复

使用道具 举报

15

主题

636

帖子

2201

积分

金牌会员

Rank: 6Rank: 6

积分
2201
金钱
1565
HASS币
0
发表于 2020-12-25 22:01:26 | 显示全部楼层
natic 发表于 2020-12-25 21:28
变化说明最小间隔设置的不对,这个在固件里面不好改
我现在换esphome了,还挺好用的,不明白的群里面找我 ...

小弟一直没能加到总群。。。一直在新手2群。。。
请教大神如何联系?
我QQ 22917371.
回复

使用道具 举报

15

主题

636

帖子

2201

积分

金牌会员

Rank: 6Rank: 6

积分
2201
金钱
1565
HASS币
0
发表于 2020-12-25 22:03:01 | 显示全部楼层
natic 发表于 2020-12-25 21:28
变化说明最小间隔设置的不对,这个在固件里面不好改
我现在换esphome了,还挺好用的,不明白的群里面找我 ...

小弟一直没能加到总群。。。一直在新手2群。。。
请教大神如何联系?总群加群答案是什么啊?
我QQ 22917371.
回复

使用道具 举报

9

主题

141

帖子

1634

积分

金牌会员

Rank: 6Rank: 6

积分
1634
金钱
1493
HASS币
0
发表于 2021-1-29 21:34:08 | 显示全部楼层
康康zsbd
回复

使用道具 举报

2

主题

126

帖子

1399

积分

金牌会员

Rank: 6Rank: 6

积分
1399
金钱
1273
HASS币
0
发表于 2021-3-15 16:07:30 | 显示全部楼层
感谢分享,进来学习
回复

使用道具 举报

0

主题

27

帖子

1070

积分

金牌会员

Rank: 6Rank: 6

积分
1070
金钱
1043
HASS币
0
发表于 2021-3-24 11:32:19 | 显示全部楼层
看看学习
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 17:58 , Processed in 0.175688 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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