---
title: "Nederlandse Spoorwegen (NS)"
description: "Nederlandse Spoorwegen (NS) is a built-in integration for Home Assistant. It has 468 installs sharing analytics and needs the vendor's cloud."
canonical: "https://vulpo.app/integrations/core/nederlandse-spoorwegen"
url: "https://vulpo.app/integrations/core/nederlandse-spoorwegen.md"
last-updated: "2026-10-23"
version: "1.4"
---

# Nederlandse Spoorwegen (NS)

> Nederlandse Spoorwegen (NS) is a built-in integration for Home Assistant. It has 468 installs sharing analytics and needs the vendor's cloud.

Nederlandse Spoorwegen (NS) is a built-in integration that adds train journey information to Home Assistant. It provides sensors for planned and actual departure and arrival times, platforms, the next departure and the route. Binary sensors report whether an arrival or a departure is delayed, and whether the train is going. Data comes from the vendor's cloud, so an NS API key is required. Setup is done in the UI, and a diagnostics file can be downloaded to attach to a bug report.

Automatic summary of Home Assistant's source code. Something wrong? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/config_flow_start/?domain=nederlandse_spoorwegen)

## Supports

- **Uses the vendor's cloud**: Needs an internet connection and an account with the vendor.
- **Set up in the UI**: Add it in Settings, Devices and services. Nothing to download.
- **Updated with Home Assistant**: Ships and updates with every Home Assistant release.

## Setting it up

It is added under Settings, Devices and services, with Add integration.

### Connect

- **API key**: Your NS API key.

Also asked when changing the connection.

Texts from Home Assistant's source code, [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).

## Entities

- **Binary sensors**: Arrival delayed, Departure delayed, Going
- **Sensors**: Actual arrival platform, Planned arrival platform, Actual arrival time, Planned arrival time, Departure, Actual departure platform, Planned departure platform, Actual departure time, Planned departure time, Next departure, Route, Route from, and 3 more

## Troubleshooting

- **Diagnostics**: Downloads a diagnostics file to attach to a bug report.

## At a glance

- Kind: Built-in integration
- Category: [Vehicles and transport](https://vulpo.app/integrations/category/vehicles-and-transport.md), Public transport
- Number: 468 installs sharing analytics
- Connection: Needs the vendor's cloud
- Upkeep: Part of Home Assistant
- Needs: Built into Home Assistant
- Domain: `nederlandse_spoorwegen`
- Source: <https://www.home-assistant.io/integrations/nederlandse_spoorwegen/>

In Vulpo: Chart card, Apple Watch

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-23. Source: https://vulpo.app/integrations/core/nederlandse-spoorwegen

---

- HTML version of this page: https://vulpo.app/integrations/core/nederlandse-spoorwegen
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
