Creating a simple BLE activated switch

Maybe you can try this project