Page 1 sur 1

Erreur Device creation failed

Publié : 15 déc. 2025, 10:04
par patrice
Bonjour

J'ai beaucoup d'entrées dans le fichier MqttMapper.json pour gerer de nombreux capteurs via LoraWan/Mqtt

Après avoir ajouté de nouvelles entrées dans le fichier MqttMapper.json et au redemarrage de Domoticz j'ai ce message ci-dessous que je pense lié au plugin (mais peut être que je me trompe et est-ce du à Domoticz)

2025-12-15 09:29:56.872 Error: CPlugin:CDevice_init, illegal Unit number (-1), valid values range from 1 to 255.
2025-12-15 09:29:56.872 Error: Device refresh failed, Device object is not associated with a plugin.
2025-12-15 09:29:56.890 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.
2025-12-15 09:29:56.890 Error: BFP: Device creation failed, Hardware/Unit combination (3:-1) already exists in Domoticz.
2025-12-15 09:29:56.891 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.
2025-12-15 09:29:56.891 Error: BFP: Device creation failed, Hardware/Unit combination (3:-1) already exists in Domoticz.
2025-12-15 09:29:56.892 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.
2025-12-15 09:29:56.892 Error: BFP: Device creation failed, Hardware/Unit combination (3:-1) already exists in Domoticz.
2025-12-15 09:29:56.893 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.
2025-12-15 09:29:56.893 Error: BFP: Device creation failed, Hardware/Unit combination (3:-1) already exists in Domoticz.
2025-12-15 09:29:56.894 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.
2025-12-15 09:29:56.894 Error: BFP: Device creation failed, Hardware/Unit combination (3:-1) already exists in Domoticz.
2025-12-15 09:29:56.894 Error: CPlugin:CDevice_init, illegal Unit number (256), valid values range from 1 to 255.

Puis ensuite j'ai ceci
2025-12-15 09:36:27.931 Error: BGP: Can't find device key FDFE_CHAMBREINVITRO_3020_TEMP
2025-12-15 09:37:23.480 Error: BGP: Can't find device key FDFE_CONGELO20_FRAISE_HUM
2025-12-15 09:37:33.598 Error: BGP: Can't find device key FDFE_LABO_3045_TEMP
2025-12-15 09:41:55.181 Error: BGP: Can't find device key FDFE_CHAMBREINVITRO_3019_TEMP
2025-12-15 09:44:02.206 Error: BGP: Can't find device key FDFE_LABO_3011_TEMP
2025-12-15 09:45:57.348 Error: BGP: Can't find device key FDFE_LABO_3127_TEMP
J'ai bien activé le mode verbose du plugin n'a aucune autre info plus pertinente n'est affichée

voici les versions des outils en prod

-Domoticz 2025.1
-Plugin Initialized version 1.0.59, author Flying Domotic

Merci de vos idées et n'hésitez pas si vous avez besoin de plus d'infos


Ps @FlyninDomotic , tu veux que je dépose une issue sur le github ??

Re: Plugin MQTT de FlyingDomotic

Publié : 15 déc. 2025, 10:34
par Neutrino
Bonjour Patrice
Tu as combien de dispositifs de renseignés dans ton fichier json ?
C'est comme s'il y en avait plus de 255.

De mon côté, je préfère faire plusieurs fichiers, montés par plusieurs instances de MQTTMapper.

Re: Plugin MQTT de FlyingDomotic

Publié : 15 déc. 2025, 10:42
par Flying Domotic
Effectivement, Domoticz limite chaque plugin à 255 dispositifs.

Si on en a plus, il faut créer un second (troisième, ...) matériel avec son fichier de configuration spécifique.

Re: Plugin MQTT de FlyingDomotic

Publié : 15 déc. 2025, 10:55
par patrice
Ah bon sang mais bien sur !!*

Oui oui il faut que je duplique et assigne des fichiers différents à chaque duplication

Merci à vous , je teste tout ça cet apres midi
(je vais boire le champagne pour fêter les 300 entrées dans le json !!) :D