Comments (6)
Honestly, uncertain. All the lines that show up are the ones their API gives, then all the stations are the ones mapped to the given lines. See const.py
for the API calls used.
I probably won't be able to investigate this further. I think it's due to it not being TfL and the stations showing up just as a courtesy. But if you do find an issue in my approach, do give a shout and I'll try to remedy!
from ha-londontfl.
Thank you! I have a theory (that most non-TfL trains don't actually show up in the TfL API, but they still advertise the lines / stations), but I will try to confirm or deny now.
from ha-londontfl.
Yep, seems like National Rail does not share all its times with the API yet, and Southeastern is one of them.
I remember seeing that there's an integration (maybe even baked in) for trains explicitly, so might be worth seeing if that solves that half of the problem!
from ha-londontfl.
What a pity - your integration works so well with DLR!
The official integration limits the queries to once every 5 minutes. It seems pretty limited. How often is the polling in yours?
There is another non-official integration (https://github.com/megakid/ha_realtime_trains_api), it is based on https://api.rtt.io/. Which API did you use for yours?
from ha-londontfl.
I've done some sneakiness to limit polling as well. It gets as much data as possible and only updates when it's close to running out of stuff. Even though the API itself (api.tfl.gov.uk) doesn't seem to be rate limiting, I wanted to have the least amount of footprint possible.
from ha-londontfl.
Is there any chance that Southeastern labels stations differently and we are not getting data because we don't use the right address? Or maybe the line itself is called differently (now that has changed ownership)?
from ha-londontfl.
Related Issues (20)
- Status empty after install HOT 7
- Error when filtering by platform HOT 2
- Time zone issue HOT 5
- No data pulled for the Northern Line HOT 2
- Add the ability to replace certain words HOT 1
- Thameslink? HOT 7
- Integration stopped working suddenly HOT 5
- Time zone issues HOT 2
- No data for Greater Anglia HOT 1
- Updating Sensors WARNING HOT 1
- HASL Departure card compatability broken? HOT 2
- Any plans to extend the component to support bus routes/bus departure times? HOT 7
- Use tram icon HOT 2
- Time of trains only shows as GMT? HOT 2
- Cannot reach TfL (National Rail) HOT 3
- Branch not shown for trains HOT 6
- Buses are broken with recent update HOT 11
- Filter by platform doesn't work for buses HOT 3
- Is National Rail integration not working? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-londontfl.