Nettemp + OpenMQTTGateway: fast BLE to MQTT setup
· 2 min read
Nettemp can now open up to nearby Bluetooth sensors with almost no effort. The latest nettemp_client can spin up and configure the MQTT broker, set subscriber rules, and auto-discover topics. You can then choose the hardware that listens for BLE beacons:
- ESP32 with OpenMQTTGateway (active BLE scanning, Wi‑Fi uplink)
- Raspberry Pi with Bluetooth running
nettemp client+nettemp config(passive BLE sniffing)
Both paths deliver the same result—BLE sensor data lands in Nettemp over MQTT—the only difference is the device doing the listening.
Flashing OpenMQTTGateway on ESP32
- Go to https://docs.openmqttgateway.com/upload/web-install.html
- Connect the ESP32 by USB.
- Select esp32dev-ble.
- Connect to the temporary Wi‑Fi SSID broadcast by the ESP32.
- In the installer, set Wi‑Fi credentials and the MQTT broker IP/host (must be done here; later edits are limited in 1.8.0/1.8.1).
- Finish the install and reboot the ESP32.
Running on Raspberry Pi
If you already have a Pi with Bluetooth, you can keep everything on one box:
- Start
nettemp clientand usenettemp configto enable the MQTT bridge and subscriber rules. - Let it listen passively for BLE beacons and forward readings to your Nettemp MQTT broker.
Known issues / tips
- Chrome flashing glitch? Restart Chrome and retry the web installer.
- Set the MQTT server IP during the Wi‑Fi setup step—later edits are blocked in OMG 1.8.0/1.8.1.
- In
nettemp configyou can auto-discover topics, and subscribe with one save.