Closed i2r closed 1 year ago
a couple of milliseconds
a couple of ms would be quite ok, but the signal you are sending is over 200ms... Anyway, as I said before, it should be able to recover from that just fine actually.
Can you share how the new screenshots look like? I'd like to see how much more accurate it becomes
Can you share how the new screenshots look like? I'd like to see how much more accurate it becomes
Unfortunately I only have a single device with both a receiver and a transmitter, maybe @i2r can test out the above and report back.
Oh, I think it would be wise to try re-adding the feed_wdt calls. Failling to feed the watchdog for too long will reboot the cpu, that's way worse than losing some packets
But I will check with transmitting by esp32s2 and receipting with bk7231.
Receiver is broken too. Sending signals with ESP32, receiving with bk7231. Re-added the feed_wdt calls.
remote_receiver:
pin:
number: P8
inverted: true
buffer_size: 1kB
idle: 500ms
dump: raw
Test signal with 10 repeats:
Real signal (projector volume up, short):
@dbuezas the signal is correct with your tweaks!
Receiver is disabled. Re-added the feed_wdt calls.
Test signal with 10 repeats
Real signal (projector volume up, short)
Real signal (AC, long)
Oh, interesting, the receiver is affected too? I'm not sure I got you right: Does the transmitter also works when the wdt is fed (as long as interrupts are disabled)?
Does the transmitter also works when the wdt is fed (as long as interrupts are disabled)?
Yes. Right. Transmitter works when the wdt is fed as long as interrupts are disabled.
Created a PR @ https://github.com/kuba2k2/libretuya-esphome/pull/6, so at least it doesn't just live on one of our machines.
This got closed along with the PR that I merged... thanks to @samneirinck the remote transmitter/receiver should work now :smile: If someone confirms that's the case, I'll close this issue.
Confirm, tested both receiver/transmitter
Hi. Thank you for great work.
Trying to compile firmware for bk7231.
Adding component:
Causes compiling error: