Grove - 433MHz Simple RF link kit

Of course that both of functions you said can be used. For the price , the question is you want to contain what a Grove input sensor and you want to achieve what use.

best regards,
deray