This application starts a GOST OGC SensorThings server and populates it with dummy observations and location history.
- 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
- 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
- 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
).
-
Add SensorThings datasource, configure with:
- URL:
http://gost:8080/v1.0
- Access: server
- URL:
-
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.