diff --git a/ConfigSettings.h b/ConfigSettings.h
index 62f58bb..170ad78 100644
--- a/ConfigSettings.h
+++ b/ConfigSettings.h
@@ -3,7 +3,7 @@
#ifndef configsettings_h
#define configsettings_h
-#define FW_VERSION "v2.1.6"
+#define FW_VERSION "v2.1.7"
enum DeviceStatus {
DS_OK = 0,
DS_ERROR = 1,
diff --git a/SomfyController.ino.esp32.bin b/SomfyController.ino.esp32.bin
index 3d0ae59..4f7d750 100644
Binary files a/SomfyController.ino.esp32.bin and b/SomfyController.ino.esp32.bin differ
diff --git a/SomfyController.littlefs.bin b/SomfyController.littlefs.bin
index 22e44da..afafa8b 100644
Binary files a/SomfyController.littlefs.bin and b/SomfyController.littlefs.bin differ
diff --git a/data/appversion b/data/appversion
index b6da512..9671f9a 100644
--- a/data/appversion
+++ b/data/appversion
@@ -1 +1 @@
-2.1.6
\ No newline at end of file
+2.1.7
\ No newline at end of file
diff --git a/data/index.html b/data/index.html
index 31b4dc1..56c3ca3 100644
--- a/data/index.html
+++ b/data/index.html
@@ -3,11 +3,11 @@
diff --git a/data/index.js b/data/index.js
index 6986ada..472bf80 100644
--- a/data/index.js
+++ b/data/index.js
@@ -1200,7 +1200,7 @@ var security = new Security();
class General {
initialized = false;
- appVersion = 'v2.1.6';
+ appVersion = 'v2.1.7';
reloadApp = false;
init() {
if (this.initialized) return;
@@ -1962,8 +1962,10 @@ class Somfy {
div.classList.add('prompt-message');
let html = '
Frequency Scanning has started. Press and hold any button on your remote and ESPSomfy RTS will find the closest frequency to the remote.
';
html += '
';
+ html += '
';
html += '
433.00MHzdBm
';
html += '
---.--MHzdBm
';
+ html += '
';
html += `
`;
html += ``;
html += ``;
@@ -2006,7 +2008,7 @@ class Somfy {
let freq = parseFloat(div.getAttribute('data-frequency'));
document.getElementById('btnStopScanning').style.display = 'none';
document.getElementById('btnRestartScanning').style.display = '';
- if(typeof freq === 'number') document.getElementById('btnCopyFrequency').style.display = '';
+ if (typeof freq === 'number' && !isNaN(freq)) document.getElementById('btnCopyFrequency').style.display = '';
document.getElementById('btnCloseScanning').style.display = '';
}
});