Oh, that are very different things. In Section [StdRestful][[MQTT]] that's the username and password, the *WeeWX MQTT extension* needs to *send* data to the MQTT broker.
In Section [StdREport][[Belchertown]] or skin.conf that's the username and password, the *user's browser* (that displays the website, may be at the other end of the world) needs to *receive* data from the MQTT broker. If the broker does not require a username and/or password to receive data (i.e. allows anonymous read access), the parameters remain empty here. [email protected] schrieb am Samstag, 30. Oktober 2021 um 14:49:26 UTC+2: > Hi all > > My question is about Belchertown skin last update with new > parameters; mqtt_websockets_username and mqtt_websockets_password > > In weewx.conf I have a paragraph (from mqtt github): > [StdRESTful] > [[MQTT]] > server_url = mqtt://xxxxxxxxxxx:yyyyyyyyyyyy@localhost:1883/ > topic = weather > > and 2 new lines (from skin.conf): > mqtt_websockets_username = "xxxxxxxxxxxx" > mqtt_websockets_password = "yyyyyyyyyyyyy" > > Why I am obliged to duplicate username and password in the same file? > > Many thanks > > Have a good week-end > > > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/833aea25-e467-4cc3-87c0-b8a576f27d7en%40googlegroups.com.
