It outputted a few errors regarding the discovered MIIO devices, here is a part of it:
2021-10-21 12:09:13.364 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Xiaomi cloud login with userid *************
2021-10-21 12:09:13.369 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:702) ~[?:?]
at org.openhab.binding.miio.internal.cloud.MiCloudConnector.getDevices(MiCloudConnector.java:218) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.lambda$1(CloudConnector.java:83) ~[?:?]
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:101) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:72) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.getDevicesList(CloudConnector.java:210) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.logon(CloudConnector.java:197) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.lambda$0(CloudConnector.java:68) ~[?:?]
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:101) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:72) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.isConnected(CloudConnector.java:111) ~[?:?]
at org.openhab.binding.miio.internal.MiIoHandlerFactory.lambda$0(MiIoHandlerFactory.java:85) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
2021-10-21 12:09:13.483 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Xiaomi cloud logon succesfull.
2021-10-21 12:09:13.486 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Send request to https://api.io.mi.com/app/home/device_list_page with data '{"getVirtualModel":false,"getHuamiDevices":1}'
2021-10-21 12:09:14.347 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Request to 'cn' server '/home/device_list_page'. Response: '{"code":0,"message":"","result":{"list":[{"did":"lumi.158d0001fd2e69","uid":1785109788,"token":"","name":"Rauchmelder Büro","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_smoke.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:smoke-sensor:0000A023:lumi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1","isSubGroup":false,"showGroupMember":false,"split":null},"orderTime":1530543394,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d00020248c9","uid":1785109788,"token":"","name":"Rauchmelder Küche","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_smoke.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:smoke-sensor:0000A023:lumi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1","isSubGroup":false,"showGroupMember":false,"split":null},"orderTime":1530546643,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"72559000","uid":1785109788,"token":"fb441dc28e0d0f04fbeda8a9a420be64","name":"Gateway OG","pid":0,"localip":"192.168.178.26","mac":"78:11:DC:64:EB:CB","ssid":"***","bssid":"44:4E:6D:67:BC:A9","rssi":-49,"longitude":"7.00988820","latitude":"51.22598310","show_mode":1,"model":"lumi.gateway.v3","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:gateway:0000A019:lumi-v3:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.4.1_176","mcu_version":"0220","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1517089391,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"87913718","uid":1785109788,"token":"990eee8a9d5fcda6ba0dbf1846d1abb4","name":"Mi Universal Remote","pid":0,"localip":"192.168.178.59","mac":"7C:49:EB:20:4E:69","ssid":"***","bssid":"7C:FF:4D:D0:99:3E","rssi":-63,"longitude":"7.00985100","latitude":"51.22602090","show_mode":1,"model":"chuangmi.ir.v2","permitLevel":16,"isOnline":false,"extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.2.4_38","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1524578688,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"93940350","uid":1785109788,"token":"90dbedf417b4fad5a1472bea2928aca0","name":"Smartmi Humidifier2","pid":0,"localip":"192.168.178.74","mac":"7C:49:EB:83:E0:51","ssid":"***","bssid":"DC:39:6F:E1:69:0C","rssi":-53,"longitude":"7.00984880","latitude":"51.22601060","show_mode":1,"model":"zhimi.humidifier.v1","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:humidifier:0000A00E:zhimi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.4.3_5103","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1547501753,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"blt.3.1676krcuols00","uid":1785109788,"token":"9b31f5d58e195c5e279ffbe7","name":"Temperatur- und Feuchtigkeitssensor","pid":6,"mac":"E7:2E:00:D1:3C:7C","bssid":"","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"miaomiaoce.sensor_ht.t1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:temperature-humidity-sensor:0000A00A:miaomiaoce-t1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.1.2_0087","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1617187336,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"blt.3.r1kc2njo4800","uid":1785109788,"token":"a250c857efeae6898414fdc0","name":"Flower Care2","pid":6,"mac":"C4:7C:8D:66:4F:33","bssid":"","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"hhcc.plantmonitor.v1","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:plant-monitor:0000A030:hhcc-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1521202585,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"blt.3.vcfafgmk4400","uid":1785109788,"token":"b076fc7f38e2ccf5c49d398b","name":"Mijia Philips BLE Night-light II","pid":6,"mac":"FE:6E:C2:27:7C:83","bssid":"","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"philips.light.nlight","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:night-light:0000A0AB:philips-nlight:1","extra":{"isSetPincode":0,"pincodeType":0,"isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1558472750,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0002152923","uid":1785109788,"token":"","name":"Rauchmelder Schlafzimmer","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_smoke.v1","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:smoke-sensor:0000A023:lumi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1530545815,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d000204888a","uid":1785109788,"token":"","name":"Fensterkontakt Hack","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":1,"model":"lumi.sensor_magnet.aq2","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:magnet-sensor:0000A016:lumi-aq2:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1531219702,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0002112540","uid":1785109788,"token":"","name":"Water Leak Sensor Badezimmer","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":1,"model":"lumi.sensor_wleak.aq1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:submersion-sensor:0000A024:lumi-aq1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"4","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1521036197,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"150160429","uid":1785109788,"token":"447574355241766a774f786562427044","name":"Luftqualitätsdetektor","pid":0,"localip":"192.168.178.127","mac":"7C:49:EB:FB:1A:8A","ssid":"***","bssid":"3C:37:12:5F:A6:D6","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"cgllc.airmonitor.s1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:air-monitor:0000A008:cgllc-s1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3.4.5_0177","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1629108269,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"88489738","uid":1785109788,"token":"fd9d518ae72c68ded8a8cd8bbc7dd341","name":"Mi Bedside Lamp","pid":0,"localip":"192.168.178.83","mac":"7C:49:EB:29:14:5B","ssid":"***","bssid":"44:4E:6D:67:BC:A9","rssi":-66,"longitude":"7.00991400","latitude":"51.22603790","show_mode":1,"model":"yeelink.light.bslamp1","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:light:0000A001:yeelink-bslamp1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1.6.6_0172","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1548266907,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"blt.3.r1kb9m4k4800","uid":1785109788,"token":"84ff51830ff12ac1b0b17fa3","name":"Flower Care","pid":6,"mac":"C4:7C:8D:66:4F:D7","bssid":"","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"hhcc.plantmonitor.v1","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:plant-monitor:0000A030:hhcc-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1521202380,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0001f4671a","uid":1785109788,"token":"","name":"Doppelschalter","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_86sw2.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:remote-control:0000A021:lumi-sensor-86sw2-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"5","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1523526478,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0001fd30e7","uid":1785109788,"token":"","name":"Rauchmelder Gästezimmer","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_smoke.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:smoke-sensor:0000A023:lumi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1530545742,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d000201e28a","uid":1785109788,"token":"","name":"Kontakt","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":1,"model":"lumi.sensor_magnet.aq2","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:magnet-sensor:0000A016:lumi-aq2:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"3","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1523136246,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"250764079","uid":1785109788,"token":"48abe79e8c5b1d70f6525d9117148b03","name":"Mijia Philips Schreibtischlampe Theo","pid":0,"localip":"192.168.178.150","mac":"54:48:E6:48:B1:AF","ssid":"***","bssid":"DC:39:6F:E1:69:0C","rssi":-78,"longitude":"7.0099035","latitude":"51.2260035","show_mode":1,"model":"philips.light.sread3","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:light:0000A001:philips-sread3:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.0.8_0022","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1633811394,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"blt.3.vcfa3e444o00","uid":1785109788,"token":"9f090d196f7effcefab7b52d","name":"Mijia Philips BLE Night-light I","pid":6,"mac":"D1:C8:57:4E:D4:55","bssid":"","longitude":"0.00000000","latitude":"0.00000000","show_mode":1,"model":"philips.light.nlight","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:night-light:0000A0AB:philips-nlight:1","extra":{"isSetPincode":0,"pincodeType":0,"isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1558472651,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0001ab4601","uid":1785109788,"token":"","name":"Bewegungsmelder 1","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":1,"model":"lumi.sensor_motion.aq2","permitLevel":16,"isOnline":false,"spec_type":"urn:miot-spec-v2:device:motion-sensor:0000A014:lumi-aq2:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"5","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1518475708,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0001e640d9","uid":1785109788,"token":"","name":"Rauchmelder Wohnzimmer","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_smoke.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:smoke-sensor:0000A023:lumi-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"1","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1530546550,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0002112573","uid":1785109788,"token":"","name":"Water Leak Sensor Küche","pid":3,"mac":"","ssid":"***","bssid":"E0:28:6D:48:F8:F4","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":1,"model":"lumi.sensor_wleak.aq1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:submersion-sensor:0000A024:lumi-aq1:1","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"4","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1521036444,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"lumi.158d0002705edf","uid":1785109788,"token":"","name":"Doppelschalter 1","pid":3,"mac":"","ssid":"***","bssid":"44:4E:6D:67:BC:A9","longitude":"0.00000000","latitude":"0.00000000","parent_id":"72559000","show_mode":0,"model":"lumi.sensor_86sw2.v1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:remote-control:0000A021:lumi-sensor-86sw2-v1:1","extra":{"isSetPincode":0,"pincodeType":0,"isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1555098442,"freqFlag":true,"hide_mode":0,"comFlag":1},{"did":"127125571","uid":1785109788,"token":"50cadbbf18d1008340b7644ea54ba165","name":"Qingping Air Monitor Lite","pid":0,"localip":"192.168.178.140","mac":"04:CF:8C:28:B6:DA","ssid":"***","bssid":"44:4E:6D:67:BC:A9","rssi":-82,"longitude":"7.0098993","latitude":"51.2259983","show_mode":1,"model":"cgllc.airm.cgdn1","permitLevel":16,"isOnline":true,"spec_type":"urn:miot-spec-v2:device:air-monitor:0000A008:cgllc-cgdn1:2","extra":{"isSetPincode":0,"pincodeType":0,"fw_version":"2.1.7_0382","mcu_version":"0383","isSubGroup":false,"showGroupMember":false,"split":{}},"orderTime":1634767337,"freqFlag":true,"hide_mode":0,"comFlag":1}],"next_start_did":"","has_more":false}}'
2021-10-21 12:09:14.352 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Devices token info saved to /var/lib/openhab/miio/miioTokens-cn.json
2021-10-21 12:09:14.398 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Send request to https://de.api.io.mi.com/app/home/device_list_page with data '{"getVirtualModel":false,"getHuamiDevices":1}'
2021-10-21 12:09:14.429 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Request to ' de' server '/home/device_list_page'. Response: '{"code":0,"message":"","result":{"list":null,"next_start_did":"","has_more":false}}'
2021-10-21 12:09:14.432 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Devices token info saved to /var/lib/openhab/miio/miioTokens- de.json
2021-10-21 12:09:14.434 [DEBUG] [miio.internal.cloud.MiCloudConnector] - Xiaomi cloud login with userid *************
2021-10-21 12:09:14.434 [DEBUG] [iio.internal.discovery.MiIoDiscovery] - Error submitting discovered Mi IO device at 192.168.178.140
java.lang.NullPointerException: null
at java.util.ArrayList.addAll(ArrayList.java:702) ~[?:?]
at org.openhab.binding.miio.internal.cloud.MiCloudConnector.getDevices(MiCloudConnector.java:218) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.lambda$1(CloudConnector.java:83) ~[?:?]
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:101) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:72) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.getDevicesList(CloudConnector.java:210) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.logon(CloudConnector.java:197) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.lambda$0(CloudConnector.java:68) ~[?:?]
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:101) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:72) ~[?:?]
at org.openhab.binding.miio.internal.cloud.CloudConnector.isConnected(CloudConnector.java:111) ~[?:?]
at org.openhab.binding.miio.internal.discovery.MiIoDiscovery.discovered(MiIoDiscovery.java:222) ~[?:?]
at org.openhab.binding.miio.internal.discovery.MiIoDiscovery$ReceiverThread.lambda$0(MiIoDiscovery.java:370) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
PS: I also tried to set the binding on only discovering local (supported) devices, but no success either.