Skip to content
OtisPresley edited this page Jun 10, 2026 · 12 revisions

πŸ–§ SNMP Switch Manager Documentation

Welcome to the comprehensive user guide for SNMP Switch Managerβ€”a powerful Home Assistant integration designed for monitoring, active port administration, and visualization of managed network switches.

This wiki is your complete reference manual for:

  • πŸ”§ The SNMP Switch Manager Home Assistant Integration
  • πŸŽ›οΈ The custom SNMP Switch Manager Lovelace Card

image

✨ Core Capabilities

SNMP Switch Manager enables you to monitor, manage, and diagnose your managed network switch hardware directly from Home Assistant:

  • 🎚️ Active Port Administration: Native switch entities for physical ports allow you to administratively turn switch ports On (Up) or Off (Down).
  • πŸ”Œ Graceful Offline Handling: Displays a clear "Setup failed: will retry" status if unreachable at startup, marks entities as Unavailable at runtime, and automatically issues self-healing persistent notifications with custom offline imagery to simplify troubleshooting.
  • ⚑ Interactive PoE Controls: Real-time per-port Power over Ethernet (PoE) monitoring and active toggling to reboot hung IP devices or disable power output on specific ports.
  • πŸ“Ά Advanced Bandwidth Tracking: High-accuracy bandwidth sensors (RX/TX bits per second and cumulative RX/TX byte counters) with user-defined inclusion/exclusion filters.
  • 🌑️ Chassis Health Metrics: Consolidated environmental metrics including temperature sensors, fan speeds, CPU utilization, memory allocation, and power supply unit (PSU) status.
  • πŸ”„ Dynamic OID Database: A self-updating, background-running community database that automatically downloads the latest vendor MIB maps every 6 hours and reloads the integration seamlessly without requiring a Home Assistant restart.
  • πŸš€ Community PR Engine: Define custom OIDs, interface classification tokens, or vendor filters in the integration's settings UI, then submit them directly to the main GitHub repository via an automated Pull Request using the secure GitHub Device OAuth Flow.
  • πŸ”‘ Enterprise Security: Full support for both SNMP v2c (community strings) and SNMP v3 (secure authentication via HMAC-SHA/MD5 and encryption via CBC-DES).

🧱 Architecture Overview

The system consists of two complementary components that work together:

1. πŸ”§ Home Assistant Integration (this project)

  • Communicates with your switch via standard SNMP (v2c or v3).
  • Dynamically classifies ports (physical, virtual, or unknown).
  • Applies naming normalizations and exclusion filters.
  • Exposes data as clean, standardized Home Assistant entities and/or rich attributes.
  • Supports writing commands back to the switch to toggle link state, PoE, or update port descriptions.

2. πŸŽ›οΈ Lovelace Card (installed separately)

  • Renders a beautiful visual representation of the switch’s physical port layout.
  • Uses color coding to represent operational status and link speed (e.g. 10M, 100M, 1G, 10G+).
  • Displays environmental health graphs and PoE consumption directly on the dashboard.
  • Integrates quick actions and diagnostics panels dynamically.

🧠 Attributes Mode vs. Sensors Mode

One of the most important design features is how data is exposed inside Home Assistant. Depending on your system size and performance preferences, you can configure how metrics are stored:

Capability 🧠 Attributes Mode (Recommended) πŸ“Š Sensors Mode
Description Rich data is stored as attributes on a small, fixed number of parent entities. Standalone Home Assistant sensor entities are created for every individual metric.
Entity Count Extremely Low. A 48-port switch creates only ~50 entities. High. A 48-port switch with bandwidth and PoE can create 250+ entities.
History Logging Only operational status is tracked in HA recorder history. Full historical graphs and statistics are maintained by Home Assistant for every metric.
Card Integration Highly optimized. Lovelace card extracts metrics directly from port attributes. Works well, but requires additional entity-lookup mapping.
Use Case Best for high-performance home labs, large switches, and visual dashboards. Best if you need to build automation triggers, historical graphs, or standard helper sensors.

🧭 How to Navigate This Wiki

For the best experience, we recommend reading through the documentation pages in order:

πŸš€ Getting Started

  1. πŸ“¦ Installation & Prerequisites – Switch SNMP security setup, write permissions, and HACS download steps.
  2. βš™οΈ Integration Configuration – Step-by-step guide to the modular options menu, SNMP v3 fields, bandwidth rules, port renaming, and custom OIDs.

πŸ§ͺ Diagnostics & Hardware Support

  1. 🌑️ Diagnostics & Health Metrics – Comprehensive details about CPU, Memory, Fans, PSUs, PoE budgets, and the dynamic community OID database.
  2. πŸ–§ Supported Switch Matrix – List of verified devices, vendor-specific quirks, and how to verify your switch's active controls.

πŸ‘₯ Contributing & Sharing

  1. πŸš€ Community Submissions – Learn how to contribute custom OIDs, interface classification tokens, and vendor filters back to the repository safely (preventing frivolous entries).

πŸ› οΈ Reference & Troubleshooting

  1. ❓ Troubleshooting Guide – Resolving SNMP v3 handshake errors, missing ports, slow updates, and write failures.
  2. πŸ“– FAQ – Quick answers to common questions about security, OIDs, and customization.

πŸ’‘ Tip: We strongly recommend starting with Attributes Mode and setting up the Lovelace Card for the most premium, high-signal, and clean network dashboard experience.

πŸ“˜ SNMP Switch Manager

πŸš€ Getting Started

πŸ§ͺ Diagnostics

πŸŽ›οΈ Lovelace Card

πŸ‘₯ Community

πŸ› οΈ Help

Clone this wiki locally