Petit à petit je me familiarise avec ces lignes de commande, mais n'ayant aucune base je suis presque en aveugle

Lorsque J'utilise ce script :
#!/bin/bash
DOMO_IP="192.168.12.90" # Domoticz IP Address à renseigner
DOMO_PORT="8080" # Domoticz Port à renseigner
TELEINFO_CONSO_IDX="87" # Teleinfo CONSO IDX à renseigner
# EAST=$(grep EAST /dev/ttyUSB0 -m 1 | awk '{ print $2}')
SINSTS=$(grep SINSTS /dev/ttyUSB0 -m 1 | awk '{ print $2}')
# echo "EAST : $EAST"
echo "SINSTS : $SINSTS"
if [[ $SINSTS = +([0-9]) ]] ; then
curl -s -i -H "Accept: application/json" "http://$DOMO_IP:$DOMO_PORT/json.htm?type=command¶m=udevice&idx=$TELEINFO_CONSO_IDX&nvalue=0&svalue=$SINSTS"
fi
J'ai ça en retour :
pi@Rpi-Domoticz:~/domoticz/scripts $ ./teleinfo
SINSTS : 00726
HTTP/1.1 401 Unauthorized
Content-Length: 91
Content-Type: text/html
Set-Cookie: DMZSID=none; HttpOnly; Expires=Thu, 01 Jan 1970 00:00:00 GMT
<html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></b
Je me dit que mon script n'arrive pas à inscrire une valeur dans mon compteur.
Peut etre me faut-il lui donner mot de passe et user?
Non?