Hi Alan,
In this case, you can probably control the bulb directly from your BLE sensor and get a near-immediate response, avoiding the delay. The Magic Blue bulb has a command you can send to switch it off / on via BLE. In fact, I did something similar with my ng-beacon BLE device:
Basically, it senses the temperature and changes the bulb color accordingly. You can read about it and find the source code in this post. One thing that I find really missing in the current Magic Blue firmware is security — anyone within range can connect to the bulb and control it, which I found a little disturbing. So if you are going to tinker with the firmware, this is something you may want to look at.