1
0
moha/config/devices_constants.php

73 lines
2.9 KiB
PHP
Raw Permalink Normal View History

<?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",
2023-03-24 14:40:03 +01:00
"0x54ef4410005fb5a9" => "RDC_SALON_PRESENCE",
2022-09-19 23:40:29 +02:00
"0x00158d00047bc298" => "RDC_SALON_TEMPERATURE",
2023-03-24 14:40:03 +01:00
"0x00158d00091cb063" => "RDC_ENTREE_PORTE",
"0x00158d0001923c21" => "RDC_CHAMBRE_RADIATEUR",
"0x04cf8cdf3c78aff0" => "RDC_SALON_LUMINOSITE",
"0x588e81fffe343e8f" => "RDC_SALON_ECLAIRAGE_PANNEAU",
"0x804b50fffef31656" => "RDC_SALON_RADIATEUR",
"0xbc33acfffe458c65" => "RDC_SDB_RADIATEUR",
2022-06-10 12:44:09 +02:00
"0xa4c1383c46112daf" => "RDC_SDB_DOUCHE_MVMT",
"0x842e14fffe1c0cd1" => "RDC_SDB_PLAFOND_MVMT",
"0x00124b0022ec05dc" => "RDC_SDB_MVMT",
2022-01-06 13:03:26 +01:00
"0x00158d0005c1a998" => "RDC_SDB_WC_ECLAIRAGE",
"0xbc33acfffe458c65" => "RDC_SDB_RADIATEUR",
"0x00158d000533c45e" => "RDC_SDB_TEMP_HUM",
"0xa4c1384a2b586da9" => "RDC_WC_MVMT",
2023-03-24 14:40:03 +01:00
"0x00158d00091cb17f" => "ENTREE_PORTE",
"0x00158d00091cac9d" => "GARAGE_PORTE",
2022-07-30 22:08:02 +02:00
"0x00158d0006bfb1e5" => "GARAGE_PORTAIL",
2023-03-24 14:40:03 +01:00
"0x00158d000911d5f4" => "RDC_CHAMBRE_BAIE",
"0x00158d00091cb198" => "RDC_SALON_BAIE",
"0xbc33acfffe4583f7" => "ETAGE_SALON_RADIATEUR",
// "" => "ETAGE_CHAMBRE_RADIATEUR",
// "" => "ETAGE_SDB_RADIATEUR",
"0x5c0272fffec4de9e" => "ETAGE_BUREAU_RADIATEUR",
"0x00158d0001a0028c" => "ETAGE_BUREAU_FENETRE",
"0x14b457fffe42a2c9" => "ETAGE_BUREAU_PANNEAU",
"0x842e14fffe8e3b67" => "ETAGE_BUREAU_ECLAIRAGE_INTER",
2022-09-09 16:52:26 +02:00
"0x60a423fffe372f74" => "ETAGE_BUREAU_TEMP",
"0x00158d0001de080d" => "ETAGE_CHAMBRE_FENETRE",
2022-09-09 16:52:26 +02:00
"0x60a423fffe373170" => "ETAGE_CHAMBRE_TEMP",
"0x00124b00251ea4a7" => "ETAGE_CUISINE_PLAN_TRAVAIL_INTER",
2022-01-23 09:46:06 +01:00
"0x680ae2fffe403f22" => "ETAGE_CUISINE_PLAN_TRAVAIL_ECLAIRAGE",
"0xbc33acfffe65621b" => "ETAGE_CUISINE_PLAN_TRAVAIL_SPOT",
"1" => "ETAGE_CUISINE_PLAN_TRAVAIL_GROUPE_ECLAIRAGE",
"0x00158d00019f370e" => "ETAGE_PORTE_ENTREE",
"0x00158d00044fd579" => "ETAGE_SALON_FENETRE",
2022-09-09 16:52:26 +02:00
"0x00158d0005471cd1" => "ETAGE_SALON_TEMP",
"0x00158d0004621e1f" => "ETAGE_CUISINE_FENETRE",
"0x00158d0001ddefe1" => "ETAGE_PORTE_FENETRE",
"0x086bd7fffe5aeab6" => "RDC_CHAMBRE_AMBIANCE",
"0x00124b00251ead73" => "RDC_CHAMBRE_AMBIANCE_INTER",
"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",
2022-09-19 23:40:29 +02:00
"0x00158d0005782096" => "RDC_CHAMBRE_TEMPERATURE",
2022-03-04 23:32:39 +01:00
"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"
);
foreach($deviceTable as $device => $name)
{
2022-09-09 16:52:26 +02:00
define($name, $device);
}
?>