Node-red MQTT configuration?

Perhaps a stupid question:

I’ve recently added MQTT (mosquito from addon store) and integrated it with HA, works fine.

Now I want to start using it via Node-Red. NR has the message-in and message-out nodes, but this requires some MQTT configuration. I’ve added the external ip and a user, and it works.

Is this the way to interact from NR to MQTT, or is there a better - more HA - way?

It is the correct way to interact with MQTT, regardless if it is running as a Hassio Add-on or not. Node Red has nothing to do with HA, so there really isn’t a “more HA way”

1 Like