[openwebnet] Fixes discovery of devices on local bus. Added it translation (#11644)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
This commit is contained in:
parent
b6836b8ef9
commit
112d2653a7
|
@ -188,7 +188,7 @@ public class OpenWebNetDeviceDiscoveryService extends AbstractDiscoveryService
|
||||||
|
|
||||||
DiscoveryResult discoveryResult = null;
|
DiscoveryResult discoveryResult = null;
|
||||||
|
|
||||||
String whereConfig = bridgeHandler.normalizeWhere(where);
|
String whereConfig = where.value();
|
||||||
if (where instanceof WhereZigBee && WhereZigBee.UNIT_02.equals(((WhereZigBee) where).getUnit())) {
|
if (where instanceof WhereZigBee && WhereZigBee.UNIT_02.equals(((WhereZigBee) where).getUnit())) {
|
||||||
logger.debug("UNIT=02 found (WHERE={}) -> will remove previous result if exists", where);
|
logger.debug("UNIT=02 found (WHERE={}) -> will remove previous result if exists", where);
|
||||||
thingRemoved(thingUID); // remove previously discovered thing
|
thingRemoved(thingUID); // remove previously discovered thing
|
||||||
|
|
|
@ -600,7 +600,7 @@ public class OpenWebNetBridgeHandler extends ConfigStatusBridgeHandler implement
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Normalize a Where address
|
* Normalize a Where address to generate ownId and Thing id
|
||||||
*
|
*
|
||||||
* @param where the Where address
|
* @param where the Where address
|
||||||
* @return the normalized address as String
|
* @return the normalized address as String
|
||||||
|
|
|
@ -1,12 +1,18 @@
|
||||||
# Thing status descriptions
|
# binding
|
||||||
offline.conf-error-no-ip-address = Cannot connect to gateway. No host/IP has been provided in Bridge configuration.
|
|
||||||
offline.conf-error-no-serial-port = Cannot connect to gateway. No serial port has been provided in Bridge configuration.
|
|
||||||
offline.conf-error-where = WHERE parameter in Thing configuration is null or invalid
|
|
||||||
offline.conf-error-no-bridge = No bridge associated, please assign a bridge in Thing configuration.
|
|
||||||
offline.conf-error-auth = Authentication error. Check gateway password in Thing Configuration Parameters
|
|
||||||
|
|
||||||
offline.comm-error-disconnected = Disconnected from gateway
|
binding.openwebnet.name = OpenWebNet (BTicino/Legrand) Binding
|
||||||
offline.comm-error-timeout = Connection to gateway timed out
|
binding.openwebnet.description = The OpenWebNet binding integrates BTicino (Legrand) MyHOME® BUS and wireless systems using the OpenWebNet protocol.
|
||||||
offline.comm-error-connection = Could not connect to gateway
|
|
||||||
|
# thing status descriptions
|
||||||
|
|
||||||
|
offline.conf-error-no-ip-address = Cannot connect to gateway. No host/IP address has been provided in configuration.
|
||||||
|
offline.conf-error-no-serial-port = Cannot connect to gateway. No serial port has been provided in configuration.
|
||||||
|
offline.conf-error-where = OpenWebNet Address (where) parameter in configuration is null or invalid.
|
||||||
|
offline.conf-error-no-bridge = No bridge associated. Assign a bridge in configuration.
|
||||||
|
offline.conf-error-auth = Authentication failed. Check gateway password in configuration.
|
||||||
|
|
||||||
|
offline.comm-error-disconnected = Disconnected from gateway.
|
||||||
|
offline.comm-error-timeout = Connection to gateway timed out.
|
||||||
|
offline.comm-error-connection = Could not connect to gateway.
|
||||||
|
|
||||||
unknown.waiting-state = Waiting state update...
|
unknown.waiting-state = Waiting state update...
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Thing status descriptions
|
# Thing status descriptions
|
||||||
offline.conf-error-no-ip-address = Nem lehet az átjáróhoz csatlakozni. Nincs gazdanév/IP megadva a híd konfigurációjában.
|
offline.conf-error-no-ip-address = Nem lehet az átjáróhoz csatlakozni. Nincs gazdanév/IP megadva a híd konfigurációjában.
|
||||||
offline.conf-error-no-serial-port = Nem lehet az átjáróhoz csatlakozni. Nincs soros port megadva a híd konfigurációjában.
|
offline.conf-error-no-serial-port = Nem lehet az átjáróhoz csatlakozni. Nincs soros port megadva a híd konfigurációjában.
|
||||||
offline.conf-error-where = WHERE paraméter a dolog konfigurációjában null vagy érvénytelen
|
offline.conf-error-where = OpenWebNet Address (where) paraméter a dolog konfigurációjában null vagy érvénytelen
|
||||||
offline.conf-error-no-bridge = Nincs híd hozzárendelve, a dolog konfigurációjában adjon meg egyet.
|
offline.conf-error-no-bridge = Nincs híd hozzárendelve, a dolog konfigurációjában adjon meg egyet.
|
||||||
offline.conf-error-auth = Hitelesítési hiba. Ellenőrizze az átjáró jelszavát a dolog beállítási paramétereiben
|
offline.conf-error-auth = Hitelesítési hiba. Ellenőrizze az átjáró jelszavát a dolog beállítási paramétereiben
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# binding
|
||||||
|
|
||||||
|
binding.openwebnet.name = OpenWebNet (BTicino/Legrand) Binding
|
||||||
|
binding.openwebnet.description = Il binding OpenWebNet integra i sistemi BTicino (Legrand) MyHOME® BUS e wireless tramite il protocollo OpenWebNet.
|
||||||
|
|
||||||
|
# thing status descriptions
|
||||||
|
|
||||||
|
offline.conf-error-no-ip-address = Impossibile connettersi al gateway. Nessun host/IP specificato nella configurazione.
|
||||||
|
offline.conf-error-no-serial-port = Impossibile connettersi al gateway. Nessuna porta seriale specificata nella configurazione.
|
||||||
|
offline.conf-error-where = Il parametro OpenWebNet Address (where) nella configurazione è nullo o non valido.
|
||||||
|
offline.conf-error-no-bridge = Nessun bridge associato. Assegnare un bridge nella configurazione.
|
||||||
|
offline.conf-error-auth = Autenticazione fallita. Verificare la password nella configurazione.
|
||||||
|
|
||||||
|
offline.comm-error-disconnected = Disconnesso dal gateway.
|
||||||
|
offline.comm-error-timeout = Connessione al gateway non riuscita in tempo.
|
||||||
|
offline.comm-error-connection = Impossibile connettersi al gateway.
|
||||||
|
|
||||||
|
unknown.waiting-state = In attesa di aggiornamento di stato...
|
Loading…
Reference in New Issue