Skip to content
Pengo Wray edited this page Mar 25, 2024 · 5 revisions

Creating a login for Mosquitto Broker in Home Assistant

If you're using ScreenSleeper with Mosquitto Broker you may wish to create a separate login (instead of using your Home Assistant login). You'll use this login and password for ScreenSleeper, where it's stored in plain text (which you'll notice because you add it to the config json file). Don't use a password that you use anywhere else. It doesn't need to be memorable. You won't need to remember it. If you want to change it, just edit it in both Home Assistant > Add-ons > Mosquitto Broker, and also in ScreenSleeper's settings.

Home Assistant settings

image

Example Mosquitto Broker yaml settings in Home Assistant:

logins:
  - username: screensleeper
    password: yourchosenpassword
...

Set your password in config to match.

See also

Clone this wiki locally