Custom Lovelace card that acts as a departure monitor for the DVB (Dresden) and the entire VVO really.
The easiest way to install DVB Home Assitant is via HACS.
After you've installed DVB Home Assistant, follow these steps to configure the card to your liking.
- Open Your Dashboard for Editing
- Navigate to Home Assistant โ Dashboard
- Click the three-dot menu (โฎ) โ Edit Dashboard
- Add Calendar Card Pro
- Click the โ Add Card button
- Search for
DVBor scroll till you findDVB Home Assistant
- Select the card to add it to your dashboard
- Configure with the Visual Editor
- Click the three dots
โฎin the top-right corner of the card - Select "Configure" to open the visual editor
- Follow the instructions below for further info.
If you're not happy with the Dresden Postplatz station (which is the default), you need to find the stop_id of your station.
Glad you're asking! I haven't found a user-friendly way yet, so in the meantime copy the URL below into any browser, just change the word "Hauptbahnhof" to your station name. The first number (highlighted in the screenshot) is what you're looking for.
https://webapi.vvo-online.de/tr/pointfinder?format=JSON&stopsOnly=True&query=%20Hauptbahnhof
Now go ahead and copy paste that number into the card config in Home Assistant.
To start a development server (assuming you have run npm install already), open two command lines. In the first one, you run
npm run build:watch
and in the second one, you run
npm run start:watch
That way, we start rollup in it's "watch" mode and the @web/web-dev-server to serve a static html file from the dev folder. Not ideal, but works for now.
- Thanks a lot to alexpfau's calendar-card-pro, I took some inspiration from its code.

