About
NPM Switches is an integration that turns Nginx Proxy Manager proxy hosts on and off from Home Assistant. It talks to a local Nginx Proxy Manager instance, logging in to get a token every 24 hours and using it to check the state of each proxy host every 60 seconds. Each configured proxy host gets a switch, and redirection hosts, streams and dead (404) hosts can be added as optional switches. Sensors report how many hosts are enabled and disabled, and buttons renew certificates. Setup happens in the UI with the NPM username, password and URL including the UI port, plus choices about which host types and sensors to include. The options let the sensors and switches be turned on or off afterward.
Automatic summary of the README and code of InTheDaylight14/nginx-proxy-manager-switches. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Provides
- Switches
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
NPM Instance
- Username
- Password
- NPM URL including UI port number ex. http://ip:port
- Include Proxy Hosts
- Include Redirection Hosts
- Include Stream Hosts
- Include Dead Hosts
- Include Enabled/Disabled Count Sensors
- Include Certificate Sensors and Buttons
After setup
- Sensor enabled
- Switch enabled
Texts from the code of InTheDaylight14/nginx-proxy-manager-switches.
Shows in Vulpo
Quick Toggle card, Button card, Chart card, Apple Watch, Control Center.Information
- Installs
- 232 sharing analytics
- GitHub stars
- 36
- Connection
- Works locally
- Upkeep
- No update in 6 to 18 months
- Version
- v2.1.2,
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
npm_switches- Issues
- Report an issue











