akloeckner / hacs-hafas Goto Github PK
View Code? Open in Web Editor NEWPort of kilimnik's HAFAS client for HACS
Port of kilimnik's HAFAS client for HACS
Hey @kilimnik,
I felt so free to take your work from home-assistant/core#78839 and cast it into a very preliminary HACS repository. You should be able to add this custom repository (https://github.com/akloeckner/hacs-hafas) to HACS (following this guide) and create a working Deutsche Bahn sensor (yeay):
However, I found a severe issue, that I wouldn't want to discuss in the HA PR. I noticed that my local Kölner Verkehrsbetriebe (KVB) was not available as a profile. So, I investigated how to add it as a profile. And it seems, that requires changing the pyhafas library. Which has several open PRs, partly dating way back to 2021. So, I got the feeling that this library might not be really maintained anymore. Even if it is maintained, every new company would require a code change. Do you think, that will be usable by the regular HA user?
Then again, if you think, that is doable, we could be close to having a working HACS integration. :-) Maybe polish the readme, fix some minor bugs on the way and advertise. ;-)
Hi,
I was running the integration without issues for some time. Supposedly due to a change on the server side it stopped working. Hopefully the fix provided in pyhafas 0.3.1 will do.
Thanks, Robert
When evaluating the station name (presumably), an unspecific error occurs, resulting in "unknown" to be displayed to the user. I guess, that originates somewhere here:
@enjoysimpson, I thought we'd better split this issue from the general setup issue #1.
Hi akloeckner,
many thanks for your investigations taking the source from @kilimnik and put it into this repro.
I'm searching for a DB integration for HA. I started with https://github.com/faserf/ha-deutschebahn but this implementation uses schiene too.
After pyhafas was fixed hopefully this project will get more boost.
Now my request:
It is possible to implement the atrributes of the sensor like the HVV integration?
https://www.home-assistant.io/integrations/hvv_departures
This hopefully enables the possibility to use the hvv card https://github.com/nilstgmd/hvv-card
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.