This add-on uses three privacy profiles to limit the access to your MQTT data for the smart devices you are using at your smart home.
- Assists users in enforcing their privacy preferences through three privacy profiles
Profile | Access Level | Who can use this profile? |
---|---|---|
PrivacyProfile1 | Full Access | You as an owner of MPO and Home Assistant |
PrivacyProfile2 |
|
Someone you want to allow to control a few of your MQTT devices |
PrivacyProfile3 | Only subscribe to a few topics | Someone you want to allow to only subscribe to MQTT topics |
- Implements and manages the Access Control List (ACL) for the Mosquitto’s broker
- Automatically enforces TLS communication between the broker and MQTT clients. Clients Can only connect via TLS.
- Generates and maintains the credentials (username and password) of all IoT devices that will connect to the Mosquitto broker.
- Stores the credentials of IoT devices in the Mosquitto’s local database to allow the broker to authenticate the IoT devices.
- You as an owner of MPO and PrivacyProfile1 can update the topics for PrivacyProfile2 and PrivacyProfile3 at any time via MPO's configuration section.
You can install MPO on your Home Assistant via (Supervisor → Add-on Store → Repositories). Then, copy the the MPO’s repositroy link and past it for installation to begin:
https://github.com/AKEHZ/MPO
Create three user accounts on Home Assistant for the three privacy profiles (only required for the first time). You can create these accounts by clicking "Configuration → Users → ADD USER" .
NOTES:
- This step allows for Home Assistant to authenticate the three privacy profiles. Once you create these user accounts, you can give the usernames and passwords of PrivacyProfile 2 and 3 to those you want to allow to access your MQTT data (e.g. partner, roomates, kids, guests).
- If you don't see "Users" option after you click on Configuration, then go to Your Profile page and enable "Advanced Mode".
See Documentation for more details.