Please guide step by step in configuring the RF mode in EspHome. I've watched all the tutorials posted here and I can't do it at all. The hardware is: KS868-A8, Rasberry Pi with Home Assistant.
I mention that in KCS Firmware v.2.0.2 ... the RF remote works correctly. In EspHome we already have a code... to actuate the relays and the imputs...etc.
My first question:
1. how do I learn and find out the codes from the remote control??
2. what code should I write in continuation of the existing one so that I can activate the relays on the board?
I can attach the code already uploaded ... and maybe someone can help me with the necessary steps.
your RF receiver module pin define is wrong.
if using KC868-A8, the pins of RF module should be:
RF433MHz wireless receiver: 2
RF433MHz wireless sender: 15
when you config correctly, press the remote's button, you will see the RF code on LOG output window.
here is example code you can use, just need replce the "code" and "protocol" by yourself:
After several unsuccessful tests.... I thought to reverse the pins of .. actually for the Receiver the pin is 15 and for the Transmitter the pin is 2. So... the pins are reversed. Now I get signals from RF Remote . Pins are for KCS868-A8 v.1.5.
Now I want to write the lines of code above, but I keep getting different errors, please help me insert the code for RF Remote in the attached yaml file. All I want, when they press the button 1 from my remote... to activate Relay 1...and so on and on,,,. I will write the rest if I have a functional model.
Regards
(07-17-2023, 06:16 AM)iulik Wrote: After several unsuccessful tests.... I thought to reverse the pins of .. actually for the Receiver the pin is 15 and for the Transmitter the pin is 2. So... the pins are reversed. Now I get signals from RF Remote . Pins are for KCS868-A8 v.1.5.
Now I want to write the lines of code above, but I keep getting different errors, please help me insert the code for RF Remote in the attached yaml file. All I want, when they press the button 1 from my remote... to activate Relay 1...and so on and on,,,. I will write the rest if I have a functional model.
Regards
Looks like I'm missing something. One thing I noticed is the YT video shows a Home Assistant connected message I don't get.... Not sure what's this connection for.
I can't see any patterns here. However how do I interpret this code?
Also what's that warning message? It looks like the receiver took 70ms but should only take between 20-30ms?
Lastly for a remote - 2 blinds I can control individually (ch. 1 or 2) or as a group (ch. 0) - there are no on and off actions like in the example but simply button press. What are the appropriate actions to take here?
Code:
[22:00:13][W][component:214]: Component remote_receiver took a long time for an operation (0.07 s).
[22:00:13][W][component:215]: Components should block for at most 20-30ms.
What do you mean not opened? I have 3 RF remotes that show the following code and don't know which parts of the data blocks I need to use for the transmit actions