Bonjour,
Suite à la mise à jour du plugin, le deamon ne démarre plus.
Ci-dessous les logs de démarrage (j’ai anonymisé les clés et IP) :
[2021-04-06 16:30:18][INFO] : Lancement démon ikealight : sudo /usr/bin/nodejs /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js --loglevel info --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey xxxxxx --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.xxx --gatewaycode xxx
[2021-04-06 14:30:20][INFO] : Start ikealightd
[2021-04-06 14:30:20][INFO] : Log level on : info
[2021-04-06 14:30:20][INFO] : Socket port : 55025
[2021-04-06 14:30:20][INFO] : Gateway ip : 192.168.1.xxx
[2021-04-06 14:30:20][INFO] : Gateway code : xxxx
[2021-04-06 14:30:20][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2021-04-06 14:30:20][INFO] : Apikey : xxxxxx
[2021-04-06 14:30:20][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2021-04-06 14:30:20][INFO] : Cycle : 0.1
internal/fs/utils.js:779
throw new ERR_INVALID_ARG_TYPE(
^
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (12057)
at Object.writeFile (fs.js:1436:5)
at Object.Jeedom.write_pid (/var/www/html/plugins/ikealight/resources/ikealightd/jeedom/jeedom.js:70:6)
at Object.<anonymous> (/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.js:38:8)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'ERR_INVALID_ARG_TYPE'
}
Est-il possible que j’ai un problème de configuration ? Ou bien, peut-être qu’il y a un bug ?
Merci d’avance,
Gigatrappeur