@mika-nt28
Salut,
Je n'arrive pas à mettre en place le callback. J'ai cette erreur:
The callback URL is either absent or incorrect.
La log:
Code : Tout sélectionner
[2019-01-03 12:12:08][DEBUG] : [Chambre Papa][Papa] Inscription aux Notifications
[2019-01-03 12:12:08][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/notify?access_token=fc5aeee799ba5f75fd3efd550fexxxx2995e6dab&action=subscribe&appli=1&4&16&44&46&callbackurl=https%3A%2F%2Fjeedom.xxxx.org%3A443%2Fplugins%2Fwithings%2Fcore%2Fphp%2Fpull.php%3FeqLogic_id%3D499%26apikey%3DteiJS86Ze7xxxxjeiSUL53hgjANs6eA&comment=Jeedom
[2019-01-03 12:12:10][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/v2/user?access_token=fc5aeee799ba5f75fd3efd550fexxxx2995e6dab&action=getdevice
[2019-01-03 12:12:11][DEBUG] : [Chambre Papa][Papa] {"status":0,"body":{"devices":[{"type":"Scale","battery":"medium","model":"Withings WBS01","deviceid":"af151c56c148713bda333bafbcd11e1de71bb541","timezone":"America\/Cayenne"},{"type":"Blood Pressure Monitor","battery":"high","model":"Withings Blood Pressure Monitor V2","deviceid":"59e3fd4afbe6e31af1xxxxx6891390914dd35d86","timezone":"America\/Cayenne"}]}}
[2019-01-03 12:12:11][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/measure?access_token=fc5aeee799ba5f75fd3efxxxx73002995e6dab&action=getmeas&category=1&lastupdate=1546527705
[2019-01-03 12:12:11][DEBUG] : [Chambre Papa][Papa] {"status":293,"error":"The callback URL is either absent or incorrect"}
[2019-01-03 12:12:11][DEBUG] : [Chambre Papa][Papa] {"status":0,"body":{"updatetime":1546528331,"timezone":"America\/Cayenne","measuregrps":[]}}
[2019-01-03 12:12:11][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/v2/sleep?access_token=fc5aeee799ba5f75fd3efd550fexxxx995e6dab&action=getsummary&enddateymd=2019-01-03&startdateymd=2019-01-02
[2019-01-03 12:12:12][DEBUG] : [Chambre Papa][Papa] {"status":0,"body":{"series":[],"more":false,"offset":0}}
[2019-01-03 12:12:12][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/v2/sleep?access_token=fc5aeee799ba5f75fd3efd550fexxxxx995e6dab&action=get&enddate=1546528332&startdate=1546441932
[2019-01-03 12:12:13][DEBUG] : [Chambre Papa][Papa] {"status":0,"body":{"series":[],"model":16}}
[2019-01-03 12:12:13][DEBUG] : [Chambre Papa][Papa] https://wbsapi.withings.net/v2/measure?access_token=fc5aeee799ba5f75fd3efd55xxxx02995e6dab&action=getactivity&enddateymd=2019-01-03&startdateymd=2019-01-02
[2019-01-03 12:12:14][DEBUG] : [Chambre Papa][Papa] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
J'ai bien mis le callback indiqué par le plugin lors de la création de l'application chez Withings.
L'accès à mon Jeedom depuis l'extérieur fonctionne très bien et j'ai un certificat valide.
Si j'appelle l'url:
https://jeedom.xxxx.org/plugins/withing ... llback.php, j'ai ce message:
J'imagine que l'accès depuis l'extérieur fonctionne.
Merci pour ton aide.
P.S.: J'ai modifié les tokens en changeant des chiffres par des "x" pour la publication sur le forum.