record-cd-train-movement

1.0.0 • Public • Published

record-cd-train-movement

Record the movement of a České Dráhy (Czech Railways) train using its on-board WiFi (CDWiFi).

npm version ISC-licensed minimum Node.js version support me via GitHub Sponsors chat with me on Twitter

Installation

npm install record-cd-train-movement

Usage

Usage:
    record-cd-train-movement >file.ndjson
Options:
    --acknowledge-captive-portal  First attempt to acknowledge CD Wifi's captive portal.
                                    Default: false
    --gpsd-json                   Print GPSd-compatible `TPV` JSON messages to stdout,
                                    in order to use gpsd to use Wifi's position data as
                                    a GPSd [1] data source.
                                    Default: false
                                    [1] https://gpsd.gitlab.io/gpsd/
Examples:
    record-cd-train-movement --acknowledge-captive-portal | tee -a ec-179-praha.ndjson
    # provide GPSd-compatible JSON messages on tcp://localhost:2947
    record-cd-train-movement --gpsd-json | ncat -l 2947 -k --send-only

Contributing

If you have a question or need support using record-cd-train-movement, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use the issues page.

Package Sidebar

Install

npm i record-cd-train-movement

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

8.13 kB

Total Files

5

Last publish

Collaborators

  • derhuerst