#!/bin/bash # # ask the dss to call a scene # # Johannes Winkelmann, johannes.winkelmann@aizo.com DSS_SERVER=localhost:8080 ZONE_ID=0 BASE_URL="http://$DSS_SERVER/json/zone/callScene" if [ -z "$2" ]; then echo "Usage: $(basename $0) " exit 1 fi set -x wget -O - "${BASE_URL}?id=$1&sceneNr=$2&groupID=1" &> /dev/null