Your modem's status page only shows right now. When the internet drops at 9 pm, the evidence is gone by morning. Cable Modem Monitor keeps watching: it notices when the modem stops answering, and keeps a history of every channel's power, signal to noise and errors, so the bad hour is still there when you go looking.
⭐ If you find this integration useful, please star this repo! It helps others find the project.
🤖 AI-Assisted Development: This project uses AI-assisted development (Claude) to accelerate implementation while maintaining human oversight for architecture and community decisions.
- Installation Guide
- Supported Modems
- Troubleshooting Guide
- Contributing Guide
- Development (for contributors)
- Changelog
New contributor? Start with the Getting Started Guide (environment setup, running tests, your first commit).
Returning contributor? See the Contributing Guide for workflow, code style, and PR guidelines.
Architecture: Two runtime pip packages in packages/ (Core + Catalog) plus a thin HA adapter in custom_components/. A third package, Catalog Tools, holds the authoring tools (HAR analysis, YAML generation, verification) for contributors and maintainers; HA never installs it. See CONTRIBUTING.md for details.
What it monitors:
- 📊 Signal Quality: Power levels, SNR, frequency for every channel
⚠️ Error Tracking: Corrected & uncorrected errors per channel- 🔌 Connection Health: Status and last boot time (shown as time since boot)
- 💓 Modem Health: Real-time TCP latency, plus ping and HTTP latency where the modem answers them
- 📈 Trends: Full historical data for analysis and graphing
What it does:
- 🔄 Remote Control: Restart your modem from Home Assistant
- 🤖 Automation Ready: Trigger actions on signal degradation or errors
- 🔐 Local-Only: All processing on your Home Assistant instance — no cloud services
- 🛡️ Security Focused: CodeQL scanning
- 🔌 Plug & Play: Easy UI configuration, no YAML editing needed
Track your cable modem's health with comprehensive dashboards and real-time monitoring:
Real-time power level monitoring across all downstream channels
SNR tracking helps identify signal quality issues before they cause problems
Latency monitoring for real-time health assessment: TCP always, ping and HTTP where the modem answers them
Track corrected errors over time to spot developing line issues
- Comprehensive Channel Monitoring: Tracks all downstream and upstream channels
- Per-Channel Metrics: Power (dBmV), SNR (dB), frequency (MHz on Home Assistant 2026.5 and later, Hz before), corrected and uncorrected errors
- Summary Sensors: Total corrected and uncorrected downstream errors, where the modem's catalog entry declares them
- Unified Status: One sensor combining connection, health and DOCSIS lock (see Modem Status)
- System Information: Software version, channel counts, and last boot time (shown as time since boot)
- Health Monitoring: TCP latency, ping and HTTP latency where the modem answers them, plus an automatic health status
- Login protection: Rejected credentials trip a circuit breaker that stops further login attempts until you re-enter credentials or reload the integration; on some modems repeated bad logins cause a lockout or even a restart
- Modem Control: Restart your modem directly from Home Assistant
- Automation-Friendly: Last boot time sensor with timestamp device class for reboot detection
- Dashboard Ready: Create graphs and alerts based on signal quality
- Extensible: Each modem is a catalog entry of YAML config, with Python only for firmware quirks
- Well Tested: Core, Catalog, Catalog Tools and HA integration suites run in CI (badge above)
- Type Safe: Full type hints, mypy and pyright validation
This integration supports modems from ARRIS, CommScope, Compal, Hitron, Motorola, Netgear, Sagemcom, SDMC, Sercomm, Technicolor and Ubee, including ISP-branded boxes such as Virgin Media and Xfinity. Compatibility varies with firmware and ISP customization.
View the Supported Modems List - Complete list with DOCSIS versions, ISP compatibility, verification status, and model timelines.
The catalog grows when contributors with hardware step up. Two paths:
- Modem not listed? Use har-capture to record your modem's web interface, then file a request. See the Modem Request Guide for the user-facing walkthrough.
- Modem close but not working? Add modem with custom config lets you edit its config and test it during setup.
- Want to help more? If you have AI access, you can analyze captures and propose catalog entries yourself. See AI-Assisted Catalog Contribution.
Modem listed as ⏳ Awaiting? Report it working to help verify support.
The Marketplace is built into Home Assistant 2026.11 and later. On earlier versions, install through HACS instead: open HACS from the sidebar, search for "Cable Modem Monitor" and click Download.
- Open Settings → Marketplace.
- Search for "Cable Modem Monitor" and open it.
- Click Install.
- If Home Assistant asks for a restart, restart it.
Betas are opt-in. Pre-releases stay hidden until you turn on Include pre-releases, and you install each beta yourself.
- Open Settings → Marketplace → Cable Modem Monitor.
- Click the ⋮ menu → Include pre-releases and confirm.
- Click the ⋮ menu → Install another version.
- Pick the desired beta from the list. Betas are labeled Pre-release.
- Click Install and restart Home Assistant if prompted.
If the list reports a rate limit, connect GitHub: Settings → Devices & Services → Marketplace, ⋮ menu → Reconfigure.
To leave the beta channel, click the ⋮ menu → Exclude pre-releases. The next stable release then arrives as a normal update. Installing an older stable release than the beta you ran can break your config entry, because migrations are one-way (see Migration handler not found). Restore a backup instead.
On Home Assistant before 2026.11, in HACS open Cable Modem Monitor, click the ⋯ menu → Redownload, click Need a different version?, pick the beta from the Release dropdown, then Download.
- Go to Settings → Devices & Services → Add Integration
- Search for Cable Modem Monitor
- Choose Add modem. For a modem that is not in the catalog, choose Add modem with custom config instead (see Custom Config)
- Pick a manufacturer, All to see every catalog entry, or Auto-detect to look for your modem on the network
- Select your modem model, the entity ID prefix, and Channel Number mode (recommended — stable entity IDs across reboots) or Channel ID mode
- If your model has more than one firmware variant, pick the one that matches your modem
- Enter your modem's IP address (typically
192.168.100.1) and credentials if required
Step 3 — Add modem, or add modem with custom config
Step 4 — Pick a manufacturer, All, or Auto-detect
Step 5 — Select your modem and channel naming
Step 7 — Enter connection details
After setup, configure via Settings → Devices & Services → Cable Modem Monitor → Configure:
- Host: Update modem IP / URL
- Credentials: Update username/password if your modem requires authentication
- Polling Interval: How often to fetch full modem status: 30 seconds to 24 hours (default: 10 minutes), or 00:00:00 to turn automatic polling off and poll only with the Update Modem Data button
- Health Check Interval: How often to run lightweight reachability probes: 10 seconds to 24 hours (default: 30 seconds), or 00:00:00 to turn health checks off. Status comes from ICMP ping and a TCP connect; an HTTP HEAD measures latency where the modem supports it
Modem Model and Channel Identity are install-time choices, not editable here. See Known Limitations.
All sensors use the cable_modem_ prefix. Supporting entities (system information, error totals and rates, latency, LAN statistics) sit in the device page's Diagnostic section.
Entity Naming Pattern:
System sensors: sensor.cable_modem_{metric} (e.g., sensor.cable_modem_status).
Channel sensor naming depends on the Channel Identity mode you picked at setup:
- Channel Number mode (recommended default — stable across reboots):
sensor.cable_modem_{direction}_ch_{number}_{metric}- Example:
sensor.cable_modem_ds_ch_1_power - Example:
sensor.cable_modem_us_ch_3_frequency
- Example:
- Channel ID mode (DOCSIS DCID-based):
sensor.cable_modem_{direction}_{type}_ch_{id}_{metric}- Example:
sensor.cable_modem_ds_qam_ch_1_power - Example:
sensor.cable_modem_us_atdma_ch_3_frequency - DOCSIS 3.1 modems also have OFDM/OFDMA channels:
sensor.cable_modem_ds_ofdm_ch_1_power
- Example:
Channel Identity is set when you add the integration; to switch it, see Known Limitations.
sensor.cable_modem_status: One state combining connection, health probes and DOCSIS lock, such as Operational, Unresponsive, Auth Failed, No Signal or Partial Lock. All ten states, in priority order, are in Understanding the Status Sensor.
- Modem Info: Detected model, with manufacturer, DOCSIS version, release date, and catalog status as attributes
sensor.cable_modem_software_version: Modem firmware/software versionsensor.cable_modem_last_boot_time: When the modem last rebooted (timestamp device class); Home Assistant renders it as relative age ("5 days ago"), which doubles as uptimesensor.cable_modem_ds_channel_count: Number of active downstream channelssensor.cable_modem_us_channel_count: Number of active upstream channels
Firmware and hardware versions also appear on the device info card. Other system fields your modem reports (provisioned speeds, for example) become sensors automatically, and LAN interface statistics get per-interface sensors for bytes, packets, errors, and drops.
sensor.cable_modem_tcp_latency: TCP connect time in millisecondssensor.cable_modem_ping_latency: Ping response time in milliseconds, where the modem answers pingsensor.cable_modem_http_latency: HTTP response time in milliseconds, where the modem answers an HTTP HEAD request
sensor.cable_modem_total_corrected_errors: Total corrected errors summed over downstream channelssensor.cable_modem_total_uncorrected_errors: Total uncorrected errors summed over downstream channelssensor.cable_modem_rate_corrected_errors: Corrected errors per minutesensor.cable_modem_rate_uncorrected_errors: Uncorrected errors per minute
The integration sums the totals from per-channel counters; no modem in the catalog reports one itself. What they cover depends on the modem:
- DOCSIS 3.1 and 4.0 modems: SC-QAM channels only. OFDM counters are not added in.
- DOCSIS 3.0 modems: every downstream channel, since all are SC-QAM.
- No totals: some catalog entries declare none, and these four sensors are not created. Where the modem reports per-channel error counts, those sensors still are, and a generated dashboard shows a note in place of the error graphs.
Replace {type} with channel type (qam, ofdm) and X with the channel number:
sensor.cable_modem_ds_{type}_ch_X_power: Power level in dBmVsensor.cable_modem_ds_{type}_ch_X_snr: Signal-to-Noise Ratio in dBsensor.cable_modem_ds_{type}_ch_X_frequency: Channel frequency (MHz on Home Assistant 2026.5 and later, Hz before)sensor.cable_modem_ds_{type}_ch_X_corrected: Corrected errorssensor.cable_modem_ds_{type}_ch_X_uncorrected: Uncorrected errors
Replace {type} with channel type (atdma, ofdma) and X with the channel number:
sensor.cable_modem_us_{type}_ch_X_power: Transmit power level in dBmVsensor.cable_modem_us_{type}_ch_X_frequency: Channel frequency (MHz on Home Assistant 2026.5 and later, Hz before)
The integration registers two buttons under the modem device, plus Restart where the modem supports it:
- Restart Modem: Reboots the modem remotely (requires modem credentials)
- Update Modem Data: Triggers an immediate poll outside the regular cadence
- Reset Entities: Re-detects which health probes the modem answers and recreates its entities under their default IDs, so their history carries over
cable_modem_monitor.generate_dashboard_card: Generates the YAML for one Lovelace card tailored to your modem's channel layout, to paste into a dashboard through Add card > By card > Manual. Configurable: which graphs to include (status card, downstream/upstream power/SNR/frequency, errors, latency),graph_hourswindow (1–168), and short-title mode.cable_modem_monitor.request_refresh: Triggers an immediate data poll for the selected device.cable_modem_monitor.request_health_check: Runs an immediate health probe (ICMP and TCP, plus HTTP where the modem supports it) outside the regular cadence.cable_modem_monitor.convert_channel_identity: Renames recorder statistics from the previous Channel Identity mode to the current one, so historical graphs survive a remove-and-re-add in the other mode. Modem must be online.cable_modem_monitor.orphaned_statistics: Lists recorder statistics left behind by a mode switch, channel rebonding, or a prefix change; call again withexecute: trueto purge them. See Ghost Statistics in History.
- Ideal range: -7 to +7 dBmV
- Acceptable: -15 to +15 dBmV
- Poor: Below -15 or above +15 dBmV
- Excellent: Above 40 dB
- Good: 33-40 dB
- Acceptable: 25-33 dB
- Poor: Below 25 dB
- Ideal range: 35-50 dBmV
- Acceptable: 30-55 dBmV
- Poor: Below 30 or above 55 dBmV
- Corrected errors: Normal in small amounts; modem can fix these
- Uncorrected errors: Indicate data loss; any sustained increase is concerning
- Monitor trends: Sudden increases may indicate line issues
Ready-to-use dashboard and automation examples are available in the Examples Guide.
Includes:
- Cable Modem card — add it from the dashboard's Add card list and set it up in a form, no YAML
- Dashboard card generator action — generates Lovelace card YAML tailored to your modem's channels
- Complete manual dashboard YAML for monitoring all channels
- Automations for error alerts, SNR warnings, and auto-restart
- Last boot time display format options
To remove a single modem:
- Go to Settings → Devices & Services → Cable Modem Monitor.
- Click the modem entry, open the ⋯ menu, and choose Delete.
- Confirm. The integration logs out of the modem, removes its device and entities, and deletes the per-entry state it stored (the channel-bond baseline) and the entry's credentials. No restart is required.
Deleting the integration does not purge recorded sensor history; your Home Assistant recorder settings govern it. To clear leftover channel history, use the orphaned_statistics service or follow Ghost Statistics in History. To clear state history, see Leftover State History.
To uninstall completely, delete every modem entry as above, then open Settings → Marketplace → Cable Modem Monitor, click the ⋮ menu → Uninstall, and restart Home Assistant if prompted. On Home Assistant before 2026.11, use HACS (open it, ⋯ menu → Remove).
- Model is fixed at install time. It identifies which modem this entry monitors. To point at a different modem, remove the integration and add it again.
- Channel Identity (number vs ID) is chosen at setup and not changeable afterward. To switch modes, remove and re-add the integration in the other mode, then call the
convert_channel_identityservice to carry your recorder statistics across. - Remote restart depends on the modem. The Restart button appears only for modems whose firmware exposes a supported reboot path; others are monitored read-only.
- Channel-bond changes do not notify. One notification announces the first poll; after that the DS and US Channel Count sensors carry the totals. To be alerted to a change, use the channel count automation.
- Requires a reachable modem interface on your LAN. Modems whose status page has been disabled by the ISP, or exposed only through the provider's cloud app, cannot be polled. See ISP Disabled Web Interface.
📖 The Troubleshooting Guide covers connection problems, missing sensors, and duplicate entities.
Home Assistant grades only its built-in integrations against its Integration Quality Scale. This is a self-assessment against the same rules; each rule's status and evidence is in quality_scale.yaml. A tier is reached when all of its rules and every rule below it are met.
| Tier | Rules met | Open rules |
|---|---|---|
| 🥉 Bronze | 19 / 20 | appropriate-polling |
| 🥈 Silver | 6 / 10 | docs-installation-parameters, entity-unavailable, log-when-unavailable, test-coverage |
| 🥇 Gold | 14 / 21 | discovery, discovery-update-info, entity-device-class, entity-disabled-by-default, entity-translations, icon-translations, reconfiguration-flow |
| 🏆 Platinum | 0 / 3 | async-dependency, inject-websession, strict-typing |
- 100% Local: All data stays on your Home Assistant instance — no cloud services
- Read-Only by Default: Only reads data from your modem; the only write action is a user-invoked restart
- Diagnostic Logs: Private IPs (RFC1918) and filesystem paths are scrubbed from log lines included in the diagnostics file. Modem identity (model, firmware, channel data) is included verbatim — review before sharing publicly. The diagnostics file embeds a
_review_before_sharingchecklist to help you spot anything sensitive - HAR Captures: When onboarding a new modem, har-capture sanitizes HAR files (passwords, tokens, MACs) before you submit them
- Credentials: Kept in the Home Assistant config entry; the integration sends them only to the modem
- CodeQL Scanning: Automated security analysis on every push to the main and feature branches, every pull request to main, and weekly.
- Standard CodeQL Python suite: 100+ security queries covering OWASP Top 10 and broad CWE coverage — command injection, hardcoded credentials, SSL/TLS misuse, path traversal, XXE, and more.
- Custom queries: One project-specific query at
cable-modem-monitor-ql/queries/no_timeout.qlflags HTTP requests without explicit timeouts, which would otherwise hang the integration on unreachable modems.
- Security Documentation: See CodeQL Testing Guide for details
- Vulnerability Reporting: See SECURITY.md for responsible disclosure
- HTTP Basic Authentication
- Form and JSON logins, including nonce, salted (PBKDF2) and encrypted (SJCL) variants
- Bearer-token, JSON-RPC, URL-token and HNAP/SOAP logins
- CBN logins (Compal and ARRIS)
- No authentication (for open modems)
MIT License - see LICENSE file for details. The project's names and logos are not covered by it; see TRADEMARKS.md.
Cable Modem Monitor is maintained by one person, in the evenings, around a day job. What to expect from replies and reviews, and where to ask what, is in SUPPORT.md.
- har-capture - Zero-dependency Python library for sanitizing HAR files. Contributors use it to capture a modem's web interface for a modem request without exposing passwords or network credentials.
- Internet Health Monitor - Latency, jitter and loss for the gateway and the next two hops, DNS latency, reachability, and optional speed tests with a bufferbloat grade. In beta.
Solent Labs™ is not affiliated with Arris, Motorola, Netgear, or any ISP. All product names are trademarks of their respective owners. Use this software at your own risk.