Swisscom Internet-Box
The Swisscom Internet-Box integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] offers presence detection by looking at the devices connected to your Internet-Box router. The Internet-Box is the router provided by Swisscom, an Internet provider in Switzerland.
With this integration, you can use the presence of phones, tablets, and other devices on your home network to trigger automations. For example, you can turn the lights off when everyone leaves home, or send a notification when someone arrives.
Supported devices
The following Internet-Box models are supported:
- Internet-Box light
- Internet-Box standard
- Internet-Box plus
All models share the same web interface, so they work the same way with this integration.
Prerequisites
To set up the integration, you need the following:
- The IP address of your Internet-Box. By default, this is
192.168.1.1. - The administrator username. By default, this is
admin. - The administrator password for your Internet-Box. This is the password you use to sign in to the router’s web interface.
Configuration
To add the Swisscom Internet-Box hub to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Swisscom Internet-Box.
-
Follow the instructions on screen to complete the setup.
Migrating from YAML configuration
If you previously configured the Swisscom Internet-Box through configuration.yaml:
- Set up the integration through the UI to provide your administrator credentials.
- Remove the
device_trackerSwisscom entry from yourconfiguration.yamlfile. - Restart Home Assistant.
A repair issue in Settings > Devices & services will guide you through the same steps.
Supported functionality
The integration creates a device trackerDevice trackers are used to track the presence, or location, of a device. [Learn more] entity for each device known to your Internet-Box. Each entity reports whether the device is currently connected to your network, along with the following attributes:
- Hostname
- IP address
- MAC address
You can use these entities to track the presence of people in your home. For more information on how to assign tracked devices to people, see the device tracker integration page.
Data updates
Home Assistant pollsData polling is the process of querying a device or service at regular intervals to check for updates or retrieve data. By defining a custom polling interval, you can control how frequently your system checks for new data, which can help optimize performance and reduce unnecessary network traffic. [Learn more] your Internet-Box every 30 seconds to retrieve the list of connected devices and update their connection status.
Troubleshooting
If the setup fails or the integration stops working, check the following:
- Make sure the IP address of your Internet-Box is correct and reachable from Home Assistant.
- Make sure the administrator password is correct. The integration signs in to your Internet-Box to read the list of connected devices, so it needs valid administrator credentials.
Removing the integration
This integration follows standard integration removal.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three dots
menu. Then, select Delete.