Arrrh Brian, you are a legend, thank you for persevering with me on this topic.

I had previously checked the settings.ini file and had seen that it showed:

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

Which to me indicated it was set up and should have been ok. I have updated the settings.ini file now to:

[mqtt]
enabled = true
user = ‘emonpi’
password = ‘emonpimqtt2016’
host = ‘localhost’
port = 1883
basetopic = ‘emon’
client_id = ‘pete’
userid = 2
multiuser = false

Because everything else was working fine I presumed that all the default settings were ok. All is good now and I can keep working on the project, thanks again.

Pete

2 Likes