Q: Mosquitto now offers a management dashboard with version 2. How can I install the broker and use it with my camera and Node-RED?
A: Start by installing Mosquitto 2.0 on Windows, macOS or LINUX. And add a Mqtt Client for Node-RED inside the Mosquitto Dashboard:
Apply the Client Role to this client so that Node-RED is able to subscribe and publish updates to MQTT topics:
Now we have to configure our MQTT Nodes to use the Mosquitto 2.0 broker. Type in the IP address and port as well as the Client ID you have chosen for Node-RED in the Mosquitto Dashboard:
Add the login that you set for the Node-RED client:
And - if you like - add a Last-Will-and-Testament (LWT) for Node-RED:
Now make sure that all your MQTT nodes use the new Mosquitto 2.0 broker:
Deploy your Node-RED flow and check the Mosquitto Dashboard. You should now see the LWT in the MQTT Topic Tree:
As a demo I added my cameras HTML5 Video and toggles for my cameras privacy masks: