we need your help in our project.

http://fs2.directupload.net/images/150407/d7mpw7mf.png
It is a simple circuit to control a lamp over the Raspberry using a PCF expander board,
as well as a relay for switching the lamp (~230V).
The relay is switched via the expander board.
Once the lamp was switched on or off by a normal lightswitch,
the raspberry should receive the information that the status has changed.
Do you know any options to send a 5V signal to an input pin of the expander board,
if the circuit (~ 230V) is closed or open?
I need a solution in form of a possible small and cheap board,
preferably in combination with the relay.
The following board should work, but i need your assessment.
Are there better solutions?
http://de.aliexpress.com/item/Free-ship ... 82240.html
http://de.aliexpress.com/item/5A-AC-Cur ... 68708.html
Regards,
Daniel