Server_url = mqtt://User:pass@localhost:1883/

Sent from my iPad

> On 29 Aug 2019, at 14:08, Rui Pinto <ruialexandrepinto1...@gmail.com> wrote:
> 
> Hello!!
> 
> I'm trying to publish data to a topic in the Mosquitto broker through 
> authentication. 
> I succedd without authentication but i wanted to publish data with 
> authentication.
> 
> I successfully changed the user and password in the mosquitto configurations, 
> but i don't know where do i put the username and password in the Weewx 
> configurations.
> 
> I don't know if i have to put the username and password in the weew.conf 
> file...
> Here's my configuration of MQTT in Weewx.conf: 
> 
> [StdRESTful]
>     [[MQTT]]
>        server_url = mqtt://localhost:1883/
>        topic = weewx/default/default/VantagePro2
>        unit_system = METRIC
> -- 
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/63673c7b-da3a-4e5f-b865-ce802dd01c5f%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6DC12C23-D3BC-42C6-943E-42E1E149A86E%40gmail.com.

Reply via email to