fredlcore / BSB-LAN

LAN/WiFi interface for Boiler-System-Bus (BSB) and Local Process Bus (LPB) and Punkt-zu-Punkt Schnittstelle (PPS) with a Siemens® controller used by Elco®, Brötje® and similar heating systems
222 stars 84 forks source link

[FEATURE REQUEST] MQTT: port setting, username/password length, domain name as server address #493

Closed jinx17 closed 6 months ago

jinx17 commented 1 year ago

Hi, I think these additional settings should be implemented for MQTT

Maybe all of these parameters could be settable from WEB?

Best regards, Gregor

fredlcore commented 1 year ago

I think setting the port could be done in a way like web browsers do it, i.e. with a colon after the IP. Longer variables can simply done by the user by changing the respective variable in BSB_LAN_config.h. DNS resolution would certainly be necessary if users want to use MQTT broker outside the home network. Will have to look into that if that's easily doable.

juergen852 commented 9 months ago

I would also appreciate DNS resolution.

fredlcore commented 6 months ago

I have just added functionality for using hostnames (IP addresses are still possible, too) and an optional port number that can be added after a trailing colon. For example: 192.168.1.20:1884 broker.local:1884 work now. If you omit the port number and the colon, the default port 1883 will be used.