Skip to content

Commit

Permalink
Add temporary solution for hafas_client issue
Browse files Browse the repository at this point in the history
  • Loading branch information
KristjanESPERANTO committed Sep 18, 2024
1 parent 502efef commit f87f9ce
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ cd MMM-PublicTransportBerlin
npm ci
```

Since there is an issue with the current version of `hafas_client`, you also have to run this command to fix that:

```shell
cp base.json node_modules/hafas-client/p/bvg/base.json
```

## Update

Just enter your MMM-PublicTransportBerlin folder in the MagicMirror's modules folder and execute the following commands in the module's directory:
Expand Down
17 changes: 17 additions & 0 deletions base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"auth": {
"type": "AID",
"aid": "dVg4TZbW8anjx9ztPwe2uk4LVRi9wO"
},
"client": {
"type": "WEB",
"id": "VBB",
"v": 10002,
"name": "webapp",
"l": "vs_webapp"
},
"endpoint": "https://bvg-apps-ext.hafas.de/bin/mgate.exe",
"ext": "BVG.1",
"ver": "1.72",
"defaultLanguage": "de"
}

0 comments on commit f87f9ce

Please sign in to comment.