-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Describe the bug
A clear and concise description of what the bug is.
Feed Related Bug
Feed compatibility may change based on provider outages or changes in API. Bugs should not be reported for provider outages.
-
This bug is related to feed compatibility
List Feed(s) affected: -
My custom feed I've been testing in user_feeds.json for Zagreb Electric Tram.
-
Feed resources can be accessed directly from the URL or the feed provider's website
-
I have confirmed this is not related to a provider's outage
To Reproduce
Steps to reproduce the behavior:
- Add Zagreb Electric Tram data found here user_feeds.json
- Configure the Zagreb Electric Tram
- Select Route IDs 4 and 11
- Select both Poljanice IV stop (256_1 and 256_2)
- Submit configuration
- Created entity arrivals are always Unknown, sometimes 0 minutes.
Expected behavior
I would expect the realtime data to be pulled every 5 to 10 minutes and refreshed.
Entities should display minutes in their arrival sensors.
Logs
Attached logs here:
config_entry-gtfs_realtime-01KANRHTBABVMW608TZJQP334K.json
Home Assistant
Version: 2025.11.3
Install Method
- HAOS
- Container
- Other
Additional context
Thank you for your great work, you saved me weeks of developing this integration. It's exactly what I was looking for. I have a few options to offer as help and more context:
a) I do suspect that my provider data might not be 100% up to standard. I suspect that stop IDs 256_1 and 256_2 have the suffix of directional platforms XYZ_1 and XYZ_2 (where XYZ is 256 here in my example). That suffix probably isn't matched or mixed in properly in trip information.
b) On the other hand, maybe trip information isn't updated as frequent in this HA integration - my provider allows 5 to 10 minute intervals. Meaning, that 0m value of arrival happens when a GTFS update protobuf is downloaded and parsed at exact time when a tram arrives on the stop. Else it isn't included in trip info update, hence Unknown.
Please let me know of anything I can do or provide more details, I'd like to eventually do a PR and include Zagreb GTFS in main branch and production release.
