Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
Dockerfile
README.md
cleanup.sh
docker-compose-grafana.yml
docker-compose.yml

README.md

OGC SensorThings Faker

Build Status

This application starts a GOST OGC SensorThings server and populates it with dummy observations and location history.

Usage

  1. Download the docker-compose script and start all containers:
wget https://github.com/linksmart/sensorthings-faker/blob/master/docker-compose.yml
docker-compose up -d
  1. Wait several minutes to have some data to work with. You should be able to fetch observations from: http://localhost:8095/v1.0/Observations

The server root URL is: http://localhost:8095/v1.0

Visualize in Grafana using the latest SensorThings plugin

  1. Clone the plugin source code
git clone https://github.com/linksmart/grafana-sensorthings-datasource.git linksmart-sensorthings-datasource
  1. Start Grafana with Worldmap Panel
docker-compose -f docker-compose-grafana.yml up -d

Open Grafana: http://localhost:3000 (default user: admin, password: admin). 3. Add SensorThings datasource, configure with:

  • URL: http://gost:8080/v1.0
  • Access: server
  1. Continue with the plugin.

Tip: People Counter DS has OM_Observation type and with result of the following format:

{
    "rear": 6,
    "front": 2
}

These can be visualized with JSONPath using $.front and $.rear expressions.

You can’t perform that action at this time.