Bluetooth pushbutton

I want a system of two modules. One has a pushbutton and talks by bluetooth to another module which has a relay.

Simply push the button, and the relay energizes.

How do I do this?

Hi,

Which Bluetooth and controller do you want to use? Please see the link below and i hope it will help you.

https://howtomechatronics.com/tutorials … -commands/

Why does it have to be Bluetooth?