Comments (4)
I've created a mockup of this which seems to work well.
I have no idea what some of the codes on this screen signify, but here's what I've replaced:
1 = Current station code set in config
2 = Platform (shows PlatAll if no platform set) (todo: have different platform based on screen)
3 = Current version of Train Departure Display
4 = Today's date (can't think of an easy way to get the build date of the software without adding a new file)
5 = IP address
The next decision is when to show this. Open to suggestions here, especially from @chrisys as it's your project! 😂
I wondered about replacing the splash screen if a debug mode is enabled, or maybe even having a debug flag that leaves this screen on constantly.
from train-departure-display.
Wow @CalamityJames I was just trying to clear my plate so I could have a look at this ticket this afternoon! This is great!
Here are my thoughts:
- I like your idea of a debug flag to show it, maybe something like if the var is set to TRUE it's always on but if it's an integer we show it on startup for that number of seconds? That feels like it would handle a decent amount of what people might want to do with it.
- My preference would be to remove information that doesn't mean anything in our scenario, but retain the look and feel, so maybe something like...
- Display =
<departureStation>[-><destinationStation>](Plat<platform>) <refreshTime>s <operatingHours>
so we'd end up with something like 'PAD->HWV (PlatAll) 120s 8-22h' - Script = VERSION (I think we can just stick with the version here, as you say, date is a bit hard to do for the source, and I think today's would be misleading). Another option would be to get the build date of the current release from the balenaCloud API.
- Address = device MAC address? UID = balenaCloud device UUID (first 7 chars from BALENA_DEVICE_UUID), IP=local IP
What do you think?
from train-departure-display.
Something like this? 😁
(After putting a MAC address in I don't think there's room for UID)
Also, here it is without some extra options just for completeness
from train-departure-display.
@CalamityJames looks great to me!
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 HOT 2
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.