Running shell scripts on pimatic 0.9.45 on a freshly updated jessie to stretch rpi, suddenly no longer work.
Commands like
curl -s -X PATCH --header "Content-Type:application/json" --data '{"type": "value", "valueOrExpression": "'$NEWTIME'"}' --user "$USERNAME:$PASSWORD" $URL/$VARNAME
or
curl -s -X PATCH --header "Content-Type:application/json" --data '{"type": "value", "valueOrExpression": "'$oprittemperatuur'"}' --user "$USERNAME:$PASSWORD" $URL/oprit-temperatuur
suddenly no longer work on Debian stretch.
Reported error:
json: error: input is not JSON: Unexpected '<' at line 1, column 1: <html> ^
Someone any idea?