Hello,
Je viens de migrer en debian 12 (mais je ne suis pas certain que ça n’existait pas en deb11) et je viens de noter dans les logs http.error les lignes ci-dessous qui sont liées au plugin-z2m.
Le plugin fonctionne parfaitement a priori, mais ça reste tout de même une fatal error donc ça mérite peut-être que des sachants se penchent dessus, non ?
3996|[Fri Sep 19 09:52:56.465873 2025] [php:error] [pid 357424:tid 357424] [client 127.0.0.1:56380] PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n thrown in /var/www/html/core/class/cmd.class.php on line 1036
3997|[Fri Sep 19 09:53:07.599979 2025] [php:error] [pid 352438:tid 352438] [client 127.0.0.1:40984] PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n thrown in /var/www/html/core/class/cmd.class.php on line 1036
3998|[Fri Sep 19 09:53:07.873954 2025] [php:error] [pid 363844:tid 363844] [client 127.0.0.1:40996] PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n thrown in /var/www/html/core/class/cmd.class.php on line 1036
3999|[Fri Sep 19 09:55:46.484356 2025] [php:error] [pid 360416:tid 360416] [client 127.0.0.1:45718] PHP Fatal error: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /var/www/html/core/class/cmd.class.php:1036\nStack trace:\n#0 /var/www/html/core/class/cmd.class.php(1036): round()\n#1 /var/www/html/core/class/eqLogic.class.php(686): cmd->formatValue()\n#2 /var/www/html/plugins/z2m/core/class/z2m.class.php(523): eqLogic->checkAndUpdateCmd()\n#3 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(32): z2m::handleMqttMessage()\n#4 {main}\n thrown in /var/www/html/core/class/cmd.class.php on line 1036
Informations Jeedom Atlas
Core : 4.4.20 (master)
DNS Jeedom Atlas : oui
Plugin : JeeZigbee
Version : 2025-09-17 17:05:58 (stable)
Statut Démon : Démarré - (2025-09-18 21:10:11)