{{ dialogTitle }}

@if (loadedCommand) {
@if (allowTransportType.has(BasicTransportType.HTTP)) { {{ deviceTransportTypeTranslationMap.get(BasicTransportType.HTTP) | translate }} } @if (allowTransportType.has(DeviceTransportType.MQTT)) { {{ deviceTransportTypeTranslationMap.get(DeviceTransportType.MQTT) | translate }} } @if (allowTransportType.has(DeviceTransportType.COAP)) { {{ deviceTransportTypeTranslationMap.get(DeviceTransportType.COAP) | translate }} } @if (allowTransportType.has(DeviceTransportType.SNMP)) { {{ deviceTransportTypeTranslationMap.get(DeviceTransportType.SNMP) | translate }} } @if (allowTransportType.has(DeviceTransportType.LWM2M)) { {{ deviceTransportTypeTranslationMap.get(DeviceTransportType.LWM2M) | translate }} }
@switch (transportProtocol.value) { @case (BasicTransportType.HTTP) {
device.connectivity.use-following-instructions
Windows
device.connectivity.install-necessary-client-tools
device.connectivity.install-curl-windows
MacOS
device.connectivity.install-necessary-client-tools
device.connectivity.install-curl-macos
Linux
device.connectivity.install-necessary-client-tools
} @case (DeviceTransportType.MQTT) { @if (commands.mqtt.sparkplug) {
} @else {
device.connectivity.use-following-instructions
Windows
device.connectivity.install-necessary-client-tools
MacOS
device.connectivity.install-necessary-client-tools
Linux
device.connectivity.install-necessary-client-tools
@if (!!commands.mqtt.docker) { Docker
}
} } @case (DeviceTransportType.COAP) {
device.connectivity.use-following-instructions
Linux
@if (commands.coap.coaps !== 'Check documentation') {
device.connectivity.install-necessary-client-tools
}
@if (!!commands.coap.docker) { Docker
}
} @case (DeviceTransportType.SNMP) {
} @case (DeviceTransportType.LWM2M) {
} }
device.state
{{ (status ? 'device.active' : 'device.inactive') | translate }}
attribute.latest-telemetry
device.time
attribute.key
attribute.value
@if (latestTelemetry.length) {
@for (telemetry of latestTelemetry; track telemetry) {
{{ telemetry.lastUpdateTs | date: 'yyyy-MM-dd HH:mm:ss' }}
{{ telemetry.key }}
{{ telemetry.value }}
}
} @else {
attribute.no-latest-telemetry
}
} @else {
{{ 'device.connectivity.loading-check-connectivity-command' | translate }}
}
{{ 'action.dont-show-again' | translate}}
device.connectivity.execute-following-command
{{ cmd.noSecLabel }} {{ cmd.secLabel }}
@switch (protocolType.value) { @case ('noSec') { } @case ('sec') { @if (cmd.sec !== 'Check documentation') {
} @else { } } }
{{ doc.text | translate }}
description {{ 'common.documentation' | translate }}