HBMQTT Auth plugin to authenticate against Home Assistant auth
APACHE-2.0 License
This is a plugin for the HBMQTT MQTT broker to allow authentication against the Home Assistant auth system.
# Example broker configuration
# hass = Home Assistant instance
{
'listeners': {
'default': {
'max-connections': 50000,
'bind': '0.0.0.0:1883',
'type': 'tcp',
},
'ws-1': {
'bind': '0.0.0.0:8080',
'type': 'ws',
},
},
'topic-check': {},
'auth': {
'home-assistant': hass,
'plugins': ['auth_home_assistant']
},
}