i got the Sonoff RF Bridge R1 running with the latest ESPHome and Portisch firmware.
My problem is that no matter what I do, the box stops sending signals after 1 - 2 commands. After a restart, it works again briefly before it stops again.
The ESPHome log shows that the signals are being sent, but the receiver (awning) is not responding. Is there any other way to look for the problem, or is this possibly even a known problem?
Extract from the log file:
[10:32:24][D][api:102]: Accepted 192.168.1.30
[10:32:24][W][component:237]: Component api took a long time for an operation (288 ms).
[10:32:24][W][component:238]: Components should block for at most 30 ms.[10:32:25][D][api.connection:1210]: Home Assistant 2024.5.3 (192.168.1.30): Connected successfully
[10:32:27][D][rf_bridge:217]: Sending Raw Code: AAB035050812AC0604016802E4209E012323323223232332232332232323233223323232233223323232322323233232233223322332233455
[10:32:31][D][rf_bridge:217]: Sending Raw Code: AAB035050812C00604016802E42030012323323223232332232332232323233223323232233223323232322323233232232323322323233455
As you can see, the commands are triggered but not physically sent.
I donāt have rf-bridge, but I would first verify if signals are not sent like you say, or they are sent but somehow corrupted and not recognized by receiver.
The logs you posted are from right after a restart. Iām assuming that based on the fact that you got the generic āComponents should block for at most 30 msā warning 3 seconds before you sent the command.
What happens when the awnings donāt respond? do you see any Sending Raw Code logs?
Also, double check whether the same command always sends the same raw code, because thereās a difference (E4209E vs E42030) between the first and second commands in your logs. You might be dealing with a rolling code here.
Try the same command when it stops responding and post the logs here please.
I have a feeling youāre dealing with a rolling code, at least on the device side. Might be time to start looking at the codes sent from the remote when receiving the same command in ESPHome/Portisch.
I think you misunderstand. Itās not the sending part of the code which might be incorrect - itās the receiving part.
Can you put your RF bridge to learn mode and try to learn the same code multiple times from your remote? If itās different between one command and another while using the same key on your remote, youāre dealing with a rolling code.
No idea. Thereās a black art to IR/RF communication protocols which even Voldemort wouldnāt understand.
Could be anything from the awning accepting the same code twice for the first couple of times, to the RFbridge sending the expected pattern only twice.
The only sure way to narrow it down is to listen to the same command sent multiple times from the original remote. If itās always the same, then itās not a rolling code. If it isnāt, then the RFbridge might not have gotten the correct pattern down and youāve got a bigger issue on your hands.
Another simple thing you can do is power the Sonoff Bridge using your best quality power supply to help rule out power issues.
Like use your phone charger. IIRC These things are usb powered.
Rolling Codes are more common on devices that benefit from security. It would be unusual for blinds to use them. Awnings Iām not so sure about but wouldnāt have thought so.
Do I recall correctly that the bridges have an led that lights up when a signal is sent? Can you see that happen?
You may also want to switch logs to verbose mode at this point.
I agree for the power supply. Could be that the separate IC for RF is having power issues.
Real rolling codes wouldnāt behave like this, but no one can prevent cinese tech to implement some custom ārolling codeā kind of stuff.
Even if rolling codes are more common in security applications, they are used nowadays also in low cost general stuff. I remember Aldi was selling 10 years ago 4$ RF outlet switches with rolling code. My gate opener is a french made piece of crap, but remote is rolling code.
From a manufacturer/supplier perspective, an awning isnāt any different from a garage door. I wouldnāt put it past them to use the same chip for both applications and use rolling codes for both.