RMVTRANSPORT sensor does not work for the latest versions
configuration.yamlin configuration:
sensor: !include_dir_list sensor.d/
sensor.d/rmv.yaml
platform: rmvtransport
timeout: 120
next_departure:
- station: 3001992
destinations:
- Frankfurt (Main) Südbahnhof
max_journeys: 5
time_offset: 10
- station: 3000903
destinations:
- Frankfurt (Main) Hauptbahnhof
max_journeys: 5
time_offset: 10
2020-07-29 14:17:47 WARNING (MainThread) [homeassistant.components.sensor] Platform rmvtransport not ready yet. Retrying in 180 seconds.
I have no entities ... where to look at??
https://www.rmv.de/hapi/ works
What do you need?
rmvtransport documentation
rmvtransport source
(message by IssueLinks)
Thanks for reporting. I'll have to investigate this.
In the meantime here is a workaround:
platform: rmvtransport
timeout: 120
next_departure:
- station: 3001992
destinations:
- Frankfurt (Main) Südbahnhof
max_journeys: 5
time_offset: 10
- station: 3000903
max_journeys: 5
time_offset: 10

With your workaround ..
I tryed to setup 2 sensors, one for every station, does not work for the second sensor
I think I found the problem. I'll submit a fix after I've done more testing.
What cause this catastrophic failure was that the destination (_Frankfurt (Main) Hauptbahnhof_) did not match for any journey. This of course should not lead to the whole integration not being set up. Could you please do me a favor and double check that destination? I'll log this as INFO in the future, but it would result in the sensor having no valid data to process.
2020-07-30 12:15:57 INFO (MainThread) [homeassistant.components.rmvtransport.sensor] Destination(s) Frankfurt (Main) Hauptbahnhof not found
i've taken it from RMV_Haltestellen.zip
"3000010";"10";"de:06412:10";"Hauptbahnhof";"Frankfurt (Main) Hauptbahnhof";"3475942";"5552342";"8,6627101117679";"50,1068052223993";"TRAFFIQ";"1";"01.01.1995";"";"1";"Hessen";"Darmstadt";"Stadt Frankfurt a.M";"Frankfurt a.M.";"Gallusviertel";"06";"4";"12";"000";"811"
can I use the numerical ID's for destinations, here 3000010 ???
PS: All worked for a longer time and broke 2..4 weeks ago
The name is correct but apparently it does not fit this connection. Could you give me information about which line would be an expected match?
Nothing has changed with this integration for quite a while, so it might be backend or schedule related.
Q: IF you have time, could be nice to have "Verkehrsmeldungen"
Thanks for help
You mean like such?
S: S8 (17268308000)
Richtung: Wiesbaden Hauptbahnhof
Abfahrt in 15 min.
Abfahrt 15:07:00 (+19)
Nächste Haltestellen: ['Frankfurt (Main) Ostendstraße', 'Frankfurt (Main) Konstablerwache', 'Frankfurt (Main) Hauptwache', 'Frankfurt (Main) Hauptbahnhof tief', 'Mainz-Bischofsheim Bahnhof', 'Mainz Römisches Theater Bahnhof', 'Mainz Hauptbahnhof', 'Wiesbaden-Biebrich Bahnhof Wiesbaden Ost', 'Wiesbaden Hauptbahnhof']
Hinweis: S8: Änderungen in den Nächten vom 12.07. bis 07.08.
Hinweis (lang): In den Nächten jeweils von 22:30 Uhr bis 04:00 Uhr beginnen und enden die Züge der Linie S5 am Halt "Frankfurt Hauptbahnhof" (hoch). Folgende Halte entfallen:
<ul><li>"Offenbach Ost"</li><li>"Offenbach Hauptbahnhof"</li><li>"Frankfurt Süd"</li><li>"Offenbach Marktplatz"</li><li>"Offenbach Ledermuseum"</li><li>"Offenbach-Kaiserlei"</li><li>"Frankfurt Mühlberg"</li><li>"Frankfurt Ostendstraße"</li><li>"Frankfurt Konstablerwache"</li><li>"Frankfurt Hauptwache"</li><li>"Frankfurt Taunusanlage"</li></ul>Am Halt "Frankfurt Hauptbahnhof" kommt es zum Gleiswechsel. Die Züge bedienen "Frankfurt Hauptbahnhof (hoch)".
Ersatzweise kann die Linie S9 genutzt werden. Im Nachtverkehr werden die Züge der Linie S8 zwischen "Frankfurt Hauptbahnhof" und "Offenbach Ost" über "Frankfurt Süd" und "Offenbach Hauptbahnhof" umgeleitet. Die Halte der Tunnelstrecke entfallen.
Zudem fahren einige Züge ab Hanau bis "Frankfurt Konstablerwache" bis zu 6 Minuten früher ab.
Grund dafür sind Arbeiten an der Leit- und Sicherungstechnik und Oberleitungsarbeiten zwischen "Frankfurt Hauptbahnhof" und "Frankfurt Mühlberg".
You mean like such?
S: S8 (17268308000) Richtung: Wiesbaden Hauptbahnhof Abfahrt in 15 min. Abfahrt 15:07:00 (+19) Nächste Haltestellen: ['Frankfurt (Main) Ostendstraße', 'Frankfurt (Main) Konstablerwache', 'Frankfurt (Main) Hauptwache', 'Frankfurt (Main) Hauptbahnhof tief', 'Mainz-Bischofsheim Bahnhof', 'Mainz Römisches Theater Bahnhof', 'Mainz Hauptbahnhof', 'Wiesbaden-Biebrich Bahnhof Wiesbaden Ost', 'Wiesbaden Hauptbahnhof'] Hinweis: S8: Änderungen in den Nächten vom 12.07. bis 07.08. Hinweis (lang): In den Nächten jeweils von 22:30 Uhr bis 04:00 Uhr beginnen und enden die Züge der Linie S5 am Halt "Frankfurt Hauptbahnhof" (hoch). Folgende Halte entfallen: <ul><li>"Offenbach Ost"</li><li>"Offenbach Hauptbahnhof"</li><li>"Frankfurt Süd"</li><li>"Offenbach Marktplatz"</li><li>"Offenbach Ledermuseum"</li><li>"Offenbach-Kaiserlei"</li><li>"Frankfurt Mühlberg"</li><li>"Frankfurt Ostendstraße"</li><li>"Frankfurt Konstablerwache"</li><li>"Frankfurt Hauptwache"</li><li>"Frankfurt Taunusanlage"</li></ul>Am Halt "Frankfurt Hauptbahnhof" kommt es zum Gleiswechsel. Die Züge bedienen "Frankfurt Hauptbahnhof (hoch)". Ersatzweise kann die Linie S9 genutzt werden. Im Nachtverkehr werden die Züge der Linie S8 zwischen "Frankfurt Hauptbahnhof" und "Offenbach Ost" über "Frankfurt Süd" und "Offenbach Hauptbahnhof" umgeleitet. Die Halte der Tunnelstrecke entfallen. Zudem fahren einige Züge ab Hanau bis "Frankfurt Konstablerwache" bis zu 6 Minuten früher ab. Grund dafür sind Arbeiten an der Leit- und Sicherungstechnik und Oberleitungsarbeiten zwischen "Frankfurt Hauptbahnhof" und "Frankfurt Mühlberg".
YES
The name is correct but apparently it does not fit this connection. Could you give me information about which line would be an expected match?
Nothing has changed with this integration for quite a while, so it might be backend or schedule related.
I want to show all S-Bahn from Mühlberg over Hauptbahnhof
Could it be that the stop changed from Frankfurt (Main) Hauptbahnhof to Frankfurt (Main) Hauptbahnhof tief? That might explain why it stopped working.
Changing your config to the following should fix the issue (except the integration failing so hard).
- platform: rmvtransport
timeout: 120
next_departure:
- station: 3001992
name: ignore
destinations:
- Frankfurt (Main) Südbahnhof
max_journeys: 5
time_offset: 10
- station: 3000903
destinations:
- Frankfurt (Main) Hauptbahnhof
- Frankfurt (Main) Hauptbahnhof tief
max_journeys: 5
time_offset: 10
destination or destinations ??? :-(
I'd also suggest to add products: "S" if you're only looking for the S-Bahn.
destinations


worked
thanks
Please leave the issue open as this needs to be fixed properly.
Most helpful comment
Q: IF you have time, could be nice to have "Verkehrsmeldungen"
Thanks for help