Raspberry Pi OS service to control Tasmota RGBW flashed light bulbs with a Kano Harry Potter Wand using Bluetooth and the MQTT protocol.
- (Optional) Setup Home Assistant Core on the Raspberry Pi.
- Install Mosquitto
- Run
sudo apt-get install mosquitto
in a terminal. - (Optional) Install the MQTT integration for Home Assistant Core and setup with Mosquitto broker.
- Run
- Flash light bulb with Tasmota firmware using tuya-convert.
I played it safe, and only flashed one at first.
- Once flashed, you can check the information page on the site hosted at the device's IP address, and see if it has enough space to load the latest firmware version. If it has, do an OTA update.
- Get a Tasmota template for your light bulb and paste it in the Template field at
http://%DEVICE_IP%/co?
.The BNeta GU10 RGBW template on the site didn't work for my BNeta GU10 RGBW 6W light bulbs, the picture doesn't even look like the same model. I saw a picture of another light bulb that looked almost exactly the same as the ones I have, so I guessed it couldn't hurt to try its' template before forcing it open to have a look at the GPIO connections. Thankfully all the functionality worked as expected. >> I modified the template to have
PWM1 (37)
atGPIO5
, and setGPIO12
toNone (0)
since my light bulbs are only 4 channel, I've also enabled virtual colour control - Setup MQTT on the Tasmota flashed device
- (Optional) Run Command
SetOption19 1
to enable Home Assistant Auto Discovery
- (Optional) Run Command