#!/usr/bin/env bash [[ -z "$ORION_HOST" ]] && echo "Please set ORION_HOST env var. E.g. export ORION_HOST=127.0.0.1" && exit echo "Querying context broker at: ${ORION_HOST}" curl --location --request GET \ "http://$ORION_HOST:1026/v2/entities/urn:ngsi-ld:FlowerBed:FlowerBed-345?options=keyValues" \ --header "Fiware-Service: carouge" \ --header "Fiware-ServicePath: /watering" \ | python -mjson.tool