lesensei / idfm-card Goto Github PK
View Code? Open in Web Editor NEWSimple Lovelace card to show next departures on the Ile de France Mobilite network
License: MIT License
Simple Lovelace card to show next departures on the Ile de France Mobilite network
License: MIT License
In the image below I compare the card proposed by the Entity generated by https://github.com/droso-hass/idfm with "idfm-card".
Using the "idfm" integration, the delays are even given in seconds, and it counts down every second.
The "idfm-card" on the other hand as a nicer representation, but the data seems to be updated only when it is fetched from the data provider.
I suggest that the UI would also update the time in between API calls. It also means that there is less need to check the update time.
Checklist:
Release with the issue:
0.0.6d
Last working release (if known):
N/A
Browser and Operating System:
Google Chrome Version 116.0.5845.141, Windows 11
Description of problem:
Unable to get next trains for tramway lines.
For example I've tested with:
Line: line:IDFM:C01843
Departure: stop_area:IDFM:72028
Arrival: stop_area:IDFM:72037
And it couldn't get the next trains. No issue with RER or bus lines.
Javascript errors shown in the web inspector (if applicable):
Failed to load resource: the server responded with a status of 500 ()
https://api-iv.iledefrance-mobilites.fr/lines/line:IDFM:C01843/stops/stop_area:IDFM:72037/to/stop_area:IDFM:72028/realtime
And error when trying to access to URL:
{"nextDepartures":{"data":[],"statusCode":500,"errorMessage":"Cannot read property 'value' of undefined"},"crowdsourcingReports":{"congestions":[{"sens":-1,"nearTimeReports":{"rating":null}},{"sens":1,"nearTimeReports":{"rating":null}}],"statusCode":200}}
Additional information:
Very convenient integration, thank you!
Checklist:
Release with the issue:
0.0.3
Last working release (if known):
None
Browser and Operating System:
Doesn't matter.
Description of problem:
The way
parameter doesn't work for trains operated by the SNCF (e.g. RER E or L train).
Javascript errors shown in the web inspector (if applicable):
None
Additional information:
Example URLs showing the problem:
When a Schedule
object returned by the /realtime
REST call doesn't have a lineDirection
member, the code crashes and the schedule doesn't get shown.
My UI is generally in dark mode, but the idfm-card is "always" white:
My request is to propose a dark mode, and idealy adapt it automatically according to the user's selection.
For comparison, I have a browser plugin to convert sites that aren't dark mode to some automatic dark mode which results in:
The yellowish background is not ideal, and I do not enable that plugin on my ha instance - converting something that is already in dark mode using the browser plugin is not always rendering fine.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.