sebikolon / MMM-RVV

MagicMirror² module: Departure monitor for the RVV (Regensburger Verkehrsverbund) bus system (ÖPNV, public transport)
https://www.sbuechler.de/projekte/programmierung/135-mmm-rvv
MIT License
5 stars 1 forks source link

Module stuck in "Lade..." #3

Open smylees opened 5 months ago

smylees commented 5 months ago

Hi there,

thanks for the nice module first, it looks amazing! Nevertheless I'm facing an issue:

I did the following in the "modules" folder:

git clone https://github.com/sebikolon/MMM-RVV.git
cd MMM-RVV
npm install
npm install request
npm install cheerio
npm install

Then I added your sample configuration to config.js and started the MagicMirror. The Module just shows "Lade..." and nothing happens even after a long period of time. grafik I tried the "logToConsole: true" but it doesn't show anything in my "pm2 log mm". Internet connection is fine (every other module is working) an I can easily open https://txt.bayern-fahrplan.de/textversion/bcl_abfahrtstafel in the browser.

What might be the problem? I'm relatively new to Linux so sorry for any inaccuracy.

Thanks a lot for your help smylees

SeBuCX commented 4 months ago

Hi @smylees , thanks for your message! I will look into the issue asap and feed you back. Cheers, Sebastian

SeBuCX commented 3 months ago

Seems like "bayern-fahrplan.de" was re-launched and is now "bahnland-bayern.de". After quick research, I found a new URI that allows to parse the DOM elements: https://bahnland-bayern.de/de/moby/efa/app/departureMonitor.

The "web-scraper" component of this module would need to be re-written. Feel free to contribute! 😃