Erreur 500 sous Debian 12

Bonjour,

je me permets de relancer le sujet car j’ai un code 500 sur l’inclusion d’un émetteur mais pas sur le récepteur bizarrement (c’est l’émetteur qui pilote ce récepteur).
Je suis sur DB 12 aussi avec un RPI5 en v5 beta.

Merci d’avance.

Et vous donnez le log http.error ?

voici après un nouveau test :

[2025-11-02 19:44:31] DEBUG  : Enter in learn mode
[2025-11-02 19:44:31] DEBUG  : Send to jeedom: {'learn_mode': 1}
[2025-11-02 19:44:31] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-11-02 19:44:31] DEBUG  : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=7pwSpEf2X29Tjm8Qc3DxxxxxHTTP/1.1" 200 0
[2025-11-02 19:44:32] DEBUG  : ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-61", "floorNoise": "-85", "rfQuality": "6", "protocol": "4", "protocolMeaning": "CHACON", "infoType": "1", "frequency": "433920"},"infos": {"subType": "1", "id": "1068826625", "subTypeMeaning": "ON"}}}
[2025-11-02 19:44:32] DEBUG  : Data found
[2025-11-02 19:44:32] DEBUG  : {'frame': {'header': {'frameType': '0', 'cluster': '0', 'dataFlag': '0', 'rfLevel': '-61', 'floorNoise': '-85', 'rfQuality': '6', 'protocol': '4', 'protocolMeaning': 'CHACON', 'infoType': '1', 'frequency': '433920'}, 'infos': {'subType': '1', 'id': '1068826625', 'subTypeMeaning': 'ON'}}}
[2025-11-02 19:44:32] DEBUG  : frame found
[2025-11-02 19:44:32] DEBUG  : Received a Chacon frame
[2025-11-02 19:44:32] DEBUG  : type1
[2025-11-02 19:44:32] DEBUG  : Learn Device with id 3fb5
[2025-11-02 19:44:33] DEBUG  : Send to jeedom: {'devices': {'3fb5': {'data': {'subTypeMeaning': 'ON', 'subType': '1', 'dBm': '-61', 'info_0001': '1'}, 'id': '3fb5', 'subid': '0001', 'protocol': 'CHACON', 'raw': {'frame': {'header': {'frameType': '0', 'cluster': '0', 'dataFlag': '0', 'rfLevel': '-61', 'floorNoise': '-85', 'rfQuality': '6', 'protocol': '4', 'protocolMeaning': 'CHACON', 'infoType': '1', 'frequency': '433920'}, 'infos': {'subType': '1', 'id': '1068826625', 'subTypeMeaning': 'ON'}}}, 'learn': True}}}
[2025-11-02 19:44:33] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-11-02 19:44:33] DEBUG  : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=7pwSpEf2X29Tjmxxxx7 HTTP/1.1" 500 0
[2025-11-02 19:44:33]WARNING : Error on send request to jeedom, return code 500
[2025-11-02 19:44:33] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-11-02 19:44:33] DEBUG  : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=7pwSpEf2X29TjmxxxxxHTTP/1.1" 500 0
[2025-11-02 19:44:33]WARNING : Error on send request to jeedom, return code 500
[2025-11-02 19:44:34] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-11-02 19:44:34] DEBUG  : http://127.0.0.1:80 "POST /plugins/rfplayer2/core/php/jeeRfplayer2.php?apikey=7pwSpEf2X29Tjm8QcxxxxHTTP/1.1" 500 0
[2025-11-02 19:44:34]WARNING : Error on send request to jeedom, return code 500

L’api key du plugin est-elle correcte ?

Bonjour,
Ce n’est pas un problème d’API car j’arrive à inclure le récepteur mais pas son émetteur.
La seule différence que j’observe par rapport à la dernière fois que j’ai entré des émetteurs est le fait que je suis passé sous DB12, sous V5 avec un PI 5.
Est-ce qu’il n’y aurait pas un pb de compatibilité avec DB12 ?

Bonjour,

est ce que ca fonctionne sur ton RPi3B+, Debian 11, Jeedom 4.4.20 ?

akenad :slight_smile:

Bonjour,

ca a fonctionnait à l’époque, il est au placard maintenant.

Je viens de faire un essai avec une télécommande qui fonctionnait sur l’ancien Jeedom et elle ne fonctionne pas sur celui ci…
HELP me please, que faire pour le rendre compatible ?

Relire message 2

1 « J'aime »

Bonjour,

Avec un peu de retard voici le log error lors d’une tentaive d’inclusion d’un emetteur :

0000|[Wed Nov 05 20:24:58.050325 2025] [php:error] [pid 480231:tid 480231] [client 127.0.0.1:34914] PHP Fatal error:  Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php:138\nStack trace:\n#0 /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php(138): array_keys()\n#1 /var/www/html/plugins/rfplayer2/core/php/jeeRfplayer2.php(117): rfplayer2::createFromDef()\n#2 {main}\n  thrown in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php on line 138
0001|[Wed Nov 05 20:24:58.566150 2025] [php:error] [pid 510904:tid 510904] [client 127.0.0.1:34918] PHP Fatal error:  Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php:138\nStack trace:\n#0 /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php(138): array_keys()\n#1 /var/www/html/plugins/rfplayer2/core/php/jeeRfplayer2.php(117): rfplayer2::createFromDef()\n#2 {main}\n  thrown in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php on line 138
0002|[Wed Nov 05 20:24:59.081971 2025] [php:error] [pid 479861:tid 479861] [client 127.0.0.1:34920] PHP Fatal error:  Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, string given in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php:138\nStack trace:\n#0 /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php(138): array_keys()\n#1 /var/www/html/plugins/rfplayer2/core/php/jeeRfplayer2.php(117): rfplayer2::createFromDef()\n#2 {main}\n  thrown in /var/www/html/plugins/rfplayer2/core/class/rfplayer2.class.php on line 138

Bonsoir,

Le plugin est en version stable ou beta ?

Bonsoir,

Version stable

Il existe une correction spécifique à cette ligne en beta. Si tu sais passer un plugin en beta et que tu veux bien confirmer que ça fonctionne c’est toujours mieux même si quoi qu’il en soit je vais très certainement passer en stable assez rapidement du coup :wink:

Je ne sais pas le faire, je sais passer le core mais pas un plugin.

Il y aura une mise à jour en stable demain

Pour information, cela se passe dans le market.

Antoine

Je viens de faire la mise à jour, je fais le test ce soir.

Bonjour,
la télécommande a été ajoutée sans pb !
Merci pour la correction.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.