I am not sure if this is possible, but I need some help with an idea I have. I am trying to utilize a garage door style safety sensor (photo 1), to control a mini electromagnetic solenoid lock (photo 2) so that when something crosses the beam the solenoid is "open", and once it's clear of the beam the solenoid stays "closed"
The part I am having trouble with is I want the the lock to be wireless. Either bluetooth or radio type relay, and very compact. I am just not sure what type of relay(s) to use. The third photo below is what I found on amazon, but not sure if it's even close to what will work.
Any info would be greatly appreciated, as I am a complete novice when it comes to this stuff.



The part I am having trouble with is I want the the lock to be wireless. Either bluetooth or radio type relay, and very compact. I am just not sure what type of relay(s) to use. The third photo below is what I found on amazon, but not sure if it's even close to what will work.
Any info would be greatly appreciated, as I am a complete novice when it comes to this stuff.


