Erreur avec l'import d'équipement : La valeur minimum de la commande ne peut être supérieure à la valeur maximum

Bonjour,

J’ai le même problème que Fguilletandre, voir son poste : Import des équipements s'arrête sur erreur et reste incomplet

Je lance l’import d’équipements et il s’arrête à l’erreur : « La valeur minimum de la commande ne peut être supérieure à la valeur maximum », sur l’équipement « Volet Roulant Mûriers ».

A noter que j’avais déjà réussi à utiliser ce plugin mais j’ai dû reprendre la config de la tahoma switch et ai du refaire l’installation de ce plugin.

Voici le log en mode débug :

[2024-02-11 15:01:35]INFO : ***
[2024-02-11 15:01:35]INFO : * Discovery Process -> Start
[2024-02-11 15:01:35]INFO : * AUTHORIZE_CREATION is SET ...
[2024-02-11 15:01:35]INFO : ***
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : || Succeeded to load cURLCommand
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ cURLCommand::curlRequest
[2024-02-11 15:01:35]DEBUG : ===================================================================================================================
[2024-02-11 15:01:35]DEBUG : = httpURL: https://gateway-2015-5518-0843.local:8443/enduser-mobile-web/1/enduserAPI/setup
[2024-02-11 15:01:35]DEBUG : | Succeeded to load class: TaHomaLocalAPI
[2024-02-11 15:01:35]DEBUG : = httpRequestStatus: "HTTP code 200: OK"
[2024-02-11 15:01:35]DEBUG : ===================================================================================================================
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ SetFileContent::writeFileContent
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ SetFileContent::filePutContents - Succeeded to write in file (/var/www/html/plugins/TaHomaLocal/data/setupData/setupData_2015-5518-0843.txt)
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ SetFileContent::writeFileContent
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : | Succeeded to load class: GetFileContent
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ TaHomaLocalAPI::__construct
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ TaHomaLocal::getPluginConfigurationStatus
[2024-02-11 15:01:35]DEBUG : +- Method -+ SetFileContent::filePutContents - Succeeded to write in file (/var/www/html/plugins/TaHomaLocal/data/setupData/setupData_2015-5518-0843.csv)
[2024-02-11 15:01:35]INFO : Gateway found
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:35]DEBUG : +-+ TaHomaLocal::checkEquipmentIsRegistered method
[2024-02-11 15:01:35]INFO : Found equipment name: "TaHoma 2015-5518-0843"
[2024-02-11 15:01:35]INFO : 0 Gateway command(s) created
[2024-02-11 15:01:35]INFO : Device found #0
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/gatewayInfo.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/authTokens_2015-5518-0843.json)
[2024-02-11 15:01:35]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/yaml/openapi.yaml)
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +-+ TaHomaLocal::checkEquipmentIsRegistered method
[2024-02-11 15:01:36]INFO : Found equipment name: "ZIGBEE (00)"
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : |FE| Execute ... /var/www/html/plugins/TaHomaLocal/core/php/periodicFetchEvent.php
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/components/NetworkComponent/zigbeeZigbeeNetworkNode.toml)
[2024-02-11 15:01:36]DEBUG : | Succeeded to load class: cURLCommand
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +- Method -+ cURLCommand::curlRequest
[2024-02-11 15:01:36]DEBUG : ===================================================================================================================
[2024-02-11 15:01:36]DEBUG : = httpURL: https://gateway-2015-5518-0843.local:8443/enduser-mobile-web/1/enduserAPI/events/4ce058e4-b4a5-45d5-ac0c-8879ceb83f7e/fetch
[2024-02-11 15:01:36]INFO : 0 Device command(s) created
[2024-02-11 15:01:36]INFO : Device found #1
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +-+ TaHomaLocal::checkEquipmentIsRegistered method
[2024-02-11 15:01:36]INFO : Found equipment name: "Volet Roulant Chambre Enora"
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/components/RollerShutter/ioRollerShutterWithLowSpeedManagementIOComponent.toml)
[2024-02-11 15:01:36]DEBUG : = httpRequestStatus: "HTTP code 200: OK"
[2024-02-11 15:01:36]DEBUG : ===================================================================================================================
[2024-02-11 15:01:36]DEBUG : |FE| listenerId (json_encode) : "4ce058e4-b4a5-45d5-ac0c-8879ceb83f7e"
[2024-02-11 15:01:36]DEBUG : |FE| execId (json_encode) : ""
[2024-02-11 15:01:36]INFO : 0 Device command(s) created
[2024-02-11 15:01:36]INFO : Device found #2
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +-+ TaHomaLocal::checkEquipmentIsRegistered method
[2024-02-11 15:01:36]INFO : Found equipment name: "Volet Roulant M\u00fbriers"
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/components/RollerShutter/ioMicroModuleRollerShutterSomfyIOComponent.toml)
[2024-02-11 15:01:36]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:36]DEBUG : +-+ TaHomaLocal::createCommand method
[2024-02-11 15:01:36]INFO : Create new cmd. Type: action - Id: setMemorized1Position
[2024-02-11 15:01:36]DEBUG : .... Set logicalId: setMemorized1Position
[2024-02-11 15:01:36]DEBUG : .... Set generic_type: devices
[2024-02-11 15:01:36]DEBUG : .... Set eqType: TaHomaLocal
[2024-02-11 15:01:36]DEBUG : .... Set name: setMemorized1Position
[2024-02-11 15:01:36]DEBUG : .... Set type: action
[2024-02-11 15:01:36]DEBUG : .... Set subType: slider
[2024-02-11 15:01:36]DEBUG : .... Set eqLogic_id: 199
[2024-02-11 15:01:36]DEBUG : .... Set configuration[nparams]: 1
[2024-02-11 15:01:36]DEBUG : .... Set configuration[minValue]: 1
[2024-02-11 15:01:36]DEBUG : .... Set configuration[maxValue]: 0
[2024-02-11 15:01:36]DEBUG : .... Set configuration[listValue]:
[2024-02-11 15:01:36]DEBUG : | Succeeded to load class: TaHomaLocalAPI
[2024-02-11 15:01:37]DEBUG : | Succeeded to load class: GetFileContent
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ TaHomaLocalAPI::__construct
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ TaHomaLocal::getPluginConfigurationStatus
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/gatewayInfo.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/authTokens_2015-5518-0843.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/yaml/openapi.yaml)
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:37]DEBUG : |FE| Execute ... /var/www/html/plugins/TaHomaLocal/core/php/periodicFetchEvent.php
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:37]DEBUG : | Succeeded to load class: cURLCommand
[2024-02-11 15:01:37]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:37]DEBUG : +- Method -+ cURLCommand::curlRequest
[2024-02-11 15:01:37]DEBUG : ===================================================================================================================
[2024-02-11 15:01:37]DEBUG : = httpURL: https://gateway-2015-5518-0843.local:8443/enduser-mobile-web/1/enduserAPI/events/4ce058e4-b4a5-45d5-ac0c-8879ceb83f7e/fetch
[2024-02-11 15:01:37]DEBUG : = httpRequestStatus: "HTTP code 200: OK"
[2024-02-11 15:01:37]DEBUG : ===================================================================================================================
[2024-02-11 15:01:37]DEBUG : |FE| listenerId (json_encode) : "4ce058e4-b4a5-45d5-ac0c-8879ceb83f7e"
[2024-02-11 15:01:37]DEBUG : |FE| execId (json_encode) : ""
[2024-02-11 15:01:37]DEBUG : | Succeeded to load class: TaHomaLocalAPI
[2024-02-11 15:01:38]DEBUG : | Succeeded to load class: GetFileContent
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ TaHomaLocalAPI::__construct
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ TaHomaLocal::getPluginConfigurationStatus
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/configInfo.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/gatewayInfo.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/json/authTokens_2015-5518-0843.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/data/yaml/openapi.yaml)
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:38]DEBUG : |FE| Execute ... /var/www/html/plugins/TaHomaLocal/core/php/periodicFetchEvent.php
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:38]DEBUG : | Succeeded to load class: cURLCommand
[2024-02-11 15:01:38]DEBUG : +- Method -+ GetFileContent::fileGetContents - Succeeded to read file (/var/www/html/plugins/TaHomaLocal/plugin_info/info.json)
[2024-02-11 15:01:38]DEBUG : +- Method -+ cURLCommand::curlRequest
[2024-02-11 15:01:38]DEBUG : ===================================================================================================================

Et la copie d’écran du résultat :

Merci d’avance.

Bonsoir @Jeff01 ,

Et désolé pour le désagrément.
J’ai modifié, il y a quelques temps, la structure de la BDD du plugin et il y a eu quelques équipements qui n’avaient pas correctement été mis à jour.
C’est ce qui s’était produit avec le précédent utilisateur et avec vous aujourd’hui.

La correction a été passée et une mise à jour de la BDD du plugin devrait remettre les choses en ordre.

Je vous souhaite une bonne fin de soirée

Bonjour,

Merci, cela fonctionne bien mieux !

Bonne journée

Bonjour, pour ma part, mes rideaux de velux solaire intérieurs sont maintenant bien reconnus.
Félicitation pour la réactivité.

Je commence à inclure mes différents équipements Somfy/Velux …etc dans mes scénarios… en me disant Internet ou pas ça fonctionnera !-))))))

Excellente journée
FGA

1 « J'aime »

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