Settings.ini for non standard MQTT server

Hi

I have just started a new build to get up to date.

I see we now edit settings.ini for local differences. the mqtt section is:-

[mqtt]
enabled = true
user = ‘emonpi’
password = ‘emonpimqtt2016’

My mqtt server is on a different Pi with a different port number.
Do I just add the sections to settings.ini as they are in default-settings.ini?

host = ‘192.168.1.??’
port = 2082

Ian

yes, If you look at the default settings ini file, you can simply replicate all (or some) of the settings.

Any setting in the settings.ini overwrites the default. remember the section heading (in square brackets).

Many thanks.

Edit - moved “solution” tag to the post above this one. BT - Moderator.

1 Like