Sorry for the late response, y’all! It’s been a busy week.
While trying to get all the information I could for @Rainer_HA, I think I have figured out why it’s working for me… and the I kind of feel silly for not knowing (but I’m brand new to Home Assistant and all these smart devices, so cut me a bit of slack ).
TLDR: I originally set up MQTT (as described earlier in the post) for another device I have, a Theengs Plug, that I bought only for power consumption monitoring. Well, it apparently is also a BLE MQTT gateway, and it’s picking up the BLE data for the Govee devices.
For posterity though, I’ll answer all of @Rainer_HA’s questions above:
- Version Information
Govee Thermometer/Hygrometer Firmware Version: 1.03.04
Govee Thermometer/Hygrometer Hardware Version: 1.00.02
- Screenshots! These are fresh screenshots, but a lot are duplicated from my previous replies, but still wanted to add here for completeness.
Mosquitto Addon Configuration:
MQTT Integration Configuration:
2.1: User Information
I created a new user (not an Admin) in Home Assistant: MosquitoMQTT. The username and password is set in the MQTT Integration (Devices & Services → MQTT → Configure → Reconfigure MQTT).
- Networking Information
This part was key for me to understand what’s going on.
You can see the Govee device is connected to “Bottle Warmer”, which is my Theengs plug (MAC c8:f0:9e:b9:4d:54).
In my router connection logs, I was able to see my Govee devices connecting every 10/30/60 minutes based on whatever I have it configured to in the Govee app. Typically, I have mine set to 30 minutes, but I played around with it this morning.
The Govee device MAC addresses do differ between what I’m seeing in my router versus what I’m seeing in HA; this is because the WiFi mac address is different from the BLE mac address (obviously). I point this out just because this is ultimately how I figured out I was definitely getting this data via bluetooth and not wifi.
- Sniffed MQTT Message
At this point, I was pretty sure I knew what was going on, but I got an MQTT client to sniff the actual messages being sent to make sure:
And you can see in the topic BTtoMQTT
.
So basically my assertion in my first post on this thread that I got this working with WiFi alone was completely wrong; I had been picking up the BLE messages and just didn’t know it at the time.
Sorry for the goose chase y’all, I’ll see myself out.