From f75f45feb87f2c4cc1ad3499fb5bdbd029901727 Mon Sep 17 00:00:00 2001 From: Tcharp38 Date: Thu, 8 Aug 2024 15:10:03 +0200 Subject: [PATCH] Parser: fix for error 'Requesting simple descriptor for EP ' --- core/class/AbeilleParser.class.php | 3 +++ docs/fr_FR/Changelog.md | 1 + 2 files changed, 4 insertions(+) diff --git a/core/class/AbeilleParser.class.php b/core/class/AbeilleParser.class.php index 93063ae366..5888f5c87c 100755 --- a/core/class/AbeilleParser.class.php +++ b/core/class/AbeilleParser.class.php @@ -686,6 +686,9 @@ function deviceUpdates($net, $addr, $ep, $updates = []) { // What about server clusters & groups ? foreach ($eq['endPoints'] as $epId2 => $ep2) { + if (($eqId2 == "") || ($eqId2 == "00")) + continue; // Invalid case seen some times + if (!isset($ep2['servClusters'])) { parserLog('debug', ' Requesting simple descriptor for EP '.$epId2); msgToCmd(PRIO_HIGH, "Cmd${net}/${addr}/getSimpleDescriptor", "ep=".$epId2); diff --git a/docs/fr_FR/Changelog.md b/docs/fr_FR/Changelog.md index 8af525f765..40ed635233 100644 --- a/docs/fr_FR/Changelog.md +++ b/docs/fr_FR/Changelog.md @@ -9,6 +9,7 @@ - Amélioration: Zigate: Tentative d'ajout possibilité de changer 'Extended PAN ID' pour cas Livolo. Ne fonctionne pas ! - Amélioration: Cmd->Zigate: Cas Zigate 'busy'. - Amélioration: Cmd/config Zigate. +- Correction: Parser: Suppression du message 'Requesting simple descriptor for EP '. ## 240802-BETA-1