2022-01-05 00:01:41 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/************************************************************************************/
|
|
|
|
/*edit this file for defining constants of devices */
|
|
|
|
/*e.g. */
|
|
|
|
/* $deviceTable = array( <ieeeAdress of device> => <name of the constant>, ...); */
|
|
|
|
/************************************************************************************/
|
|
|
|
|
|
|
|
$deviceTable = array(
|
|
|
|
"0x00124b0022ebac5c" => "RDC_SALON_MVMT2",
|
|
|
|
"0x588e81fffe2cf695" => "RDC_SALON_MVMT",
|
2022-09-01 17:05:05 +02:00
|
|
|
"0xe0798dfffe4ffa2c" => "RDC_SALON_PRESENCE",
|
2022-01-05 00:01:41 +01:00
|
|
|
"0x00124b001f900753" => "RDC_ENTREE_PORTE",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0x00158d0001923c21" => "RDC_CHAMBRE_RADIATEUR",
|
2022-01-05 00:01:41 +01:00
|
|
|
"0x04cf8cdf3c78aff0" => "RDC_SALON_LUMINOSITE",
|
|
|
|
"0x588e81fffe343e8f" => "RDC_SALON_ECLAIRAGE_PANNEAU",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0x804b50fffef31656" => "RDC_SALON_RADIATEUR",
|
|
|
|
"0xbc33acfffe458c65" => "RDC_SDB_RADIATEUR",
|
2022-06-10 12:44:09 +02:00
|
|
|
"0xa4c1383c46112daf" => "RDC_SDB_DOUCHE_MVMT",
|
2022-01-05 00:01:41 +01:00
|
|
|
"0x842e14fffe1c0cd1" => "RDC_SDB_PLAFOND_MVMT",
|
|
|
|
"0x00124b0022ec05dc" => "RDC_SDB_MVMT",
|
2022-01-06 13:03:26 +01:00
|
|
|
"0x00158d0005c1a998" => "RDC_SDB_WC_ECLAIRAGE",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0xbc33acfffe458c65" => "RDC_SDB_RADIATEUR",
|
|
|
|
"0x00158d000533c45e" => "RDC_SDB_TEMP_HUM",
|
|
|
|
"0xa4c1384a2b586da9" => "RDC_WC_MVMT",
|
2022-01-06 13:03:26 +01:00
|
|
|
"0x00124b001f90ee7e" => "ENTREE_PORTE",
|
|
|
|
"0x00124b002226d9a2" => "GARAGE_PORTE",
|
2022-07-30 22:08:02 +02:00
|
|
|
"0x00158d0006bfb1e5" => "GARAGE_PORTAIL",
|
2022-01-06 13:03:26 +01:00
|
|
|
"0x00124b001f90e725" => "RDC_CHAMBRE_BAIE",
|
2022-01-23 09:46:06 +01:00
|
|
|
"0x00124b002226e384" => "RDC_SALON_BAIE",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0xbc33acfffe4583f7" => "ETAGE_SALON_RADIATEUR",
|
|
|
|
// "" => "ETAGE_CHAMBRE_RADIATEUR",
|
|
|
|
// "" => "ETAGE_SDB_RADIATEUR",
|
|
|
|
"0x5c0272fffec4de9e" => "ETAGE_BUREAU_RADIATEUR",
|
|
|
|
"0x00158d0001a0028c" => "ETAGE_BUREAU_FENETRE",
|
2022-03-28 00:40:34 +02:00
|
|
|
"0x14b457fffe42a2c9" => "ETAGE_BUREAU_PANNEAU",
|
|
|
|
"0x842e14fffe8e3b67" => "ETAGE_BUREAU_ECLAIRAGE_INTER",
|
2022-09-09 16:52:26 +02:00
|
|
|
"0x60a423fffe372f74" => "ETAGE_BUREAU_TEMP",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0x00158d0001de080d" => "ETAGE_CHAMBRE_FENETRE",
|
2022-09-09 16:52:26 +02:00
|
|
|
"0x60a423fffe373170" => "ETAGE_CHAMBRE_TEMP",
|
2022-03-28 00:40:34 +02:00
|
|
|
"0x00124b00251ea4a7" => "ETAGE_CUISINE_PLAN_TRAVAIL_INTER",
|
2022-01-23 09:46:06 +01:00
|
|
|
"0x680ae2fffe403f22" => "ETAGE_CUISINE_PLAN_TRAVAIL_ECLAIRAGE",
|
2022-01-27 18:41:16 +01:00
|
|
|
"0xbc33acfffe65621b" => "ETAGE_CUISINE_PLAN_TRAVAIL_SPOT",
|
2022-03-28 00:40:34 +02:00
|
|
|
"1" => "ETAGE_CUISINE_PLAN_TRAVAIL_GROUPE_ECLAIRAGE",
|
|
|
|
"0x00158d00019f370e" => "ETAGE_PORTE_ENTREE",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0x00158d00044fd579" => "ETAGE_SALON_FENETRE",
|
2022-09-09 16:52:26 +02:00
|
|
|
"0x00158d0005471cd1" => "ETAGE_SALON_TEMP",
|
2022-03-13 22:33:26 +01:00
|
|
|
"0x00158d0004621e1f" => "ETAGE_CUISINE_FENETRE",
|
|
|
|
"0x00158d0001ddefe1" => "ETAGE_PORTE_FENETRE",
|
2022-01-27 18:41:16 +01:00
|
|
|
"0x086bd7fffe5aeab6" => "RDC_CHAMBRE_AMBIANCE",
|
2022-04-07 01:44:17 +02:00
|
|
|
"0x00124b00251ead73" => "RDC_CHAMBRE_AMBIANCE_INTER",
|
2022-01-27 18:41:16 +01:00
|
|
|
"0xbc33acfffe6561e4" => "RDC_CHAMBRE_ECLAIRAGE",
|
|
|
|
"0x00124b00234484ad" => "RDC_CHAMBRE_MVMT",
|
|
|
|
"0x04cf8cdf3c7b6056" => "RDC_CHAMBRE_LUMINOSITE",
|
2022-03-04 23:32:39 +01:00
|
|
|
"0x00158d0006c0447c" => "RDC_CHAMBRE_ARMOIRE_GAUCHE",
|
|
|
|
"0x842e14fffe9be0fc" => "RDC_STORE",
|
2022-09-05 13:47:41 +02:00
|
|
|
"0xa4c138165e31c0e8" => "RDC_STORE_VIBRATION",
|
2022-03-04 23:32:39 +01:00
|
|
|
"0x04cf8cdf3c7b3d64" => "RDC_EXTERIEUR_LUMINOSITE",
|
2022-09-09 16:52:26 +02:00
|
|
|
"0x04cf8cdf3c7b38d1" => "RDC_FACADE_LUMINOSITE",
|
2022-03-04 23:32:39 +01:00
|
|
|
"0x483fda53cbcb" => "METEO"
|
2022-01-05 00:01:41 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
foreach($deviceTable as $device => $name)
|
|
|
|
{
|
2022-09-09 16:52:26 +02:00
|
|
|
|
2022-01-05 00:01:41 +01:00
|
|
|
define($name, $device);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
|