diff --git a/core/config/Abeille.config.php b/core/config/Abeille.config.php index 4b2d68315f..dbf919f31f 100644 --- a/core/config/Abeille.config.php +++ b/core/config/Abeille.config.php @@ -3,7 +3,7 @@ * Abeille's static config file */ - define('lastDbVersion', 20240618); + define('lastDbVersion', 20240621); $in = "/tmp/AbeilleDeamonInput"; $resourcePath = realpath(__DIR__.'/../../resources'); define('wifiLink', '/tmp/zigateWifi'); // For WIFI: Socat output diff --git a/docs/fr_FR/Changelog.md b/docs/fr_FR/Changelog.md index 16ba9972ed..c72af00d1d 100644 --- a/docs/fr_FR/Changelog.md +++ b/docs/fr_FR/Changelog.md @@ -7,6 +7,7 @@ - Modèle d'équipement: Surcharge possible de 'request'. - Interne: Cmd: execute() revu pour + de clareté. - NodOn SIN-4-RS-20: Inversion du 'level' (2709). +- 'Time-TimeStamp': Caché à la création. ## 240618-BETA-5 diff --git a/plugin_info/install.php b/plugin_info/install.php index 609d989be2..a005e054ae 100755 --- a/plugin_info/install.php +++ b/plugin_info/install.php @@ -1171,7 +1171,7 @@ function updateConfigDB() { * - Config DB: 'ab::zgChanX' => 'ab::gtwChanX' * - 20240617: CANCELED >>> Cmd DB: Removed all 'Time-TimeStamp' info cmds. */ - if (intval($dbVersion) < 20240618) { + if (intval($dbVersion) < 20240621) { // 'config' DB updates for ($gtwId = 1; $gtwId <= maxGateways; $gtwId++) { renameConfigKey("ab::zgEnabled${gtwId}", "ab::gtwEnabled${gtwId}"); @@ -1227,7 +1227,7 @@ function updateConfigDB() { } } - // config::save('ab::dbVersion', '20240618', 'Abeille'); + // config::save('ab::dbVersion', '20240621', 'Abeille'); } } // End updateConfigDB() @@ -1254,6 +1254,7 @@ function addCmdFromModel($eqId, $cmdModelName, $cmdName) { $cmdLogic->setSubType($cmd['subType']); $cmdLogic->setLogicalId($cmd['logicalId']); $cmdLogic->setName($cmdName); + $cmdLogic->setIsVisible(0); // Hidden $cmdLogic->save(); return true; }