This project is a custom component for Home Assistant, integrating with Nginx Proxy Manager to support one-click switching of Access for a specific domain through Home Assistant's switch. Additionally, the component supports controlling internal and external network access by using different Access configuration files. The project is open-source under the Apache 2.0 license.
- Download the code for this project and place it in the custom_components directory of Home Assistant.
- Restart Home Assistant.
- In
const.py
DEFAULT_ACCESS_NAME_FOR_OFF
, configure the name of the Access to use when the switch is in the off position. - Add the Nginx Proxy Manager Access integration.
- Enter the host, email, password, and other information.
- A switch with the name of the domain will be automatically created. Usage
- Use Home Assistant's switch to toggle Access and control internal and external network access.
This project is open-source under the Apache 2.0 license.