record-cd-train-movement
v1.0.0
Published
Record the movement of a České Dráhy (Czech Railways) train using its on-board WiFi.
Downloads
5
Maintainers
Readme
record-cd-train-movement
Record the movement of a České Dráhy (Czech Railways) train using its on-board WiFi (CDWiFi).
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.