Commande curl sous homeassistant

Bonjour
je voudrais changer mon adresse ip sous OVH avec la commande CURL
voici ma syntax mais ne marche pas

curl --user « xxxxxxxx.fr-monmotdepass » « https://www.ovh.com/nic/update?system=dyndns&hostname=xxxxxxxx.fr&myip=1.92.192.4 »
avez vous une idée de la syntaxe

Salut,

Pourquoi ne pas passer par ça ?

merci beaucoup Pulpy
j’ai telecharger ovh via hacs
puis mis ca dans le fichier configuration
domain: xxxxxxxx.fr
username: xxxx.fr-xxx
password: xxxx
mais erreur dans mon fichier config

Integration error: password - Integration ‹ password › not found.
Integration error: username - Integration ‹ username › not found.
Integration error: domain - Integration ‹ domain › not found.

oui mais il faut mettre TOUT le code, espaces compris

ovh:
  domain: xxxxxxxx.fr
  username: xxxx.fr-xxx
  password: xxxx

merci la config est valide
juste une derniere question ca se mais a jour tout les combien de temps

Regarde c’est marqué dans le tableau …

ah oui par defaut toute les 10mn :slight_smile:

encore un super merci Pulpy
ca marche nickel

1 « J'aime »