From the ESP connected to the buttons, you send a message with the state of the four buttons by ESP-NOW and the receiver ESP replicate the states of the buttons in the relay module. So, when the the programmed state in a button change, the sender send another message to the receive ...