Bonjour à tous
Depuis le passage de la dernière version stable j’ai cette erreur mais de façon aléatoire lors de l’utilisation de la fonction event pour mettre à jour une commande.
Je stocke des tableau html dans des commandes info / autre (non historisé) pour affichage au travers de JeedomConnect.
Dans le post vous parlez de la longueur du message stocké qui est trop long mais chez moi pour un meme message cela passe qq fois et pas d’autres … y a il un autre mécanisme derrière ?
Exemple éxecution OK avec 2 messages de longueur 8018 et 62475
[2024-08-18 00:05:02][SCENARIO] -- Début : . Tags : {"force":true}
[2024-08-18 00:05:02][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-08-18 00:05:02][SCENARIO] Exécution d'un bloc code
[2024-08-18 00:05:02][SCENARIO] Start build html heat planning
[2024-08-18 00:05:02][SCENARIO] executeCommande | [Infra][mModeChauffage][Mode]
[2024-08-18 00:05:02][SCENARIO] executeCommande | [Infra][mModeChauffage][Mode]
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Sunday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning- schedule : ["00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 06 18 08 *","00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 09 18 08 *","30 10 18 08 *","00 19 18 08 *","00 09 18 08 *","30 10 18 08 *","00 19 18 08 *","00 06 18 08 *","00 18 18 08 *"]
[2024-08-18 00:05:02][SCENARIO] ChD, length -> 8018
[2024-08-18 00:05:02][SCENARIO] executeCommande | [Infra][vChauffage][htmlTabPlanningChauffageNewDay], value :xxxx
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Monday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Tuesday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Wednesday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Thursday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Friday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] getTabHtmlPlanning - Day : Saturday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:05:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:05:02][SCENARIO] ChD2, length -> 62475
[2024-08-18 00:05:02][SCENARIO] executeCommande | [Infra][vChauffage][htmlTabPlanningChauffageNewOtherDays], value :xxxxx
[2024-08-18 00:05:02][SCENARIO] -> schedules : [{"room":"Chambre No\u00e9","day":"Sunday","start":"2230","consign":"17.5"},{"room":"Chambre Cl\u00e9ment","day":"Sunday","start":"2230","consign":"17.5"},{"room":"Chambre damis","day":"Sunday","start":"0600","consign":"17.5"},{"room":"Chambre parents","day":"Sunday","start":"2230","consign":"17.5"},{"room":"Salle de douche","day":"Sunday","start":"1900","consign":"22"},{"room":"Salle de bain","day":"Sunday","start":"1900","consign":"22"},{"room":"Bureau","day":"Sunday","start":"1800","consign":"17"}]
[2024-08-18 00:05:02][SCENARIO] End buidl html heat planning
Exemple éxecution KO 15 minutes après pour un message de 8018 de long
Exécution d'un bloc code
[2024-08-18 00:20:02][SCENARIO] Start build html heat planning
[2024-08-18 00:20:02][SCENARIO] executeCommande | [Infra][mModeChauffage][Mode]
[2024-08-18 00:20:02][SCENARIO] executeCommande | [Infra][mModeChauffage][Mode]
[2024-08-18 00:20:02][SCENARIO] getTabHtmlPlanning - Day : Sunday | mode : confort|planning name : RoomsHeatPlanning
[2024-08-18 00:20:02][SCENARIO] getRoomPlanning/var/www/html/customConf/RoomsHeatPlanning_confort.json
[2024-08-18 00:20:02][SCENARIO] getTabHtmlPlanning- schedule : ["00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 06 18 08 *","00 09 18 08 *","30 10 18 08 *","30 22 18 08 *","00 09 18 08 *","30 10 18 08 *","00 19 18 08 *","00 09 18 08 *","30 10 18 08 *","00 19 18 08 *","00 06 18 08 *","00 18 18 08 *"]
[2024-08-18 00:20:02][SCENARIO] ChD, length -> 8018
[2024-08-18 00:20:02][SCENARIO] executeCommande | [Infra][vChauffage][htmlTabPlanningChauffageNewDay], value :xx
[2024-08-18 00:20:02][SCENARIO] * Erreur execution commande : [MySQL] Error code : 22001 (1406). Data too long for column 'option' at row 1 : INSERT INTO `event` SET `datetime`=:datetime, `name`=:name,`option`=:option
[2024-08-18 00:20:02][SCENARIO] sBuildHtmlTabHeatNew - erreur : [MySQL] Error code : 22001 (1406). Data too long for column 'option' at row 1 : INSERT INTO `event` SET `datetime`=:datetime, `name`=:name,`option`=:option
[2024-08-18 00:20:02][SCENARIO] Notif name : Notification
[2024-08-18 00:20:02][SCENARIO] Receiver : Notification
[2024-08-18 00:20:02][SCENARIO] Cmd notif find with equals -> [Infra][Jeeconnect Chris][Notification]
[2024-08-18 00:20:02][SCENARIO] Options : {"title":"Erreur scenario : ","message":"sBuildHtmlTabHeatNew \u2022 erreur : [MySQL] Error code : 22001 (1406). Data too long for column 'option' at row 1 : INSERT INTO `event` SET `datetime`=:datetime, `name`=:name,`option`=:option"}
[2024-08-18 00:20:02][SCENARIO] [MySQL] Error code : 22001 (1406). Data too long for column 'option' at row 1 : INSERT INTO `event` SET `datetime`=:datetime, `name`=:name,`option`=:option
Une idée de ce qui pose pb ?
@chris94440
Jeedom Core : 4.4.13
DNS Jeedom : non
Version OS : debian 11.8
Version PHP : 7.4.33