Erreur "500 : Internal Server Error" à la tentative de Synchronisation

Bonjour

J’utilise un Thermostat Connecté Netatmo depuis quelque mois, et je souhaite l’ajouter dans un jeedom tout nouveau que je viens d’installer

J’ai installé le plugin officiel Netatmo → ok
je l’ai activé → ok
je l’ai associé avec mon compte netatmo → ok
j’ai envoyé la configuration au market → ok

mais quand je clique sur Synchronisation, j’obtiens systématiquement une erreur « 500 : Internal Server Error »

Les logs en debug ne mentionnent pas d’erreur :

[2024-07-31 16:25:21] DEBUG : [netatmo cloud] request : /gethomedata
[2024-07-31 16:25:22] DEBUG : [netatmo cloud] response : {« body »: …
[2024-07-31 16:25:22] DEBUG : [netatmo security] {« homes »:[…
[2024-07-31 16:25:22] DEBUG : [netatmo cloud] request : /homesdata
[2024-07-31 16:25:22] DEBUG : [netatmo cloud] response : {« body »:…

La documentation est plus que succincte … https://doc.jeedom.com/fr_FR/plugins/communication/netatmo/beta/#Configuration

Quelqu’un pourrait il m’aider à résoudre cette erreur de configuration ?

Merci d’avance
JP


Informations Jeedom

Core : 4.4.9 (V4-stable)
DNS Jeedom : non

Plugin : Netatmo
Version : 2024-05-22 01:05:55 (stable)

Bonjour
Les logs étant incomplets, difficile de voir ce qui cloche.
Pour les erreurs 5xx joindre également les logs http.error.

Bonjour,
As-tu pu trouver la solution? J’ai le meme soucis et il semblerait que ce soit le Thermostat qui fait planter car les cameras sont bien remontées.
Voici mon http.error:
Created directory: /var/lib/snmp/cert_indexes

[Sat Nov 16 22:15:48.935854 2024] [mpm_prefork:notice] [pid 22606:tid 22606] AH00163: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Sat Nov 16 22:15:48.936018 2024] [core:notice] [pid 22606:tid 22606] AH00094: Command line: '/usr/sbin/apache2'
[Sat Nov 16 22:17:24.333013 2024] [mpm_prefork:notice] [pid 22606:tid 22606] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Nov 16 22:17:28.870846 2024] [mpm_prefork:notice] [pid 957:tid 957] AH00163: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Sat Nov 16 22:17:28.872134 2024] [core:notice] [pid 957:tid 957] AH00094: Command line: '/usr/sbin/apache2'
[Sat Nov 16 22:27:41.713736 2024] [access_compat:error] [pid 3278:tid 3278] [client 192.168.50.233:62812] AH01797: client denied by server configuration: /var/www/html/<, referer: http://[ADDRESSE IP]/index.php?v=d&p=profils
[Sat Nov 16 22:28:19.594108 2024] [access_compat:error] [pid 3279:tid 3279] [client 192.168.50.233:62821] AH01797: client denied by server configuration: /var/www/html/<, referer: http://[ADDRESSE IP]/index.php?v=d&p=profils
[Sat Nov 16 22:37:24.718359 2024] [php:error] [pid 2284:tid 2284] [client 192.168.50.233:63390] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&m=netatmo&p=netatmo&id=netatmo
[Sat Nov 16 22:37:35.534294 2024] [php:error] [pid 3280:tid 3280] [client 192.168.50.233:63396] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo
[Sat Nov 16 22:37:50.178611 2024] [php:error] [pid 3279:tid 3279] [client 192.168.50.233:63398] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo
[Sat Nov 16 22:42:51.259489 2024] [php:error] [pid 3279:tid 3279] [client 192.168.50.233:63425] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo
[Sat Nov 16 23:17:18.870611 2024] [php:error] [pid 4024:tid 4024] [client 192.168.50.233:63548] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo
[Sat Nov 16 23:25:06.998465 2024] [php:error] [pid 3279:tid 3279] [client 192.168.50.233:63637] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo
[Sat Nov 16 23:32:03.506770 2024] [php:error] [pid 4024:tid 4024] [client 192.168.50.233:63707] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=netatmo&m=netatmo&id=netatmo
[Sat Nov 16 23:39:33.147882 2024] [php:error] [pid 2277:tid 2277] [client 192.168.50.233:63788] PHP Fatal error:  Uncaught Error: Undefined constant "type" in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php:88\nStack trace:\n#0 /var/www/html/plugins/netatmo/core/class/netatmo.class.php(266): netatmo_energy::sync()\n#1 /var/www/html/plugins/netatmo/core/ajax/netatmo.ajax.php(30): netatmo::sync()\n#2 {main}\n  thrown in /var/www/html/plugins/netatmo/core/class/netatmo_energy.class.php on line 88, referer: http://[ADDRESSE IP]/index.php?v=d&p=plugin&id=netatmo

J’ai trouvé. Ligne 88, il y a [type], il manque les quotes. Remplacer par :
['type']

1 « J'aime »