- Use HACS, in
HACS > Integrations > Explore & Add Repositories
search for "NPM Switches". - Restart Home Assistant.
- or in the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Tesla Custom Integration".
- Use the tool of choice to open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - Download this repository's files.
- Move or Copy the the entire
npm_switches/
directory (folder) in your HAcustom_components
directory (folder). End result should look likecustom_components/npm_switches/
. - Restart Home Assistant.
- or in the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Tesla Custom Integration".
'NPM Switches' offers integration with a local Nginx Proxy Manager server/instance. It will login into and retrieve a token from the NPM server every 24 hours. This token is used to querry the state of each proxy host every 60 seconds. It is also used to enable or disable a proxy host via local api call to the NPM server.
This integration provides the following entities:
- Switches - One switch for every proxy host that is configured
- Sensors - Number of enabled proxy hosts, number of disabled proxy hosts
Future features could include redirection host switches and 404 host switches.
If you want to contribute to this please read the Contribution guidelines
Component built with integration_blueprint.