以下是空调遥控器获取
[07:18:07][I][remote.raw:028]: Received Raw: 9013, -4466, 674, -1633, 675, -531, 674, -532, 675, -532, 673, -533, 674, -532, 673, -533, 673, -532, 675, -1633, 675, -532, 674, -532, 674, -1634, 674, -532, 674, -533, 673, -531, 675, -534, 673, -533, 672, -534, 673, -534, 673, -532, 673,
[07:18:07][I][remote.raw:028]: -533, 673, -1635, 672, -534, 673, -534, 672, -533, 672, -535, 672, -534, 672, -534, 671, -1638, 647, -558, 646, -1663, 673, -532, 673, -533, 674, -1635, 675, -532, 674, -19967, 673, -533, 674, -532, 675, -532, 677, -530, 677, -530, 676, -530, 678,
[07:18:07][I][remote.raw:028]: -529, 704, -502, 678, -528, 676, -531, 672, -534, 668, -538, 671, -535, 671, -536, 641, -565, 667, -539, 669, -537, 672, -534, 671, -536, 671, -535, 672, -534, 671, -535, 700, -507, 675, -531, 700, -506, 671, -537, 671, -535, 673, -534, 696, -510, 671,
[07:18:07][I][remote.raw:028]: -536, 669, -1639, 695, -512, 669, -7213, 9007, -4473, 665, -1642, 667, -540, 666, -539, 666, -541, 665, -542, 662, -543, 664, -543, 663, -543, 663, -1644, 663, -544, 662, -544, 662, -1646, 661, -545, 662, -545, 661, -545, 661, -545, 661, -546, 660,
[07:18:07][I][remote.raw:028]: -546, 661, -545, 661, -546, 660, -547, 659, -1648, 660, -546, 659, -547, 660, -547, 659, -547, 658, -549, 658, -547, 659, -1650, 657, -1651, 658, -1649, 657, -549, 658, -549, 656, -1652, 657, -550, 656, -19984, 656, -551, 655, -551, 655, -551, 654,
[07:18:07][I][remote.raw:028]: -552, 655, -552, 655, -551, 654, -553, 654, -553, 653, -552, 630, -577, 640, -566, 629, -577, 653, -553, 654, -553, 628, -577, 629, -578, 628, -578, 628, -579, 627, -580, 627, -579, 627, -579, 627, -580, 626, -580, 626, -579, 628, -579, 627, -580, 626,
[07:18:07][I][remote.raw:041]: -580, 627, -583, 623, -602, 604, -581, 626, -1704, 603, -603, 604
[07:18:07][W][component:237]: Component remote_receiver took a long time for an operation (153 ms).
[07:18:07][W][component:238]: Components should block for at most 30 ms.
以下是手机万能遥控获取
[07:18:12][I][remote.raw:041]: Received Raw: 331
[07:18:19][I][remote.raw:028]: Received Raw: 9025, -4473, 576, -1633, 576, -524, 577, -523, 577, -523, 577, -1632, 577, -524, 576, -523, 578, -522, 578, -1633, 576, -523, 577, -523, 577, -1633, 577, -523, 578, -523, 576, -524, 577, -523, 577, -523, 577, -523, 576, -524, 576, -524,
[07:18:19][I][remote.raw:028]: 576, -523, 577, -1633, 577, -523, 578, -522, 577, -524, 576, -524, 576, -523, 577, -523, 578, -1632, 577, -523, 576, -1634, 576, -524, 576, -524, 576, -1634, 575, -524, 630, -20175, 575, -525, 576, -524, 575, -525, 576, -524, 575, -525, 576, -524, 575,
[07:18:19][I][remote.raw:028]: -525, 575, -525, 576, -524, 576, -524, 574, -527, 573, -525, 576, -524, 578, -1632, 576, -524, 575, -525, 574, -526, 550, -550, 550, -550, 577, -522, 577, -524, 576, -524, 576, -524, 572, -528, 572, -528, 542, -558, 540, -560, 539, -561, 539, -561,
[07:18:19][I][remote.raw:028]: 539, -1671, 538, -1673, 539, -561, 589, -7707, 9088, -4512, 566, -1646, 572, -526, 538, -562, 536, -564, 537, -1673, 537, -563, 537, -562, 574, -527, 537, -1673, 537, -563, 538, -561, 572, -1639, 566, -533, 573, -528, 537, -562, 599, -501, 598, -502,
[07:18:19][I][remote.raw:028]: 576, -524, 566, -534, 539, -561, 565, -535, 567, -1644, 567, -532, 568, -532, 569, -531, 573, -527, 567, -533, 569, -532, 568, -1642, 571, -1639, 567, -1643, 571, -528, 570, -531, 567, -1643, 562, -538, 643, -20186, 568, -533, 564, -536, 565, -535,
[07:18:19][I][remote.raw:028]: 565, -535, 564, -536, 562, -537, 562, -540, 564, -535, 564, -535, 561, -540, 563, -537, 562, -538, 563, -538, 559, -539, 560, -541, 558, -542, 560, -539, 561, -540, 559, -540, 563, -537, 562, -1648, 561, -540, 559, -540, 562, -539, 561, -538, 564,
[07:18:19][I][remote.raw:041]: -536, 563, -537, 563, -537, 564, -1647, 560, -540, 561, -1648, 561, -539, 561
[07:18:19][W][component:237]: Component remote_receiver took a long time for an operation (152 ms).
[07:18:19][W][component:238]: Components should block for at most 30 ms.
[07:18:20][I][remote.raw:041]: Received Raw: 551
[07:18:22][I][remote.raw:041]: Received Raw: 704
[07:18:31][I][remote.raw:028]: Received Raw: 9024, -4472, 577, -1633, 576, -524, 576, -524, 577, -1634, 575, -1634, 577, -522, 577, -523, 577, -522, 579, -1633, 576, -523, 578, -524, 576, -1632, 577, -525, 575, -524, 577, -523, 575, -525, 577, -523, 576, -524, 576, -524, 575, -524,
[07:18:31][I][remote.raw:028]: 576, -525, 576, -1633, 591, -510, 576, -524, 575, -525, 575, -524, 577, -523, 576, -525, 575, -1634, 575, -526, 574, -1635, 576, -524, 575, -525, 574, -1636, 575, -526, 626, -20179, 572, -526, 575, -525, 573, -527, 575, -524, 573, -527, 550, -551, 576,
[07:18:31][I][remote.raw:028]: -524, 575, -525, 577, -523, 575, -525, 574, -526, 572, -528, 571, -529, 568, -1642, 541, -559, 540, -560, 540, -560, 540, -560, 537, -562, 538, -563, 539, -560, 542, -559, 565, -534, 539, -561, 541, -560, 567, -533, 567, -532, 567, -533, 571, -529,
[07:18:31][I][remote.raw:028]: 600, -1611, 570, -1640, 567, -1643, 623, -7674, 9120, -4479, 597, -1615, 564, -535, 569, -530, 571, -1640, 564, -1645, 568, -531, 569, -532, 568, -532, 562, -1649, 564, -537, 563, -537, 563, -1646, 565, -536, 557, -542, 560, -540, 562, -538, 561, -539,
[07:18:31][I][remote.raw:028]: 560, -541, 533, -565, 534, -566, 559, -543, 534, -1675, 559, -540, 558, -543, 557, -543, 534, -565, 563, -538, 560, -539, 561, -1649, 561, -1650, 560, -1650, 559, -541, 560, -539, 561, -1651, 560, -539, 640, -20188, 559, -543, 556, -543, 559, -540,
[07:18:31][I][remote.raw:028]: 560, -541, 557, -541, 560, -541, 559, -542, 558, -542, 558, -541, 559, -543, 532, -567, 532, -568, 533, -567, 557, -543, 546, -554, 532, -568, 532, -568, 532, -568, 532, -568, 556, -545, 530, -1680, 532, -567, 532, -569, 531, -569, 531, -569, 531,
[07:18:31][I][remote.raw:041]: -568, 532, -569, 530, -570, 530, -1680, 529, -571, 530, -1680, 529, -1681, 528
请教怎么用esphome实现控制格力空调,我自己写的
button:
- platform: template
name: "ykTest Button"
on_press:
- remote_transmitter.transmit_raw:
carrier_frequency: 38kHz
code: [9013, -4466, 674, -1633, 675, -531, 674, -532, 675, -532, 673, -533, 674, -532, 673, -533, 673, -532, 675, -1633, 675, -532, 674, -532, 674, -1634, 674, -532, 674, -533, 673, -531, 675, -534, 673, -533, 672, -534, 673, -534, 673, -532, 673, -533, 673, -1635, 672, -534, 673, -534, 672, -533, 672, -535, 672, -534, 672, -534, 671, -1638, 647, -558, 646, -1663, 673, -532, 673, -533, 674, -1635, 675, -532, 674, -19967, 673, -533, 674, -532, 675, -532, 677, -530, 677, -530, 676, -530, 678, -529, 704, -502, 678, -528, 676, -531, 672, -534, 668, -538, 671, -535, 671, -536, 641, -565, 667, -539, 669, -537, 672, -534, 671, -536, 671, -535, 672, -534, 671, -535, 700, -507, 675, -531, 700, -506, 671, -537, 671, -535, 673, -534, 696, -510, 671, -536, 669, -1639, 695, -512, 669, -7213, 9007, -4473, 665, -1642, 667, -540, 666, -539, 666, -541, 665, -542, 662, -543, 664, -543, 663, -543, 663, -1644, 663, -544, 662, -544, 662, -1646, 661, -545, 662, -545, 661, -545, 661, -545, 661, -546, 660, -546, 661, -545, 661, -546, 660, -547, 659, -1648, 660, -546, 659, -547, 660, -547, 659, -547, 658, -549, 658, -547, 659, -1650, 657, -1651, 658, -1649, 657, -549, 658, -549, 656, -1652, 657, -550, 656, -19984, 656, -551, 655, -551, 655, -551, 654, -552, 655, -552, 655, -551, 654, -553, 654, -553, 653, -552, 630, -577, 640, -566, 629, -577, 653, -553, 654, -553, 628, -577, 629, -578, 628, -578, 628, -579, 627, -580, 627, -579, 627, -579, 627, -580, 626, -580, 626, -579, 628, -579, 627, -580, 626, -580, 627, -583, 623, -602, 604, -581, 626, -1704, 603, -603, 604]
- platform: template
name: "sjTest Button"
on_press:
- remote_transmitter.transmit_raw:
carrier_frequency: 38kHz
code: [9025, -4473, 576, -1633, 576, -524, 577, -523, 577, -523, 577, -1632, 577, -524, 576, -523, 578, -522, 578, -1633, 576, -523, 577, -523, 577, -1633, 577, -523, 578, -523, 576, -524, 577, -523, 577, -523, 577, -523, 576, -524, 576, -524, 576, -523, 577, -1633, 577, -523, 578, -522, 577, -524, 576, -524, 576, -523, 577, -523, 578, -1632, 577, -523, 576, -1634, 576, -524, 576, -524, 576, -1634, 575, -524, 630, -20175, 575, -525, 576, -524, 575, -525, 576, -524, 575, -525, 576, -524, 575, -525, 575, -525, 576, -524, 576, -524, 574, -527, 573, -525, 576, -524, 578, -1632, 576, -524, 575, -525, 574, -526, 550, -550, 550, -550, 577, -522, 577, -524, 576, -524, 576, -524, 572, -528, 572, -528, 542, -558, 540, -560, 539, -561, 539, -561, 539, -1671, 538, -1673, 539, -561, 589, -7707, 9088, -4512, 566, -1646, 572, -526, 538, -562, 536, -564, 537, -1673, 537, -563, 537, -562, 574, -527, 537, -1673, 537, -563, 538, -561, 572, -1639, 566, -533, 573, -528, 537, -562, 599, -501, 598, -502, 576, -524, 566, -534, 539, -561, 565, -535, 567, -1644, 567, -532, 568, -532, 569, -531, 573, -527, 567, -533, 569, -532, 568, -1642, 571, -1639, 567, -1643, 571, -528, 570, -531, 567, -1643, 562, -538, 643, -20186, 568, -533, 564, -536, 565, -535, 565, -535, 564, -536, 562, -537, 562, -540, 564, -535, 564, -535, 561, -540, 563, -537, 562, -538, 563, -538, 559, -539, 560, -541, 558, -542, 560, -539, 561, -540, 559, -540, 563, -537, 562, -1648, 561, -540, 559, -540, 562, -539, 561, -538, 564, -536, 563, -537, 563, -537, 564, -1647, 560, -540, 561, -1648, 561, -539, 561]
无法控制,空调没有反应
|