Closed stich86 closed 5 years ago
see carrier duty cyle option as the docs specify
sorry, it was an old yaml file, i've under remote transmitter:
carrier_duty_percent: 100%
i've done some test with BusPirate, it looks like that RCSwitch library on this project doesn't generate correct sync bit:
This is my code sent by rc-switch on an arduino sketch (that open gate):
And this is the one generated by esphome:
using same protocol definition and code
i'm trying also to change sync bit to different value.. but it doesn't create it :(
The sync bit is sent at the end of each transmission, not at the beginning (rc switch also does this).
What might be your issue is that while rc switch resends the packet multiple times by default, esphome does not do so, but that can be configured (see docs).
Then it would look like the sync bit is sent at the beginning of a transmission.
I’m not sure. All the test I’ve done (and also the wiki stated for rc-switch) the RF is composed by:
Sync bit + Manufactur code + action code. In my case just the first two are available because it’s a gate opener.
I’ve tried what you suggest but there is not sync bit trace on the capture. Using raw component and my timings (first two number are sync bits and the the code) works.
Well the code says something else: https://github.com/sui77/rc-switch/blob/master/RCSwitch.cpp#L506 - the sync bit is sent after all data bits. ESPHome does the same: https://github.com/esphome/esphome-core/blob/dev/src/esphome/remote/rc_switch_protocol.cpp#L66
Closing due to inactivity.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Docker ESP (ESP32/ESP8266, Board/Sonoff):
ESP8266 + FS1000A (315Mhz) Affected component:
Description of problem:
i'm trying to use a Remote Transmitter part to open a gate. I'm successfully using rc-switch (with custom protocol) library with a simple sketch that works without problem. In my sketch i'm using code in decimal (no binary), but i've converted my dec 2 bin and still not works :(
Problem-relevant YAML-configuration entries:
Traceback (if applicable):
Additional information and things you've tried: