Source:
<code>protected void updateConfiguration() { Configuration configuration = getConfig(); int universeId = MIN_UNIVERSE_ID; if (configuration.get(CONFIG_UNIVERSE) != null) { universeId = Util.coerceToRange(((BigDecimal) configuration.get(CONFIG_UNIVERSE)).intValue(), MIN_UNIVERSE_ID, MAX_UNIVERSE_ID, logger, "universeId"); } if (universe == null) { universe = new Universe(universeId); } else if (universe.getUniverseId() != universeId) { universe.rename(universeId); } packetTemplate.setUniverse(universe.getUniverseId()); receiverNodes.clear(); if (configuration.get(CONFIG_ADDRESS) == null) { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Could not initialize sender (address not set) in ArtNet Bridge " + this.thing.getUID()); uninstallScheduler(); logger.error("remote address not set for {}", this.thing.getUID()); return; } else { receiverNodes = IpNode.fromString((String) configuration.get(CONFIG_ADDRESS), ArtnetNode.DEFAULT_PORT); logger.debug("using unicast mode to for {}", receiverNodes.toString(), this.thing.getUID()); } if (configuration.get(CONFIG_LOCAL_ADDRESS) != null) { senderNode = new IpNode((String) configuration.get(CONFIG_LOCAL_ADDRESS)); } logger.debug("originating address is for {}", senderNode, this.thing.getUID()); if (configuration.get(CONFIG_REFRESH_MODE) != null) { refreshAlways = (((String) configuration.get(CONFIG_REFRESH_MODE)).equals("always")); } logger.debug("refresh mode set to always: {}", refreshAlways); super.updateConfiguration(); <START> updateStatus(ThingStatus.ONLINE); <END> logger.debug("updated configuration for ArtNet bridge {}", this.thing.getUID()); }</code><technical_language>do if communicate bridge yet, set ONLINE place a successful connection established. I do hardware, if I add bridge a shows Online is wrong a result this line</technical_language>

Target:
protected void updateConfiguration() { Configuration configuration = getConfig(); setUniverse(configuration.get(CONFIG_UNIVERSE), MIN_UNIVERSE_ID, MAX_UNIVERSE_ID); packetTemplate.setUniverse(universe.getUniverseId()); receiverNodes.clear(); if (configuration.get(CONFIG_ADDRESS) == null) { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Could not initialize sender (address not set)"); uninstallScheduler(); logger.debug("remote address not set for {}", this.thing.getUID()); return; } else { try { receiverNodes = IpNode.fromString((String) configuration.get(CONFIG_ADDRESS), ArtnetNode.DEFAULT_PORT); logger.debug("using unicast mode to for {}", receiverNodes.toString(), this.thing.getUID()); } catch (IllegalArgumentException e) { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, e.getMessage()); return; } } if (configuration.get(CONFIG_LOCAL_ADDRESS) != null) { senderNode = new IpNode((String) configuration.get(CONFIG_LOCAL_ADDRESS)); } logger.debug("originating address is for {}", senderNode, this.thing.getUID()); if (configuration.get(CONFIG_REFRESH_MODE) != null) { refreshAlways = (((String) configuration.get(CONFIG_REFRESH_MODE)).equals("always")); } logger.debug("refresh mode set to always: {}", refreshAlways); super.updateConfiguration(); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.NONE); logger.debug("updated configuration for ArtNet bridge {}", this.thing.getUID()); }