Skip to content

Commit 56ca04c

Browse files
committed
[shelly] Correct LoRa airtime description wording
The Add-On's air_time_hr_ms is not cumulative; Shelly defines it as transmission time during the last 60 minutes. Update the channel-type, i18n and README descriptions to match, so the UI doesn't imply lifetime/persisted semantics. Signed-off-by: Markus Michels <markus7017@gmail.com>
1 parent 1b1456b commit 56ca04c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

bundles/org.openhab.binding.shelly/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ The add-on firmware version is shown in the Thing property `addonFirmware`; the
642642
| | errorsTx | Number | yes | Number of failed transmissions to the LoRa network. |
643643
| | snr | Number:Dimensionless | yes | SNR (signal-to-noise ratio in dB) of the last received packet. |
644644
| | rssi | Number:Power | yes | RSSI (received signal strength in dBm) of the last received packet. |
645-
| | airtime | Number:Time | yes | Cumulative transmission air time in milliseconds. |
645+
| | airtime | Number:Time | yes | Transmission air time of the LoRa Add-On during the last 60 minutes. |
646646

647647
### Shelly 1 (thing-type: shelly1)
648648

bundles/org.openhab.binding.shelly/src/main/resources/OH-INF/i18n/shelly.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ channel-type.shelly.loraTxBytes.description = Number of bytes sent to the LoRa n
943943
channel-type.shelly.loraTxErrors.label = TX Errors
944944
channel-type.shelly.loraTxErrors.description = Number of failed LoRa transmits
945945
channel-type.shelly.loraAirtime.label = Airtime
946-
channel-type.shelly.loraAirtime.description = Cumulative on-air time of the LoRa Add-On
946+
channel-type.shelly.loraAirtime.description = Transmission air time of the LoRa Add-On during the last 60 minutes
947947
channel-type.shelly.loraSignal.label = LoRa Signal Strength
948948
channel-type.shelly.loraSignal.description = Received Signal Strength (RSSI) of the last received LoRa packet
949949
channel-type.shelly.loraSNR.label = SNR

bundles/org.openhab.binding.shelly/src/main/resources/OH-INF/thing/shellyGen2_relay.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@
785785
<channel-type id="loraAirtime" advanced="true">
786786
<item-type>Number:Time</item-type>
787787
<label>Airtime</label>
788-
<description>Cumulative on-air time of the LoRa Add-On</description>
788+
<description>Transmission air time of the LoRa Add-On during the last 60 minutes</description>
789789
<category>Time</category>
790790
<tags>
791791
<tag>Measurement</tag>

0 commit comments

Comments
 (0)