After upgrading to openhab 2.5 and due to a bug in the mihome binding, I upgraded to mihome binding snapshot 2.5.5 and it worked.
Now, when I am trying to add my 3rd Xiaomi Bridge, I am getting the following error when I try to search for the new device (see attached log file)debug.txt (33.2 KB) :
2020-05-11 14:28:54.956 [DEBUG] [nternal.socket.XiaomiDiscoverySocket] - Setup discovery socket
2020-05-11 14:28:54.962 [DEBUG] [nternal.socket.XiaomiDiscoverySocket] - Initialized socket to null:-1 on 0.0.0.0/0.0.0.0:36866
2020-05-11 14:28:54.967 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Starting receiver thread Thread[Thread-6694,5,]
2020-05-11 14:28:54.972 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types '[mihome:bridge]' on 'XiaomiBridgeDiscoveryService'!
java.lang.IllegalThreadStateException: null
at java.lang.Thread.start(Thread.java:708) ~[?:1.8.0_222]
at org.openhab.binding.mihome.internal.socket.XiaomiSocket.initialize(XiaomiSocket.java:79) ~[?:?]
Then find the “org.openhab.binding.mihome-2.5.3.jar” file in the following directory:
repository\org\openhab\addons\bundles\org.openhab.binding.mihome\2.5.3\
uninstall the mihome binding and place the new jar file in the openhab2-addons directory
The mihome binding is not installed through the Paper UI.
In the openhab-cli console I see the following bindings:
openhab> bundle:list |grep Xiaomi
307 x Active x 80 x 2.5.5.202004251308 x openHAB Add-ons :: Bundles :: Xiaomi Mi Smart Home Binding
314 x Active x 80 x 2.5.0.201904031156 x Xiaomi Mi Smart Home Binding
315 x Installed x 80 x 2.3.0.201805272207 x Xiaomi Mi Smart Home Binding
316 x Installed x 80 x 2.4.0.201901201725 x Xiaomi Mi Smart Home Binding
and put only one .jar file in add-on folder:
openhabian@openhab:/usr/share/openhab2/addons$ ls -la
-rw-rw-r-- 1 openhab openhab 97K Mar 19 14:47 org.openhab.binding.mihome-2.5.3.jar
openhab> bundle:list |grep Xiaomi
246 x Active x 80 x 2.5.3 x openHAB Add-ons :: Bundles :: Xiaomi Mi Smart Home Binding