-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Delayed Connections get removed when departure has passed, when RT Data use "delay" instead of "delay_realtime" #55
Comments
I see the point but no immediate solution. |
Ah i see! Didnt think of that. Makes sense. Too bad.
Fair enough, i see the huge processing effort in the Background necessary. Absolutely understandable.
Well - that sounds great! Not sure if understood that correctly - but from my perspective the Result would effectly do that Job, wouldnt it? 😍 It would be something like:
If i got that right, and that might be doable with a reasonable effort - i'd be superhappy!
Spontanious: Leave it up to the User. Just like when setting up the static data ("Checking for departures in future from 'now' (in minutes: between 15 and 120"), in the Dialog for the Realtime Integration, there could be a similar option ("Checking against scheduled departures in the past up to (in minutes: between 15 and 120)". |
That is the offset you asked in the other request |
I could also have the user select this but I am also worried about the complexity of adding yet another attribute |
Things getting mixed up here, while the two Feature Request sure are related.
Totally understand your Concerns! I can't estimate the complexity. See below
This would just be a Way for me and probably other affected users, to still catch Delayed connections. I can't estimate how huge the Impact will be - codewise, and also processingwise. In the End, if i got it right, the Basic Workflow at the Moment is:
This, and the other Feature Request combined would mean a Workflow like:
If that is too complex, too much effort, too less outcome.... - it is what it is, it is you who surely can assess that! |
I all depends on the area where one lives, there may be places where 15min delays is normal... will try wtih default =15 for now then |
And on my above mentioned complexity, the more attributes, the more permutations people need to think of and more complex to reproduce in case of 'errors' |
You are unbelievable!!! 🪄 Yes, this exactly what i thought of! Whats the approach now for this? That is Huge. Really, not kidding. I think to see possible Connections, not filtered by they schedule, but actual Time, is a big Plus imo!! 👍 👍 👍 |
resolved in 0.4.4.8 Big challenge with the data is the variety of formats of date/datetime/delay in the static data, realtime and server |
That is not clear enough for me...how often does your sensor update? |
For every Stop i set the Interval to 1 Minute. |
if the frequency of transport is high...chane the update accordingly to a shorter timespan...yes it will load the system a bit more but at least the data becomes morie usable |
As an example, I tie one of those sensors to me as a person, when I am e.g. in Basel I use two buttons,
With that, my map and stop list update to where I am at that time...quite handy :) |
Describe the Bug
For Realtime Updates, instead of "departure_realtime" my Transportation Service uses "delay_realtime".
Delayed Trains get removed from Attributes when the regular scheduled Time has passed.
Expected Behaviour:
Delayed Connection beeing kept in the Attributes as upcoming.
Personally i would prefer having departure_realtime = departure + delay_realtime, as this might make it easier to calculate "Departs in xx Min" in Homeassistant. But any other solution (e.g. internal calculation like include if timestamp_now > timestamp_departure + delay_realtime) would probably work as well.
Steps/data to reproduce the behavior, e.g.
Download the static GTFS: https://rnv-dds-prod-gtfs.azurewebsites.net/latest/gtfs.zip
Register for the API Key for RT-Data: #51 (comment) and use them
Set up a Zone with some Stops
Enable RT for that Stop with *.rt as Source
Reload, wait for the next Departures with a delay
See that it gets kicked out after departure time, not taking the delay into account
Release used
gtfs2: 0.4.4.7
HA: HAOS
Core: 2024.4.3
Additional
No logs for that
The text was updated successfully, but these errors were encountered: