Avant toute chose merci de (re)prendre connaissance de la charte et de la respecter.
Pour résumer :
- Avant de poser une question, je cherche si la réponse existe
- Je suis poli, courtois et je respecte tout un chacun sur le forum
- Si un post m'agace : je m'en éloigne plutôt que de répondre d'une façon qui pourrait être mal interprétée


Il n'est jamais du luxe que de rappeler des choses simples :
Courtoisie, amabilité, politesse et bonne humeur sont les maîtres mots pour un forum sympathique, bienveillant et accueillant :)

Toute la communauté vous remercie

[Plugin Officiel] withings

Pour échanger sur les plugins classés en catégorie "Santé"
laurent92
Timide
Messages : 3
Inscription : 20 oct. 2018, 10:01

Re: [Plugin Officiel] withings

Message par laurent92 » 23 nov. 2018, 07:36

mika-nt28 a écrit :
19 nov. 2018, 08:57
Je vais regarder ca.
Est ce que tu aurrai un log lors de la synchro, il y a peut etre des option non detaille dans l'api

Bonjour Mika,

Voici la log de synchro (suite à mon message du 9/11 sur l'affichage des valeurs masse grasse et maigre) :

Code : Tout sélectionner

[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/user?access_token=xxxxx&action=getdevice
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] {"status":0,"body":{"devices":[{"type":"Scale","battery":"medium","model":"Smart Body Analyzer","deviceid":"xxxxx"}]}}
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/measure?access_token=xxxxx&action=getmeas&category=1&lastupdate=1542868709
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] {"status":0,"body":{"updatetime":1542868922,"timezone":"Europe\/Paris","measuregrps":[]}}
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/sleep?access_token=xxxxx&action=getsummary&enddateymd=2018-11-22&startdateymd=2018-11-21
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] {"status":0,"body":{"series":[],"more":false}}
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/measure?access_token=xxxxx&action=getactivity&enddateymd=2018-11-22&startdateymd=2018-11-21
[2018-11-22 07:42:02][DEBUG] : [Informations][Laurent] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/user?access_token=xxxxx&action=getdevice
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] {"status":0,"body":{"devices":[{"type":"Scale","battery":"medium","model":"Smart Body Analyzer","deviceid":"xxxxx"}]}}
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent]Model d'equipement trouvé: Smart Body Analyzer
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/user?access_token=xxxxx&action=getdevice
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] {"status":0,"body":{"devices":[{"type":"Scale","battery":"medium","model":"Smart Body Analyzer","deviceid":"xxxxx"}]}}
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/measure?access_token=xxxxx&action=getmeas&category=1&startdate=1540276923
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] {"status":0,"body":{"updatetime":1542868923,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1298108391,"attrib":0,"date":1542864924,"created":1542864964,"category":1,"deviceid":"xxxxx","measures":[{"value":79,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1298108388,"attrib":0,"date":1542864924,"created":1542864964,"category":1,"deviceid":"xxxxx","measures":[{"value":75710,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16708,"type":8,"unit":-3},{"value":22068,"type":6,"unit":-3},{"value":59002,"type":5,"unit":-3}],"comment":null},{"grpid":1297324250,"attrib":0,"date":1542778326,"created":1542778366,"category":1,"deviceid":"xxxxx","measures":[{"value":83,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1297324246,"attrib":0,"date":1542778326,"created":1542778366,"category":1,"deviceid":"xxxxx","measures":[{"value":76001,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16962,"type":8,"unit":-3},{"value":22318,"type":6,"unit":-3},{"value":59039,"type":5,"unit":-3}],"comment":null},{"grpid":1296558166,"attrib":0,"date":1542692433,"created":1542692479,"category":1,"deviceid":"xxxxx","measures":[{"value":81,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1296558161,"attrib":0,"date":1542692433,"created":1542692479,"category":1,"deviceid":"xxxxx","measures":[{"value":76115,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16655,"type":8,"unit":-3},{"value":21881,"type":6,"unit":-3},{"value":59460,"type":5,"unit":-3}],"comment":null},{"grpid":1295802078,"attrib":0,"date":1542606910,"created":1542606955,"category":1,"deviceid":"xxxxx","measures":[{"value":75,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1295802077,"attrib":0,"date":1542606910,"created":1542606955,"category":1,"deviceid":"xxxxx","measures":[{"value":76020,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16692,"type":8,"unit":-3},{"value":21957,"type":6,"unit":-3},{"value":59328,"type":5,"unit":-3}],"comment":null},{"grpid":1295029298,"attrib":0,"date":1542521816,"created":1542521862,"category":1,"deviceid":"xxxxx","measures":[{"value":77,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1295029294,"attrib":0,"date":1542521816,"created":1542521862,"category":1,"deviceid":"xxxxx","measures":[{"value":75579,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16817,"type":8,"unit":-3},{"value":22251,"type":6,"unit":-3},{"value":58762,"type":5,"unit":-3}],"comment":null},{"grpid":1294367965,"attrib":0,"date":1542437889,"created":1542437934,"category":1,"deviceid":"xxxxx","measures":[{"value":78,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1294367963,"attrib":0,"date":1542437889,"created":1542437934,"category":1,"deviceid":"xxxxx","measures":[{"value":75341,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16568,"type":8,"unit":-3},{"value":21991,"type":6,"unit":-3},{"value":58773,"type":5,"unit":-3}],"comment":null},{"grpid":1293667612,"attrib":0,"date":1542348746,"created":1542349411,"category":1,"deviceid":"xxxxx","measures":[{"value":90,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1293667609,"attrib":0,"date":1542348746,"created":1542349411,"category":1,"deviceid":"xxxxx","measures":[{"value":75734,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16864,"type":8,"unit":-3},{"value":22267,"type":6,"unit":-3},{"value":58870,"type":5,"unit":-3}],"comment":null},{"grpid":1292808018,"attrib":0,"date":1542260386,"created":1542260430,"category":1,"deviceid":"xxxxx","measures":[{"value":87,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1292808016,"attrib":0,"date":1542260386,"created":1542260430,"category":1,"deviceid":"xxxxx","measures":[{"value":75538,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16820,"type":8,"unit":-3},{"value":22267,"type":6,"unit":-3},{"value":58718,"type":5,"unit":-3}],"comment":null},{"grpid":1292001639,"attrib":0,"date":1542173928,"created":1542173968,"category":1,"deviceid":"xxxxx","measures":[{"value":76,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1292001637,"attrib":0,"date":1542173928,"created":1542173968,"category":1,"deviceid":"xxxxx","measures":[{"value":76190,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":17103,"type":8,"unit":-3},{"value":22448,"type":6,"unit":-3},{"value":59087,"type":5,"unit":-3}],"comment":null},{"grpid":1291209897,"attrib":0,"date":1542088030,"created":1542088078,"category":1,"deviceid":"xxxxx","measures":[{"value":75,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1291209893,"attrib":0,"date":1542088030,"created":1542088078,"category":1,"deviceid":"xxxxx","measures":[{"value":75987,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16736,"type":8,"unit":-3},{"value":22025,"type":6,"unit":-3},{"value":59251,"type":5,"unit":-3}],"comment":null},{"grpid":1290398494,"attrib":0,"date":1542001142,"created":1542001191,"category":1,"deviceid":"xxxxx","measures":[{"value":81,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1290398490,"attrib":0,"date":1542001142,"created":1542001191,"category":1,"deviceid":"xxxxx","measures":[{"value":76339,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":17180,"type":8,"unit":-3},{"value":22505,"type":6,"unit":-3},{"value":59159,"type":5,"unit":-3}],"comment":null},{"grpid":1289641485,"attrib":0,"date":1541916737,"created":1541916784,"category":1,"deviceid":"xxxxx","measures":[{"value":82,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1289641482,"attrib":0,"date":1541916737,"created":1541916784,"category":1,"deviceid":"xxxxx","measures":[{"value":76223,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16841,"type":8,"unit":-3},{"value":22094,"type":6,"unit":-3},{"value":59382,"type":5,"unit":-3}],"comment":null},{"grpid":1288977916,"attrib":0,"date":1541833232,"created":1541833280,"category":1,"deviceid":"xxxxx","measures":[{"value":94,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1288977913,"attrib":0,"date":1541833232,"created":1541833280,"category":1,"deviceid":"xxxxx","measures":[{"value":75822,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16366,"type":8,"unit":-3},{"value":21585,"type":6,"unit":-3},{"value":59456,"type":5,"unit":-3}],"comment":null},{"grpid":1288204891,"attrib":0,"date":1541742363,"created":1541742414,"category":1,"deviceid":"xxxxx","measures":[{"value":83,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1288204884,"attrib":0,"date":1541742363,"created":1541742414,"category":1,"deviceid":"xxxxx","measures":[{"value":75468,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":17008,"type":8,"unit":-3},{"value":22537,"type":6,"unit":-3},{"value":58460,"type":5,"unit":-3}],"comment":null},{"grpid":1287387547,"attrib":0,"date":1541655269,"created":1541655312,"category":1,"deviceid":"xxxxx","measures":[{"value":84,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1287387542,"attrib":0,"date":1541655269,"created":1541655312,"category":1,"deviceid":"xxxxx","measures":[{"value":76041,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16775,"type":8,"unit":-3},{"value":22060,"type":6,"unit":-3},{"value":59266,"type":5,"unit":-3}],"comment":null},{"grpid":1287124004,"attrib":0,"date":1541614637,"created":1541614682,"category":1,"deviceid":"xxxxx","measures":[{"value":74,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1287124003,"attrib":0,"date":1541614637,"created":1541614682,"category":1,"deviceid":"xxxxx","measures":[{"value":77313,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16154,"type":8,"unit":-3},{"value":20894,"type":6,"unit":-3},{"value":61159,"type":5,"unit":-3}],"comment":null},{"grpid":1285777278,"attrib":0,"date":1541482920,"created":1541482967,"category":1,"deviceid":"xxxxx","measures":[{"value":81,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1285777274,"attrib":0,"date":1541482920,"created":1541482967,"category":1,"deviceid":"xxxxx","measures":[{"value":76344,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16786,"type":8,"unit":-3},{"value":21987,"type":6,"unit":-3},{"value":59558,"type":5,"unit":-3}],"comment":null},{"grpid":1284968328,"attrib":0,"date":1541396508,"created":1541396549,"category":1,"deviceid":"xxxxx","measures":[{"value":66,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1284968326,"attrib":0,"date":1541396508,"created":1541396549,"category":1,"deviceid":"xxxxx","measures":[{"value":76317,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":17125,"type":8,"unit":-3},{"value":22439,"type":6,"unit":-3},{"value":59192,"type":5,"unit":-3}],"comment":null},{"grpid":1284339291,"attrib":0,"date":1541320355,"created":1541321021,"category":1,"deviceid":"xxxxx","measures":[{"value":82,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1284339289,"attrib":0,"date":1541320355,"created":1541321021,"category":1,"deviceid":"xxxxx","measures":[{"value":75607,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16347,"type":8,"unit":-3},{"value":21621,"type":6,"unit":-3},{"value":59260,"type":5,"unit":-3}],"comment":null},{"grpid":1283556490,"attrib":0,"date":1541227900,"created":1541227946,"category":1,"deviceid":"xxxxx","measures":[{"value":70,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1283556488,"attrib":0,"date":1541227900,"created":1541227946,"category":1,"deviceid":"xxxxx","measures":[{"value":75874,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16332,"type":8,"unit":-3},{"value":21525,"type":6,"unit":-3},{"value":59542,"type":5,"unit":-3}],"comment":null},{"grpid":1282854223,"attrib":0,"date":1541139668,"created":1541139707,"category":1,"deviceid":"xxxxx","measures":[{"value":68,"type":11,"unit":0,"algo":0,"fw":1721,"fm":3}],"comment":null},{"grpid":1282854221,"attrib":0,"date":1541139668,"created":1541139707,"category":1,"deviceid":"xxxxx","measures":[{"value":76468,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":3},{"value":16913,"type":8,"unit":-3},{"value":22118,"type":6,"unit":-3},{"value":59555,"type":5,"unit":-3}],"comment":null},{"grpid":1282146919,"attrib":0,"date":1541057071,"created":1541057117,"category":1,"deviceid":"xxxxx","measures":[{"value":77,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1282146917,"attrib":0,"date":1541057071,"created":1541057117,"category":1,"deviceid":"xxxxx","measures":[{"value":76246,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16784,"type":8,"unit":-3},{"value":22013,"type":6,"unit":-3},{"value":59462,"type":5,"unit":-3}],"comment":null},{"grpid":1281407451,"attrib":0,"date":1540969926,"created":1540969973,"category":1,"deviceid":"xxxxx","measures":[{"value":78,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1281407450,"attrib":0,"date":1540969926,"created":1540969973,"category":1,"deviceid":"xxxxx","measures":[{"value":76039,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":17021,"type":8,"unit":-3},{"value":22385,"type":6,"unit":-3},{"value":59018,"type":5,"unit":-3}],"comment":null},{"grpid":1280729040,"attrib":0,"date":1540892129,"created":1540892174,"category":1,"deviceid":"xxxxx","measures":[{"value":90,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1280729037,"attrib":0,"date":1540892129,"created":1540892173,"category":1,"deviceid":"xxxxx","measures":[{"value":75689,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16092,"type":8,"unit":-3},{"value":21261,"type":6,"unit":-3},{"value":59597,"type":5,"unit":-3}],"comment":null},{"grpid":1277518168,"attrib":0,"date":1540529372,"created":1540529419,"category":1,"deviceid":"xxxxx","measures":[{"value":81,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1277518165,"attrib":0,"date":1540529372,"created":1540529419,"category":1,"deviceid":"xxxxx","measures":[{"value":75681,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16399,"type":8,"unit":-3},{"value":21669,"type":6,"unit":-3},{"value":59282,"type":5,"unit":-3}],"comment":null},{"grpid":1276724324,"attrib":0,"date":1540442649,"created":1540442693,"category":1,"deviceid":"xxxxx","measures":[{"value":78,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1276724322,"attrib":0,"date":1540442649,"created":1540442693,"category":1,"deviceid":"xxxxx","measures":[{"value":75777,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16610,"type":8,"unit":-3},{"value":21920,"type":6,"unit":-3},{"value":59167,"type":5,"unit":-3}],"comment":null},{"grpid":1275908257,"attrib":0,"date":1540355933,"created":1540355980,"category":1,"deviceid":"xxxxx","measures":[{"value":71,"type":11,"unit":0,"algo":0,"fw":1721,"fm":131}],"comment":null},{"grpid":1275908254,"attrib":0,"date":1540355933,"created":1540355980,"category":1,"deviceid":"xxxxx","measures":[{"value":76219,"type":1,"unit":-3,"algo":0,"fw":1721,"fm":131},{"value":16690,"type":8,"unit":-3},{"value":21897,"type":6,"unit":-3},{"value":59529,"type":5,"unit":-3}],"comment":null}]}}
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/sleep?access_token=xxxxx&action=getsummary&enddateymd=2018-11-22&startdateymd=2018-10-23
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] {"status":0,"body":{"series":[],"more":false}}
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] https://wbsapi.withings.net/v2/measure?access_token=xxxxx&action=getactivity&enddateymd=2018-11-22&startdateymd=2018-10-23
[2018-11-22 07:42:03][DEBUG] : [Informations][Laurent] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
Merci.
Laurent.

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 23 nov. 2018, 08:27

C'est effectivement une erreur de ma part.
Je corrige ca pour la prochaine release
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

sebehome
Timide
Messages : 9
Inscription : 18 juil. 2017, 17:22

Re: [Plugin Officiel] withings

Message par sebehome » 24 nov. 2018, 08:20

Merci pour la manipulation permettant de supprimer mes dizaines de balances via "Résumé".
J'ai mis à jour le plugin et testé à nouveau mais il me créé à chaque fois une nouvelle balance, donc il doit y avoir une erreur (pour rappel 1 balance pour 3 utilisateurs), voici mes logs:

[2018-11-24 08:14:08][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:14:08][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:14:11][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/measure?acc ... 1543043542
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"updatetime":1543043652,"timezone":"Europe\/Paris","measuregrps":[]}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/sleep?ac ... 2018-11-23
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/measure? ... 2018-11-23
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid]Model d'equipement trouvé:
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/measure?acc ... 1540451652
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"updatetime":1543043652,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1298807204,"attrib":0,"date":1542949640,"created":1542949669,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":70637,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null},{"grpid":1297465369,"attrib":0,"date":1542784229,"created":1542784257,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":70712,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null},{"grpid":1294538658,"attrib":0,"date":1542447297,"created":1542447337,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":70287,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null},{"grpid":1291346716,"attrib":0,"date":1542093464,"created":1542093497,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":70273,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null},{"grpid":1288368001,"attrib":0,"date":1541749313,"created":1541749342,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":69777,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null},{"grpid":1280623172,"attrib":0,"date":1540883408,"created":1540883436,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":70292,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:14:12][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:14:13][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:15:14][DEBUG] : [Aucun][Guillaume] https://account.withings.com/oauth2_use ... &state=311
[2018-11-24 08:15:18][DEBUG] : [Aucun][Guillaume] Acquisition du Token
[2018-11-24 08:15:18][DEBUG] : [Aucun][Guillaume] https://account.withings.com/oauth2/token
[2018-11-24 08:15:18][DEBUG] : [Aucun][Guillaume] {"access_token":"<montoken>","expires_in":"10800","token_type":"Bearer","scope":"user.info,user.metrics,user.activity","refresh_token":"5b9d48d830028e5942a4a8e6b1087dd73097d4b1","userid":"17002610"}
[2018-11-24 08:15:19][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:19][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:24][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:24][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:24][DEBUG] : [Aucun][Guillaume]Model d'equipement trouvé:
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/measure?acc ... 1540451725
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"updatetime":1543043725,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288338868,"attrib":0,"date":1541747687,"created":1541747706,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":47592,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:15:25][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:26][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:28][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:28][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:28][DEBUG] : [Aucun][Guillaume]Model d'equipement trouvé:
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/measure?acc ... 1540451729
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"updatetime":1543043729,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288338868,"attrib":0,"date":1541747687,"created":1541747706,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":47592,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:29][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:33][DEBUG] : [Aucun][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:33][DEBUG] : [Aucun][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:36][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:36][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:36][DEBUG] : [Technique][Guillaume]Model d'equipement trouvé:
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/measure?acc ... 1540451737
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"updatetime":1543043737,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288338868,"attrib":0,"date":1541747687,"created":1541747706,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":47592,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:37][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:48][DEBUG] : [Aucun][Clarisse] https://account.withings.com/oauth2_use ... &state=315
[2018-11-24 08:15:52][DEBUG] : [Technique][Clarisse] https://account.withings.com/oauth2_use ... &state=315
[2018-11-24 08:15:57][DEBUG] : [Technique][Clarisse] Acquisition du Token
[2018-11-24 08:15:57][DEBUG] : [Technique][Clarisse] https://account.withings.com/oauth2/token
[2018-11-24 08:15:57][DEBUG] : [Technique][Clarisse] {"access_token":"<monaccesstoken>","expires_in":"10800","token_type":"Bearer","scope":"user.info,user.metrics,user.activity","refresh_token":"a238a78bc5f113c102ef14602dbfb0e13cfe4ed9","userid":"17002534"}
[2018-11-24 08:15:58][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:15:58][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:15:59][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:15:59][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:15:59][DEBUG] : [Technique][Clarisse]Model d'equipement trouvé:
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/measure?acc ... 1540451760
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"updatetime":1543043760,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288337960,"attrib":0,"date":1541747639,"created":1541747664,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":68716,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:16:00][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:16:35][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:16:35][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/measure?acc ... 1543043736
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"updatetime":1543043798,"timezone":"Europe\/Paris","measuregrps":[]}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/sleep?ac ... 2018-11-23
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/measure? ... 2018-11-23
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume]Model d'equipement trouvé:
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/measure?acc ... 1540451798
[2018-11-24 08:16:39][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"updatetime":1543043799,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288338868,"attrib":0,"date":1541747687,"created":1541747706,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":47592,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:16:39][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:16:39][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:16:39][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:16:39][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:16:46][DEBUG] : [Technique][Ingrid] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:16:46][DEBUG] : [Technique][Ingrid] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:16:55][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:16:55][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"profiles":[]}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/measure?acc ... 1543043759
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"updatetime":1543043817,"timezone":"Europe\/Paris","measuregrps":[]}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/sleep?ac ... 2018-11-23
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/measure? ... 2018-11-23
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse]Model d'equipement trouvé:
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/measure?acc ... 1540451817
[2018-11-24 08:16:58][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"updatetime":1543043818,"timezone":"Europe\/Paris","measuregrps":[{"grpid":1288337960,"attrib":0,"date":1541747639,"created":1541747664,"category":1,"deviceid":"df895fd36a8e2d63374e135f4c5e89a619180e8c","measures":[{"value":68716,"type":1,"unit":-3,"algo":0,"fw":501,"fm":131}],"comment":null}]}}
[2018-11-24 08:16:58][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/sleep?ac ... 2018-10-25
[2018-11-24 08:16:58][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"series":[],"more":false}}
[2018-11-24 08:16:58][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/v2/measure? ... 2018-10-25
[2018-11-24 08:16:58][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"activities":[],"more":false,"offset":200}}
[2018-11-24 08:17:03][DEBUG] : [Technique][Clarisse] https://wbsapi.withings.net/notify?acce ... 4&16&44&46
[2018-11-24 08:17:04][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"profiles":[]}}

Merci pour ton retour
Seb

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 26 nov. 2018, 08:52

@sebehome
Je vois pourquoi tu as se probleme
Withings ne connais apparament pas le model de ta balance
[2018-11-24 08:16:57][DEBUG] : [Technique][Clarisse] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
Et c'est effectivement un cas particulier que je n'ai pris en compte
Je corrige ca immédiatement, mais du coup tu n'aurra plus d'equipement
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

sebehome
Timide
Messages : 9
Inscription : 18 juil. 2017, 17:22

Re: [Plugin Officiel] withings

Message par sebehome » 29 nov. 2018, 18:34

Ok merci mais si je n'ai plus d'équipement (ce qui ne me gêne pas) est-ce que j'aurai quand même les valeurs des différents utilisateurs?

sebehome
Timide
Messages : 9
Inscription : 18 juil. 2017, 17:22

Re: [Plugin Officiel] withings

Message par sebehome » 29 nov. 2018, 18:42

Après pourquoi pas dans ce cas là, de créer une balance "Virtuelle" en lui affectant un deviceid dans jeedom (ex: <UNKNOW> ou Null) et d'y rattacher les utilisateurs, ça permettrait de palier à ce problème (ma balance est une Nokia)?

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 30 nov. 2018, 08:17

Les valeur utilisateur seront toujours remonté

Le soucis est que tu n'a ni model ni deviceid.
Donc aucun moyen de l'identifié et tres compliqué de contourné se probleme
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] https://wbsapi.withings.net/v2/user?acc ... =getdevice
[2018-11-24 08:16:38][DEBUG] : [Technique][Guillaume] {"status":0,"body":{"devices":[{"type":"Scale","battery":"high","model":null,"deviceid":null}]}}
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

rwan.ch
Timide
Messages : 22
Inscription : 29 mai 2017, 16:03

Re: [Plugin Officiel] withings

Message par rwan.ch » 03 déc. 2018, 13:26

Hello,

J'ai fouillé le thread mais ne suis pas certain d'avoir vu de réponse.
Les withings sleep mat sont-ils pris en charge par le plugin? Quelqu'un s'en sert pour des interactions avec Jeedom?

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 03 déc. 2018, 16:01

Tout depend de ce que tu veux.
Le plugin remonte les information de sommeil dispo par l'api
The state of sleeping. Values can be:

Value Description
0 Sleep state awake
1 Sleep state light
2 Sleep state deep
3 Sleep state rem

51 Pulse, type: 16
52 Activite, type: 16
53 Activite (Pop, Steel), type: 16
54 Go, type: 16
55 Steel HR, type: 16
60 Aura dock, type: 32
61 Aura sensor, type: 32
62 Aura dock, type: 32
63 Sleep sensor, type: 32
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

rwan.ch
Timide
Messages : 22
Inscription : 29 mai 2017, 16:03

Re: [Plugin Officiel] withings

Message par rwan.ch » 04 déc. 2018, 22:58

Hello Mika,

merci pour ton retour.
Je souhaite juste savoir si le lit est occupé ou non. et comme j'ai 2 sleeping mat, idéalement j'aimerais savoir si les deux places sont occupées.
le niveau de sommeil m'intéresse peu pour créer des scenarios.
Sais tu si on arrive à faire la difference? ou si on a juste 0 awake, et 1,2,3 = endormi (+ ou-)

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 05 déc. 2018, 08:25

Je viens de me rendre compte que j'ai bien cree la fonction, mais pas la commande Sleep Stat
Je l'ajoute pour la prochaine release
Pour moi l'api renvoie une de ses valeur 0,1,2,3
Value Description
0 Sleep state awake
1 Sleep state light
2 Sleep state deep
3 Sleep state rem
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

rwan.ch
Timide
Messages : 22
Inscription : 29 mai 2017, 16:03

Re: [Plugin Officiel] withings

Message par rwan.ch » 12 déc. 2018, 18:28

Hello Mika!

Du coup j'ai acheté et installé le plugin.
J'ai créé les clefs et tokens sur la page withings en suivant la doc.
Je vois rentrer 5 équipements qui correspondent bien à ce que je possède. je ne peux cliquer sur aucun (ou du moins ça n'ouvre rien)
j'ai créé 2 utilisateurs, et je les ai liés avec les personnes dans withings, en ajoutant le push.

Mais je ne vois aucune commande se créer à part "rafraichir".
J'ai activé les logs en debug, et quand je "sauvegarde" un utilisateur, j'ai bien les appareils qui redescendent, mais je ne vois toujours pas les commandes apparaitre.

Code : Tout sélectionner

[2018-12-12 18:24:17][DEBUG] : [Devices][R1]Model d'equipement trouvé: Body Cardio
[2018-12-12 18:24:17][DEBUG] : [Devices][R1]Model d'equipement trouvé: Thermo
[2018-12-12 18:24:17][DEBUG] : [Devices][R1]Model d'equipement trouvé: Withings Blood Pressure Monitor V3
[2018-12-12 18:24:17][DEBUG] : [Devices][R1]Model d'equipement trouvé: Aura Sensor V2
[2018-12-12 18:24:17][DEBUG] : [Devices][R1]Model d'equipement trouvé: Aura Sensor V2
Une idée sur ce que j'aurais mal fait :?:

mounik34
Timide
Messages : 18
Inscription : 25 juin 2018, 11:04

Re: [Plugin Officiel] withings

Message par mounik34 » 12 déc. 2018, 20:45

Salut @rwan.ch !
C'est à toi d'ajouter les commandes que tu veux rajouter/recuperer sur ton utilisateur en cliquant sur "Ajouter une commande" et un select apparaitra avec la liste des commandes dispo ...
Normal qu'on ne puisse pas cliquer sur les equipements, c'est pareil pour moi !

rwan.ch
Timide
Messages : 22
Inscription : 29 mai 2017, 16:03

Re: [Plugin Officiel] withings

Message par rwan.ch » 12 déc. 2018, 23:13

Hello Mounik,

Ok top merci pour les commandes sur les utilisateurs. ça marche, je suis passé à coté.

Du coup, tu sais si on peut récupérer des infos sur les appareils? l'état? la batterie? => EDIT : j'ai trouvé
Du dernier message de mika j'imagine que je vais voir apparaitre la commande sleep stat bientot, sur les sleep monitor?


Merci pour le boulot et les reponses, c'est top!

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 13 déc. 2018, 08:18

@rwan.ch
Les équipement apparaisse mais il est normal que l'on puisse pas cliqué
Elle sont présente pour mettre une alarme sur leur batterie.
Dans un futur proche je proposerai effectivement une page pour pouvoir changer les quelques paramètre de jeedom


La création de commande n'est plus automatique, pour permettre de remonté que se que l'on a besoin
Je me demande d’ailleurs si j'ai mis a jours la documentation sur cette dernière mise a jours

Le plugin remonte par le push ou le refresh les dernière mise a jours
A la création, normalement il prend la dernière valeur du moi.

Tien moi au courant pour la partie sleep, je n'ai pas eu grand retour sur cette partie et cela m’intéresse de valider /debuger
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

mounik34
Timide
Messages : 18
Inscription : 25 juin 2018, 11:04

Re: [Plugin Officiel] withings

Message par mounik34 » 13 déc. 2018, 08:42

@mika Je te ferai aussi des retours sur les etats du sleep une fois dispo !

Avatar de l’utilisateur
mika-nt28
Actif
Messages : 6298
Inscription : 05 août 2014, 08:58
Localisation : Dreux - France

Re: [Plugin Officiel] withings

Message par mika-nt28 » 13 déc. 2018, 09:04

il sont dispo non ?

Edit
Ha ok je ne l'ai pas poussé en stable
Je le fait immédiatement
Pour faciliter la compréhension de votre problème, n’oubliez pas de poster
- Des Screenshots de votre configuration
- Le Log au moment du problème constaté

Encouragez-moi https://www.paypal.me/mikant28

rwan.ch
Timide
Messages : 22
Inscription : 29 mai 2017, 16:03

Re: [Plugin Officiel] withings

Message par rwan.ch » Hier, 10:27

Hello!

Je viens d'essayer. je n'ai pas de nouvelle commande sur les appareils, j'en déduis que c'est sur les utilisateurs qu'il faut la rajouter et qu'il faut aller la lire.
Je suis en train de tester, mais je n'ai aucune valeur qui remonte quand je teste alors qu'il y a quelqu'un dans le lit, j'ai toujours "" comme retour. (commande historisée sur plusieurs jours)
Meme si je rafraichis, meme s'il y a de la présence dans le lit depuis plus de 30min. Le reste des infos withing circulent normalement.

Répondre

Revenir vers « [Catégorie] Santé »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité