Skip to content

Commit

Permalink
LQI collect: msg enhanced
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Nov 9, 2023
1 parent c72fbcc commit 35b7611
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions desktop/js/AbeilleNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

var currentZigateLG = 1; // Current zigate displayed in links graph
var prevTrackingMsg = ""; // Previous tracking message

$("#tab_nodes")
.off("click")
Expand Down Expand Up @@ -224,10 +225,14 @@ function trackLQICollectStatus(_autoUpdate, zgId) {
data = "Collecte terminée";
_autoUpdate = 0; // Stop status refresh
}
$("#div_networkZigbeeAlert").showAlert({
message: data,
level: alertLevel,
});

if (data != prevTrackingMsg) {
$("#div_networkZigbeeAlert").showAlert({
message: data,
level: alertLevel,
});
prevTrackingMsg = data;
}

/* Collect status display stops when "done" found */
// _autoUpdate = data.toLowerCase().includes("done")?0:1;
Expand Down
1 change: 1 addition & 0 deletions docs/fr_FR/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ChangeLog
=========

- Owon-THS317-ET: Mise-à-jour du modèle (2319).
- Page réseau: Amélioration message durant collecte LQI.

231107-BETA-2
-------------
Expand Down

0 comments on commit 35b7611

Please sign in to comment.