Skip to content

Instantly share code, notes, and snippets.

@cufarvid
Created October 30, 2022 22:06
Show Gist options
  • Save cufarvid/121a2aba8f3550365e44bd5574e3fe2c to your computer and use it in GitHub Desktop.
Save cufarvid/121a2aba8f3550365e44bd5574e3fe2c to your computer and use it in GitHub Desktop.
Add mosquitto MQTT broker to TrueNAS Scale
  • Install mosquitto through Truecharts, make sure you enable authentication.
  • Open the Pod Shell.
  • Create a password file: mosquitto_passwd -c /mosquitto/configinc/password mqtt_user
  • Create a configuration file pointing to a password file: echo "password_file /mosquitto/configinc/password" > /mosquitto/configinc/passwordconfig.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment