Minir4 : Alert switch S2?

Hello,
Currently, to retrieve power-on information from a device (motion detector, twilight sensor, etc.) I use a dry contact relay connected to a miniR2.
I would like to avoid going through this relay.

Does the mini r4, when it receives a voltage in S2, send a signal that can be used to create a scene?
In other words: if the switch is closed, do we know it and can we create a scene?

Thanks in advance.[en.composer.color_ui_default_text]