Issue integrating Z2M monitor, unable to connect to Z2M

Hello, I’ve had the « Z2M Device monitor » integration installed for some time now, but I still haven’t managed to get it working.

In the configuration, I’ve entered what is displayed in the Z2M integration, with the correct password.

But the connection doesn’t work

In the logs, I have this

[2026-10-14T08:28:30.609Z] [ERROR] [mqtt] MQTT error AggregateError [ECONNREFUSED]: 
    at internalConnectMultiple (node:net:1430:18)
    at afterConnectMultiple (node:net:2099:7) {
  code: 'ECONNREFUSED',
  [errors]: [
    Error: connect ECONNREFUSED ::1:1884
        at createConnectionError (node:net:2062:14)
        at afterConnectMultiple (node:net:2092:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '::1',
      port: 1884
    },
    Error: connect ECONNREFUSED 127.0.0.1:1884
        at createConnectionError (node:net:2062:14)
        at afterConnectMultiple (node:net:2092:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '127.0.0.1',
      port: 1884
    }
  ]
}

Is there something I’m missing?

You need to replace localhost with Gladys’s IP address (read the field description carefully).

Hmmm indeed it works with the IP, I feel a bit silly for not having tried…

Actually what misled me was the text here (as « Z2M Device monitor » is on the same machine, I used localhost)