node-red-contrib-uk-national-rail 0.1.4

A Node-RED node to provide a list of upcoming train departures.

npm install node-red-contrib-uk-national-rail

A Node-RED node to provide a list of upcoming train departures.

Pre-requisites

To use this node you will require an API key from the UK National Rail Developers web site.

Install

Install using the Manage Palette menu option, or manually run the following command in your Node-RED user directory - typically ~/.node-red

    npm i --save dceejay/node-red-contrib-uk-national-rail

Usage

Outputs

  • payload contains an array of upcoming train departure objects.
  • topic set to the station code of the station requested.

Inputs

  • station a station code string that can be used if one is not specified in the configuration. The configuration has precedence.

Node Info

Version: 0.1.4
Updated 2 years, 5 months ago
License: Apache-2.0
Rating: not yet rated

Actions

Rate:

Downloads

1 in the last week

Nodes

  • natrail
  • natRail-config

Keywords

  • node-red
  • rail
  • train
  • timetable

Maintainers