-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending duration (IR-style) RF transmissions #778
Comments
I only use my Broadlink for RF and it certainly does handle variable length on and off pulses. The Broadlink doesn't actually understand the transmitted protocol, it just sends those variable length pulses as instructed by the recorded sequence. Have you managed to record an RF sequence with the Broadlink and play it back? There is more detail on the broadlink file protocol in this comment thread, particularly towards the end #57 |
That's a shame you can't record the original signal. Makes it much harder to progress. Have you tried the specified frequency version of the code, i.e. https://github.com/brentleeper/python-broadlink? I found it much easier to record my signals with that patch. As an example of an RF signal that does work, here is a short one I use to set my ceiling fan to speed 1.
I send this signal as a text file to the Broadlink as follows:
Here is a breakdown of how that signal is structured so Broadlink can process it:
This is what a chart of those pulse lengths looks like which can easily be read as 1's and 0's This is a capture from URH of my Broadlink sending that same signal so you can see the correlation of the pulse lengths. I don't know how you have generated that message you are attempting to send but if it isn't in the right structure the Broadlink won't be able to process it to transmit. It needs those other bits such as payload length and termination bytes. |
protocol.md mentions that the format for sending signals with broadlink for IR is pairs of on/off durations, however for RF this does not seem to be the case. With my RM4 Pro and observing with a rtl-sdr dongle, it appears that instead of being on/off durations, the data sent is just the delay between momentary on transmissions. So I can control how long in between pulses, but not how long each pulse is.
This kind of signalling is insufficient for the blinds in my house (Sunbell) which require a series of pulses of different lengths to be transmitted over RF. I've tried different modes (changing b2 to nearby values changes the RF frequency, but not the signal itself), but I've not been able to get broadlink to do something like this.
Has anyone been able to do on/off/on/off duration style transmissions over RF? If so, how? There's clearly bits of the protocol not fully reversed, as the alternate RF values of b0, b1, b3, etc. transmit on nearby frequencies but aren't documented anywhere that I can find online.
The text was updated successfully, but these errors were encountered: