Hi,
can please someone explain me the difference between the 2 different captured lines in the log, with a receiver
remote_receiver:
pin:
number: GPIO04
inverted: true
#dump: nec
#dump: raw
dump: all
i get the following lines logged:
[14:02:34][D][remote.raw:028]: Received Raw: 593, -1566, 1683, -494, 592, -1589, 1661, -521, 564, -1566, 1683, -521, 563, -1567, 1686, -520, 562, -1565, 1689, -493, 589, -1591, 1660, -521, 565, -1589, 1662, -520, 538, -1616, 1663, -519, 564, -1590, 566, -1568, 590, -1590, 567, -1567,
[14:02:34][D][remote.raw:041]: 590, -1565, 591, -1591, 569, -1566, 1683, -494, 593
[14:02:34][D][remote.raw:028]: Received Raw: 594, -1589, 1659, -524, 563, -1565, 1660, -546, 566, -1566, 1658, -546, 566, -1589, 1634, -548, 566, -1565, 1660, -520, 589, -1590, 1662, -520, 564, -1570, 1681, -523, 539, -1615, 1662, -520, 564, -1565, 592, -1591, 568, -1568, 589, -1591,
[14:02:34][D][remote.raw:041]: 567, -1590, 566, -1569, 590, -1567, 1683, -522, 539
[14:02:34][D][remote.raw:028]: Received Raw: 589, -1564, 1686, -521, 567, -1565, 1683, -496, 590, -1567, 1683, -521, 566, -1567, 1683, -521, 567, -1564, 1685, -522, 565, -1564, 1685, -498, 591, -1588, 1662, -493, 593, -1567, 1685, -520, 566, -1589, 568, -1565, 591, -1592, 1661, -521,
[14:02:34][D][remote.raw:041]: 564, -1591, 568, -1589, 567, -1591, 1661, -522, 565
[14:02:34][D][remote.raw:028]: Received Raw: 593, -1566, 1688, -520, 564, -1590, 1661, -496, 590, -1566, 1689, -491, 592, -1564, 1687, -495, 592, -1565, 1687, -519, 563, -1569, 1686, -495, 589, -1564, 1687, -496, 593, -1562, 1687, -496, 591, -1564, 592, -1591, 567, -1564, 1689, -493,
[14:02:34][D][remote.raw:041]: 594, -1588, 567, -1566, 592, -1563, 1663, -546, 565
[14:02:34][D][remote.raw:028]: Received Raw: 593, -1565, 1687, -521, 564, -1563, 1689, -521, 539, -1592, 1686, -494, 592, -1589, 1662, -493, 592, -1564, 1687, -495, 583, -1573, 1670, -511, 592, -1562, 1691, -492, 598, -1561, 1686, -492, 594, -1564, 593, -1568, 591, -1564, 1687, -492,
[14:02:34][D][remote.raw:041]: 594, -1564, 594, -1567, 591, -1589, 1662, -493, 592
[14:02:35][D][remote.raw:028]: Received Raw: 594, -1567, 1686, -495, 589, -1565, 1686, -522, 564, -1590, 1662, -493, 592, -1567, 1660, -518, 592, -1567, 1686, -520, 564, -1592, 1663, -519, 567, -1563, 1686, -522, 566, -1563, 1689, -519, 566, -1564, 592, -1564, 595, -1564, 1689, -521,
[14:02:35][D][remote.raw:041]: 566, -1588, 569, -1561, 595, -1567, 1660, -546, 565
[14:02:35][D][remote.raw:028]: Received Raw: 594, -1567, 1682, -523, 566, -1564, 1687, -521, 565, -1562, 1690, -494, 592, -1567, 1684, -497, 589, -1566, 1685, -521, 563, -1567, 1687, -496, 589, -1591, 1663, -520, 563, -1568, 1685, -494, 594, -1565, 592, -1564, 594, -1567, 1685, -519,
[14:02:35][D][remote.raw:041]: 565, -1565, 594, -1591, 567, -1563, 1690, -520, 565
there are lines with remote.raw:028
and on the other hand lines with remote.raw:041
.
When i set up my sender like this (with the codes from the longer remote.raw:028
lines:
remote_transmitter:
- id: screen
pin: D6
carrier_duty_percent: 50%
switch:
- platform: template
name: "Screen down"
turn_on_action:
remote_transmitter.transmit_raw:
#repeat:
# times: 15
# wait_time: 0s
#code: [591,-1567,1658,-518,592,-1566,1684,-495,563,-1593,1657,-519,592,-1565,1659,-521,563,-1592,1658,-520,590,-1568,1658,-522,565,-1588,1659,-522,563,-1594,1656,-519,568,-1591,590,-1568,564,-1589,593,-1569]
#code: [578,-1585,1666,-512,573,-1585,1668,-513,577,-1583,1666,-514,573,-1584,1666,-515,577,-1581,1668,-513,577,-1581,1667,-514,575,-1583,1668,-514,577,-1582,1669,-511,574,-1585,575,-1580,577,-1583,575,-1583]
code : [ 591, -1565, 1680, -524, 563, -1566, 1680, -523, 537, -1595, 1655, -548, 536, -1592, 1681, -524, 560, -1593, 1634, -546, 538, -1591, 1682, -522, 564, -1567, 1681, -498, 562, -1616, 1659, -522, 1655, -496, 1681, -523, 562, -1568, 564, -1617, 592, -1589, 1633, -548, 561, -1592, 1659, -521, 563, -1565, 1685, -521, 566, -1564, 1683, -521, 563, -1566, 1683, -523, 563, -1567, 1682, -522, 542, -1611, 1659, -524, 562, -1590, 1633, -523, 1679, -496, 1683, -500, 561, -1593, 563, -1596, 593, -1565, 1681, -523, 565, -1567, 1681, -521, 563, -1591, 1662, -491, 594, -1588, 1658, -496, 591, -1566, 1685, -520, 562, -1567, 1684, -494, 590, -1591, 1659, -523, 561, -1592, 1660, -496, 1683, -521, 1656, -523, 564, -1589, 541, -1617, 589, -1591, 1659, -527, 559, -1566, 1681, -524, 563, -1565, 1683, -524, 538, -1591, 1683, -495, 590, -1568, 1684, -520, 562, -1569, 1680, -498, 593, -1561, 1685, -493, 594, -1590, 1659, -493, 1685, -493, 1688, -490, 595, -1562, 594, -1568, 618, -1539, 1682, -523, 563, -1568, 1682, -523, 562, -1592, 1659, -494, 592, -1564, 1686, -495, 563, -1593, 1684, -493, 590, -1568, 1684, -493, 592, -1566, 1659, -520, 565, -1592, 1683, -494, 1686, -492, 1661, -546, 565, -1568, 588, -1567, 594, -1567, 1679, -524, 562, -1567, 1683, -495, 563, -1595, 1683, -522, 561, -1569, 1658, -547, 564, -1565, 1683, -524, 537, -1592, 1683, -523, 561, -1569, 1683, -498, 562, -1591, 1684, -523, 1657, -522, 1657, -494, 591, -1565, 593, -1565, 589, -1563, 1686, -522, 563, -1593, 1660, -520, 563, -1590, 1661, -520, 566, -1588, 1660, -495, 591, -1591, 1633, -547, 564, -1565, 1685, -496, 590, -1567, 1682, -523, 563, -1591, 1660, -495, 1683, -497, 1682, -494, 591, -1567, 592, -1590, 593, -1563, 1686, -492, 593, -1565, 1659, -520, 591, -1568, 1682, -494, 593, -1562, 1686, -495, 565, -1591, 1685, -495, 592, -1564, 1660, -547, 564, -1564, 1660, -548, 537, -1591, 1686, -494, 1685, -494, 1660, -546, 564, -1566, 590, -1592, 593, -1565, 1686, -494, 593, -1560, 1687, -494, 594, -1564, 1684, -495, 592, -1564, 1689, -519, 564, -1590, 1659, -495, 593, -1559, 1690, -496, 564, -1592, 1682, -493, 593, -1569, 1684, -520, 1657, -496, 1658, -546, 540, -1591, 589, -1567]
carrier_frequency: 38kHz
I can capture the following lines on the same receiver:
[14:12:41][D][remote.raw:028]: Received Raw: 583, -1609, 1730, -487, 502, -1656, 1702, -479, 558, -1583, 1709, -533, 499, -1612, 1706, -502, 534, -1625, 1680, -510, 558, -1578, 1735, -506, 502, -1636, 1706, -452, 507, -1706, 1679, -512, 1653, -480, 1733, -476, 508, -1628, 533, -1657,
[14:12:41][D][remote.raw:028]: 559, -1629, 1679, -511, 508, -1653, 1708, -479, 509, -1629, 1733, -508, 558, -1550, 1736, -507, 478, -1630, 1732, -510, 479, -1629, 1710, -504, 594, -1568, 1704, -486, 507, -1655, 1677, -514, 1672, -510, 1681, -510, 480, -1652, 509, -1657, 616, -1550,
[14:12:41][D][remote.raw:028]: 1737, -477, 558, -1579, 1736, -475, 508, -1652, 1708, -455, 613, -1574, 1684, -508, 507, -1629, 1734, -478, 509, -1656, 1707, -480, 508, -1655, 1704, -485, 506, -1651, 1684, -512, 1704, -507, 1678, -510, 503, -1656, 568, -1570, 536, -1684, 1651, -512,
now with remote.raw:028
, and you guess, the motor screen does exactly nothing.
Something must be still wrong.