summaryrefslogtreecommitdiff
path: root/api/gen_etat_reseau.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/gen_etat_reseau.php')
-rw-r--r--api/gen_etat_reseau.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/gen_etat_reseau.php b/api/gen_etat_reseau.php
index 53d3d78..b824649 100644
--- a/api/gen_etat_reseau.php
+++ b/api/gen_etat_reseau.php
@@ -56,7 +56,8 @@ $res = $mysqli->query("SELECT e.id,
FROM equipements e
LEFT JOIN relais r ON ( r.id = e.relais_id )
WHERE (e.relais_id IS NOT NULL OR e.hostname='STG1')
-AND e.date_hs IS NULL");
+AND e.date_hs IS NULL
+AND e.equipement_mode_id != 'power'");
$equipements = array();
while ( $e_row = $res->fetch_assoc() ) {
$id = $e_row['id'];