Sign inSign up

synchronicityiot/polling-velostations

By synchronicityiot

•Updated over 7 years ago

Polling Velo stations API

Image
0

116

synchronicityiot/polling-velostations repository overview

⁠Synchronicity BikeHireDockingStation Velo

Small tool to scrape the bike API and push BikeHireDockingStation data.

⁠Setup

  • clone this project
  • make sure that NodeJs⁠ (latest LTS version) and Yarn⁠ are installed
  • run yarn to install the dependencies

⁠Configuration

  • Configuration about which IoT Gateway to use and the pollinterval is located in the Configuration.ts file

⁠Run

There are several ways to run Synchronicity which are listed below. It is possible to do this with or without Docker. The application will start polling every 5 minutes and push the BikeHireDockingStation data through the IoT Gateway, Nifi and into the Orion and STH database.

⁠locally with Docker
docker build . -t synchronicity-bikehiredockingstations:1.0
docker run bikehiredockingstations:1.0
⁠locally without Docker
yarn start

Tag summary

Content type

Image

Digest

Size

265.3 MB

Last updated

over 7 years ago

docker pull synchronicityiot/polling-velostations:0.0.1