Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Dummy generator for an OGC SensorThings Server

Notifications You must be signed in to change notification settings

linksmart/sensorthings-faker

Repository files navigation

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://raw.githubusercontent.com/linksmart/sensorthings-faker/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. Start the latest Grafana instance with Worldmap Panel and latest build of Sensorthings Datasource:
wget https://raw.githubusercontent.com/linksmart/sensorthings-faker/master/docker-compose-grafana.yml
docker-compose -f docker-compose-grafana.yml up -d

Open Grafana: http://localhost:3000 (default user: admin, password: admin).

  1. Add SensorThings datasource, configure with:

    • URL: http://gost:8080/v1.0
    • Access: server
  2. 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.

About

Dummy generator for an OGC SensorThings Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published