vingerha / gtfs2

Support GTFS in Home Assistant GUI-only
https://github.com/vingerha/gtfs2
MIT License
65 stars 4 forks source link

[FEATURE]: allow to have verhicle positions in HA at a higher frequency than 5 mins #44

Open vingerha opened 3 months ago

vingerha commented 3 months ago

At present the vehicle locations are collected every minute in a geojson file The geojson is imported in HA using the core/native geojson integration This geojson integration has a update frequency of 5 minutes which is a bit slow. Veh/. positions should update in HA at the same rate as with which they are extracted from the real-time source (once per minute at least)

vingerha commented 1 month ago

This post is for bus/tram/etc. positions in HA only

Current thought is to add a minute-wise iteration for the integration that adds verhicles as separate entities and updates them based on the geojson. This way the geojson can still be used for other purposes as well as updating HA entities. Implementation is not 'simple' and incentive is 'low' (due to existing geojson solution) :)