From 4c1d1a7df4c75992513183378fb1941ac24d2b6e Mon Sep 17 00:00:00 2001 From: Matthias Prinke Date: Thu, 6 Jun 2024 08:04:33 +0200 Subject: [PATCH] Changed lightning signal names --- extras/confighelper/confighelper.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/extras/confighelper/confighelper.html b/extras/confighelper/confighelper.html index a75e51a..2e4f7f9 100644 --- a/extras/confighelper/confighelper.html +++ b/extras/confighelper/confighelper.html @@ -43,6 +43,7 @@ // 20240530 Added BLE sensor configuration // Removed unused onchange="toggleInput(id, this.checked)" properties // 20240531 Fixed getLightningconfig() +// 20240606 Changed lightning signal names // // ToDo: // - @@ -296,7 +297,7 @@ if (checkbox.checked) { result |= 0x10; size += 3; - configDecoder.signals.push("'lgt_distance_km'"); + configDecoder.signals.push("'lgt_storm_dist_km'"); configDecoder.signals.push("'lgt_strike_count'"); configDecoder.types.push('uint8'); configDecoder.types.push('uint16'); @@ -305,9 +306,9 @@ if (checkbox.checked) { result |= 0x20; size += 7; - configDecoder.signals.push("'lgt_time'"); - configDecoder.signals.push("'lgt_events'"); - configDecoder.signals.push("'lgt_distance_km'"); + configDecoder.signals.push("'lgt_ev_time'"); + configDecoder.signals.push("'lgt_ev_events'"); + configDecoder.signals.push("'lgt_ev_dist_km'"); configDecoder.types.push('unixtime'); configDecoder.types.push('uint16'); configDecoder.types.push('uint8');