If you are using Home Assistant (on your LAN as the MQTT Broker) requires that 
MQTT clients support HA’s ‘discovery’ protocol by default, have you configured 
HA MQTT not to require HA’s discovery protocol? 
>From HA website
‘''
Change MQTT Discovery  Options 

The MQTT discovery options can be changed by following these steps:

Go to Settings > Devices & services.
Find the MQTT integration and select it.
To open the MQTT discovery options page, select the Configure MQTT Options 
button.
‘’'

weewx-mqtt would need to have the support the HA’s discovery protocol or you 
need to configure HA MQTT not to use mqtt discovery. 
I took a quick look at weewx-mqtt source (if that is what you are using) and I 
did not see support for the ‘discovery’ protocol.

HA requires the client use user credentials (it does not support anonymous), it 
will work with port 1883 or 8883 (TLS).

Good luck



> On Feb 16, 2026, at 4:44 AM, Alastair L <[email protected]> wrote:
> 
> Hi
> 
> I've been trying to get WeeWX talking to Home Assistant via MQTT with zero 
> success and can't find anything to point me in the right direction.  Hours 
> and hours of chats with ChatGPT have led me nowhere, well mostly round in 
> circles.  
> 
> I'm running WeeWX version 5.1.0  (previously upgraded from V4.something) on a 
> RPI4 and Home Assistant OS on another RPi4, both on the same home network.
> 
> I believe that the WeeWX log should show MQTT log lines if it is working, but 
> no MQTT configurations that I have tried have worked.  
> 
>  If anyone has successfully got the two to communicate I would be very 
> greatful if you could share the relevant MQTT entries in weewx.config.  
> 
> thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/d/msgid/weewx-user/3036ddd0-75c5-4c20-b928-134c70a6ab0dn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/2B016207-6A56-4310-8211-F8CA2D0609A9%40gmail.com.

Reply via email to