record-ice-movement

1.0.2 • Public • Published

record-ice-movement

Record the movement of any ICE using the on-board WiFi.

npm version ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Installation

npm install -g record-ice-movement

Or just use npx:

npx record-ice-movement >file.ndjson

Usage

Usage:
    record-ice-movement >file.ndjson
Options:
    --continue-on-train-change  Stop recording as soon as the Triebzugnummer
                                 reported by the on-board WiFi changes, e.g.
                                 when your client accidentally connects to
                                 the WiFi of a different train.
                                 Default: false

The JSON format matches record-tgv-movement where possible:

{
	"ok": true,
	"servicelevel": "AVAILABLE_SERVICE",
	"internet": "HIGH",
	"gpsOk": true,
	"speed": 193,
	"latitude": 52.208488,
	"longitude": 13.22468,
	"wagonClass": "SECOND",
	"navigationChange": "2019-09-14-03-45-10",
	"series": "415",
	"tzn": "Tz1505",
	"serverTime": 1568445967225,
	"clientTime": 1568445967156
}

Related

Contributing

If you have a question or have difficulties using record-ice-movement, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

Package Sidebar

Install

npm i record-ice-movement

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

5.62 kB

Total Files

4

Last publish

Collaborators

  • derhuerst