Prerequisites
I’ve installed the UniFi binding and created the bridge thing using the following properties:
UID: unifi:controller:5eba85627e
label: UniFi Controller
thingTypeUID: unifi:controller
configuration:
host: unifi.my.internal.domain
refresh: 10
password: *
unifios: false
port: 443
username: *
location: Technikraum
After saving the bridge thing properties, it went online as expected.
Problem description
When I now open the bridge properties again, the host
property is automatically changed from unifi.my.internal.domain
to mqtt.my.internal.domain
. Whereas unifi
is the hostname of my unifi controller and mqtt
is the hostname of my MQTT broker. That value is used by the MQTT binding also installed in openHAB.
The configuration then looks like:
UID: unifi:controller:5eba85627e
label: UniFi Controller
thingTypeUID: unifi:controller
configuration:
host: mqtt.my.internal.domain
refresh: 10
password: *
unifios: false
port: 443
username: *
location: Technikraum
If I leave try to leave the page the UI tells me:
Changes have not been saved
Do you want to leave this page without saving?
I’ve also disabled the auto fill feature of my browser just to make sure, that this is not coming from my browser.
I guess that this is not the expected behavior, but I cannot tell if this is an error in one of the two bindings or simply in the UI.
My Environment
- Platform information:
- Hardware: ASUS H87I-PLUS/i3-4130T/16GiB RAM
- OS: Docker on Ubuntu 20.04.3 LTS
- Java Runtime Environment: OpenJDK 64-Bit Server VM 11.0.13
- openHAB version: 3.2.0