Example Project: Smart Agriculture using Fiware-Orion

Description

This document provides an overview of the Smart Agriculture Project which integrates Fiware-Orion Context broker, along with PostgreSQL database and Grafana Dashboard

Prerequisites

Project can be installed through our private Verdaccio registry.

@senlab/node-red-project-smart-agriculture

To learn more about Verdaccio and how to install packages, please refer to this documentation: Verdaccio

Services: 1. Grafana, 2. Fiware-Orion, 3. Node-RED, 4. MQTT Broker (Mosquitto/EMQX), 5. PostgreSQL database need to be installed on the Sandbox

For more information about installing and managing services, please refer to the following documentation: services.

Instructions

  1. Deploy Generate Random Data flow

  2. Deploy Check for entity and update entity values flows

  3. Deploy subscribe to entity updates flow

  4. Deploy Generate PostgreSQL Insert query flow

  5. Create Dashboard in Grafana

The end goal is to simulate data, transmit it over Fiware-Orion context broker for further processing, saving it in database and displaying it inside Grafana.

TODO: add references to documentations which do that, for now missing: 2. Check for entity and update entity values doc, also make subflow from those functions and add it to orion documentations 4. PostgreSQL Insert query flow - update postgresql collection, 5. Tutorial for making dashboard inside grafana