From 39c20e275deed1aa8694ca04567a954810aa005a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 30 Jul 2022 22:08:02 +0200 Subject: [PATCH] added garage/portail --- config/devices_constants.php | 1 + hooks/scripts/rdc_portes_ouvertes.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/devices_constants.php b/config/devices_constants.php index 8ad1b13..b099667 100644 --- a/config/devices_constants.php +++ b/config/devices_constants.php @@ -24,6 +24,7 @@ $deviceTable = array( "0xa4c1384a2b586da9" => "RDC_WC_MVMT", "0x00124b001f90ee7e" => "ENTREE_PORTE", "0x00124b002226d9a2" => "GARAGE_PORTE", + "0x00158d0006bfb1e5" => "GARAGE_PORTAIL", "0x00124b001f90e725" => "RDC_CHAMBRE_BAIE", "0x00124b002226e384" => "RDC_SALON_BAIE", "0xbc33acfffe4583f7" => "ETAGE_SALON_RADIATEUR", diff --git a/hooks/scripts/rdc_portes_ouvertes.php b/hooks/scripts/rdc_portes_ouvertes.php index 480fad3..0ae3a89 100644 --- a/hooks/scripts/rdc_portes_ouvertes.php +++ b/hooks/scripts/rdc_portes_ouvertes.php @@ -8,7 +8,8 @@ class alerte_intrusion extends hook ENTREE_PORTE => "contact", GARAGE_PORTE => "contact", RDC_CHAMBRE_BAIE => "contact", - RDC_SALON_BAIE => "contact" + RDC_SALON_BAIE => "contact", + GARAGE_PORTAIL => "contact" ); // callback fonction. Is called with these 4 parameters