Petit souci dans le code en cas de timeout

Bonjour.

Simplement pour signaler un petit souci en cas de timeout.

[24-03-2025 09:55:29][DEBUG] : Envoi de l'Accessory brut : {"eventType":"getAccessories","id":"D5:13:F7:7B:CF:BB","refresh":false}
[24-03-2025 09:55:29][DEBUG] : Souscription pour Bubendorff Gateway
[24-03-2025 09:55:29][DEBUG] : Souscription en cours à Bubendorff Gateway sur 2.10,2.11,2.12,3.10,3.11,3.12,5.10,5.11,5.12,4.10,4.11,4.12,7.10,7.11,7.12,8.10,8.11,8.12,9.10,9.11,9.12,10.10,10.11,10.12,11.10,11.11,11.12,12.10,12.11,12.12,50.10,50.11,50.12,51.10,51.11,51.12...
/var/www/html/plugins/hkControl/resources/hkControl.js:1028
				if(r=='TimeOut') {
				    ^

TypeError: Cannot convert object to primitive value
    at /var/www/html/plugins/hkControl/resources/hkControl.js:1028:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.17.0
[24-03-2025 10:00:03][INFO] : Démarrage démon hkControl...
[24-03-2025 10:00:03][DEBUG] : urlJeedom = http://192.168.1.52/core/api/jeeApi.php
[24-03-2025 10:00:03][DEBUG] : apiKey = x1jNnTbtPVMjkS4s10JL2BmfsEb9tdxH
[24-03-2025 10:00:03][DEBUG] : serverPort = 35976
[24-03-2025 10:00:03][DEBUG] : logLevel = debug
[24-03-2025 10:00:03][DEBUG] : pairingFile = /var/www/html/plugins/hkControl/data/pairings.json
[24-03-2025 10:00:03][DEBUG] : detectCam = false
[24-03-2025 10:00:03][DEBUG] : pairings = {"D5:13:F7:7B:CF:BB":{"name":"Bubendorff 

Ah merci, comme j’en ai jamais j’avais pas pu tester :wink:

Je fix

c’est poussé en stable.

Nouvelle version stable installée. Merci.

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