I trying to use Bluetooth HC-05 with esp8266 to connect with Mqtt broker (Raspberry Pi), I already know how to connect by Wi-Fi, because there are a lot of example code for it. But not for Bluetooth. Can it possible to use Bluetooth to connect with Mqtt with Adafruit library, does anyone know any reference code about that matter. or any way to do it. The hardware I using is HC-05 and arduino iDE.
1 Answer 1
I have Tasmota running in my gateway which has an esp8266 and a bluetooth module. Worked out of the box. The bluetooth module is not a HC05 though. You might need to write some code to string it together. Tasmota has MQTT implemented, so it is just a matter of how you translate what comes from the bluetooth module to a JSON packet to be sent via MQTT and vice-versa.
Questions seeking help finding off-site resources, examples, etc are off topic as a matter of site policy.
Citation required. \$\endgroup\$