Les saisir pour chaque utilisateur n'est pas très contraignant car tu ne le fais qu'une seule fois.
Cela te permet aussi d'avoir un autre équipement de ta famille ou de tes amis (autre compte).
Les saisir pour chaque utilisateur n'est pas très contraignant car tu ne le fais qu'une seule fois.
Code : Tout sélectionner
[Thu Oct 04 11:16:25.305349 2018] [:error] [pid 109943] [client 192.168.1.6:45147] PHP Fatal error: Uncaught Error: Call to a member function execCmd() on boolean in /var/www/html/plugins/withings/core/class/withings.class.php:320
Stack trace:
#0 /var/www/html/plugins/withings/core/class/withings.class.php(429): withings->getIMC()
#1 /var/www/html/plugins/withings/core/class/withings.class.php(284): withings->syncWithWithings()
#2 /var/www/html/core/class/DB.class.php(187): withings->postSave()
#3 /var/www/html/core/class/eqLogic.class.php(933): DB::save(Object(withings), false)
#4 /var/www/html/plugins/withings/core/class/withings.class.php(71): eqLogic->save()
#5 /var/www/html/plugins/withings/core/php/callback.php(14): withings->AccessToken('d15c53xxx...')
#6 {main}
thrown in /var/www/html/plugins/withings/core/class/withings.class.php on line 320
[Thu Oct 04 11:16:27.261112 2018] [:error] [pid 116188] [client 192.168.1.6:45151] PHP Fatal error: Uncaught Error: Call to a member function execCmd() on boolean in /var/www/html/plugins/withings/core/class/withings.class.php:320
Stack trace:
#0 /var/www/html/plugins/withings/core/class/withings.class.php(429): withings->getIMC()
#1 /var/www/html/plugins/withings/core/class/withings.class.php(284): withings->syncWithWithings()
#2 /var/www/html/core/class/DB.class.php(187): withings->postSave()
#3 /var/www/html/core/class/eqLogic.class.php(933): DB::save(Object(withings), false)
#4 /var/www/html/plugins/withings/core/class/withings.class.php(71): eqLogic->save()
#5 /var/www/html/plugins/withings/core/php/callback.php(14): withings->AccessToken('d15c53xxx...')
#6 {main}
thrown in /var/www/html/plugins/withings/core/class/withings.class.php on line 320
[Thu Oct 04 11:24:34.513349 2018] [:error] [pid 721] [client 192.168.1.6:48105] PHP Fatal error: Uncaught Error: Call to a member function execCmd() on boolean in /var/www/html/plugins/withings/core/class/withings.class.php:320
Stack trace:
#0 /var/www/html/plugins/withings/core/class/withings.class.php(429): withings->getIMC()
#1 /var/www/html/plugins/withings/core/class/withings.class.php(284): withings->syncWithWithings()
#2 /var/www/html/core/class/DB.class.php(187): withings->postSave()
#3 /var/www/html/core/class/eqLogic.class.php(933): DB::save(Object(withings), false)
#4 /var/www/html/core/ajax/eqLogic.ajax.php(334): eqLogic->save()
#5 {main}
thrown in /var/www/html/plugins/withings/core/class/withings.class.php on line 320, referer: https://mondomain.fr/index.php?v=d&m=withings&p=withings
[Thu Oct 04 11:25:23.332879 2018] [:error] [pid 116188] [client 192.168.1.6:48391] PHP Fatal error: Uncaught Error: Call to a member function execCmd() on boolean in /var/www/html/plugins/withings/core/class/withings.class.php:320
Stack trace:
#0 /var/www/html/plugins/withings/core/class/withings.class.php(429): withings->getIMC()
#1 /var/www/html/plugins/withings/core/class/withings.class.php(284): withings->syncWithWithings()
#2 /var/www/html/core/class/DB.class.php(187): withings->postSave()
#3 /var/www/html/core/class/eqLogic.class.php(933): DB::save(Object(withings), false)
#4 /var/www/html/plugins/withings/core/class/withings.class.php(71): eqLogic->save()
#5 /var/www/html/plugins/withings/core/php/callback.php(14): withings->AccessToken('5971daxxx...')
#6 {main}
thrown in /var/www/html/plugins/withings/core/class/withings.class.php on line 320, referer: https://account.withings.com/
Il faudrait pouvoir écraser les id client et secret du plugin par défaut dans l'équipement qui ne dépendrait pas du même compte.
C'est deja une tres bonne chose
C'est a dire, chez moi il s'active bien par contre je ne sais pas si les info remonte correctement car ma Withings Home n'est pas compatible.
Je n'ai pas bien compris.Jeandhom a écrit : ↑04 oct. 2018, 11:55Il faudrait pouvoir écraser les id client et secret du plugin par défaut dans l'équipement qui ne dépendrait pas du même compte.
Jeandhom a écrit : ↑01 oct. 2018, 18:48Les logs d'erreur lorsque j'essaye d'activer le mode push :
Code : Tout sélectionner
[2018-10-01 17:30:26][DEBUG] : [Withings][Personne] https://api.health.nokia.com/notify?access_token=91553fxxxxxxxxxxxxxxxxxxxxxxxxxx&action=list&appli=1&4&16&44&46 [2018-10-01 17:30:26][DEBUG] : [Withings][Personne] {"status":0,"body":{"profiles":[]}} [2018-10-01 17:30:47][DEBUG] : [Withings][Personne] Inscription aux Notifications [2018-10-01 17:30:47][DEBUG] : [Withings][Personne] https://api.health.nokia.com/notify?access_token=91553fxxxxxxxxxxxxxxxxxxxxxxxxxx&action=subscribe&appli=1&4&16&44&46&callbackurl=https%3A%2F%2Fmondomaine.fr%3A443%2Fplugins%2Fwithings%2Fcore%2Fphp%2Fpull.php%3FeqLogic_id%3D184%26apikey%3Dzzzzzzzzzzzzzzzzzzzzzzzzzzzz&comment=Jeedom [2018-10-01 17:30:49][DEBUG] : [Withings][Personne] {"status":293,"error":"The callback URL is either absent or incorrect"}
L'idée c'est de pouvoir mixer les deux.mika-nt28 a écrit : ↑04 oct. 2018, 12:38Je n'ai pas bien compris.
Soit on as une config globale comme c'est fait maintenant, soit une config par utilisateur.
Je ne sais pas si on peut associé le même équipement a plusieurs compte et je doute qu'il soit très intéressant d'avoir plusieurs compte
Voici ce qu'il y a dans le log et mon nom de domaine est bon.mika-nt28 a écrit : ↑04 oct. 2018, 13:19A tu bien reporter l'url qui est donné par le plugin
https://mika-nt28.github.io/Jeedom-with ... chor-1-2-2
Code : Tout sélectionner
... 46&callbackurl=https%3A%2F%2Fmondomaine.fr%3A443%2Fplugins%2Fwithings%2Fcore%2Fphp%2Fpull.php%3FeqLogic_id%3D184%26apikey%3Dzzzzzzzzzzzzzzzzzzzzzzzzzzzz&comment=Jeedom
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 0 invité