Comments (5)
Thanks for helping here @GOTO-GOSUB ! Just to clarify, the reason that it does this is because that's what the signs say in the middle of the night when there are no trains (i.e. out of hours, or your filters have been set as in this case).
At least, this is what they used to look like last time I was waiting at a station in the middle of the night 😅
Maybe we could add some logs that indicate if the data is coming through or not, so when debugging you'd know if this screen was intentional due to being out of hours or caused by lack of data.
from train-departure-display.
Here are the logs after a reboot.
26.04.23 22:57:52 (+0000) main Starting Train Departure Display v0.4.0
26.04.23 22:57:52 (+0000) main /usr/src/python-packages/luma/core/interface/serial.py:206: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
26.04.23 22:57:52 (+0000) main self._gpio.setup(pin, self._gpio.OUT)
26.04.23 22:57:58 (+0000) main Effective FPS: 0.0
26.04.23 22:59:59 (+0000) main Effective FPS: 11.74
26.04.23 23:02:00 (+0000) main Effective FPS: 11.68
26.04.23 23:04:01 (+0000) main Effective FPS: 11.5
26.04.23 23:06:02 (+0000) main Effective FPS: 11.47
26.04.23 23:08:03 (+0000) main Effective FPS: 11.43
from train-departure-display.
I get this if my display is on outside of the active hours variable that I have set or if the trains are on strike again. I've also seen it on stations where the trains are very infrequent such as the Eurostar where the departure data does not appear to be provided all through the day. Assuming your choices of station have trains running at that time of night, may I suggest checking that you aren't running it outside of your active hours setting ? I've blanked my API Key for the purpose of this illustration but I wonder what it displays if you don't have a valid API Key...
from train-departure-display.
Thanks for this. I checked those variables and they were correct. However, you made me think about some of the other variables and I then realised I had set the destination station. I cleared that and the departures started appearing again. So it seems that trains were being diverted to a different station in the past 48 hours.
So lesson learned, check and double-check those variables first. Would have saved me a lot of wasted troubleshooting last night.
from train-departure-display.
Cool, it's good to know you've fixed it. Thanks for the update as well since it might help someone else in future.
from train-departure-display.
Related Issues (20)
- Major disruption at Paddington causing crash HOT 6
- firstDepartureBold variable not working HOT 2
- Screen glitch HOT 1
- Ability to filter by multiple platforms HOT 2
- Feature Request: London Underground Departures HOT 1
- Stuck on welcome screen HOT 2
- GPIO In Use Error HOT 1
- unable to boot Pi
- Delayed trains re-order HOT 1
- More than one screenBlankHours
- Add RealTimeTrains API HOT 2
- Screen stuck on 'UK Train Departure Display' HOT 2
- Change station without logging in HOT 1
- Successful use of 5.5" OLED (documentation) HOT 3
- Calling at stops showing HOT 3
- Platforms > 10 doesn't show HOT 1
- Dual display calling at not showing all stations HOT 1
- Letters on platforms not showing correctly for half platform stations HOT 1
- Pretty sure this is NOT a code issue...
- Multiple destinationStation variable - London
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 train-departure-display.