If it was me, I would remove the relay, use the LED in the opto .
Connect the opto transistor to the Arduino input.
Make sure you have bounce suppression, either hardware or software or both.
If it was me, I would remove the relay, use the LED in the opto .
Connect the opto transistor to the Arduino input.
Make sure you have bounce suppression, either hardware or software or both.