Last Updated:

Network Speed Monitoring with Speedtest Integration

S.C.O.R.E.ConvenienceDeviceControl

Overview

This capability allows users to monitor their home network’s speed by integrating speed testing directly into their home capability system. It provides real-time insights into bandwidth performance, helping users identify issues and optimize their internet usage.

Convenience icon

Benefits

  • Identify slow internet connections quickly and accurately.
  • Optimize bandwidth usage by scheduling tests during off-peak hours.
  • Receive alerts when internet speed drops below a defined threshold.

Intent

The purpose of this capability is to enhance network management by providing automated speed tests and monitoring. This allows homeowners to ensure their internet service is performing as expected and take action when issues arise.

Preconditions

  • Home Assistant integration set up with the Speedtest component.
  • Access to a reliable internet connection for accurate testing.
  • Configured sensor platform for speedtest data collection.
  • Home Assistant installed and configured.
  • Integration available and authenticated: UniFi.
  • Device installed and reachable: Synology 1621+ Network Attached Storage (NAS).

Actors

  • Homeowner
  • Family member
  • Guest

Trigger

The capability is triggered by a scheduled time or an event such as a noticeable drop in network performance.

Workflow Diagram

flowchart TD
    A[Scheduled Time or Performance Drop] -->|Start Test| B{Is Speed Below Threshold?}
    B -->|Yes| C[Alert Homeowner]
    C --> D[Log Speed Data]
    B -->|No| E[Exit]
    D --> F[Optimize Network Settings]

Workflow Description

1. Initiate Speed Test

The system triggers the speed test based on a schedule or performance drop.

2. Collect Speed Data

The speedtest integration gathers data on download, upload speeds, and ping.

3. Evaluate Speed Against Threshold

The collected data is compared against predefined thresholds to determine if action is needed.

4. Notify User

If speeds are below the threshold, an alert is sent to the homeowner via their preferred communication method.

5. Log Results

All speed test results are logged for future reference and trend analysis.

Postconditions

The homeowner receives an alert if speeds are below the acceptable range, and all test results are logged for monitoring.

Optional Enhancements

  • Integrate with a smart assistant for voice alerts.
  • Visualize speed test trends over time in a dashboard.
  • Automate network settings adjustments based on speed test results.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantUniFi, Zigbee2MQTTSynology 1621+ Network Attached Storage (NAS), Unifi Networks

Source Examples