gaudes / ioBroker.fahrplan

Adapter for ioBroker for connection tables by HAFAS for Deutsche Bahn and other europeen public transport providers.
MIT License
9 stars 6 forks source link

BVG einbinden #191

Open gluecksmann opened 2 years ago

gluecksmann commented 2 years ago

Es sollte möglich sein auch andere Verkehrsgesellschaften einzubinden. die BVG z.B. als eine der größten, sollte auf jeden Fall enthalten sein.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

derhuerst commented 2 years ago

This is still relevant, please re-open.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

derhuerst commented 2 years ago

@stale still relevant

gaudes commented 2 years ago

@derhuerst : Do you think that there is a way for flexible integration of profiles ? First thought is that the product selection might be a problem.

derhuerst commented 2 years ago

Yes, it would probably be possible.

I'm not familiar with ioBroker's system of configuring plugins? Does it have a mechanism to let users configure a plugin interactively?

You can read a profile's products programmatically via profile.products. For example:

const bvgProfile = require('hafas-client/p/bvg')
console.log(bvgProfile.products)
emddummi commented 7 months ago

Bei mir findet er die Haltestellen der BVG und zeigt mir auch deren Busse und TRAM usw. an...