Had to change the log file log4j2.xml as my karaf didn’t allow me to change the log setting, but that’s another issue.
Please find below the debug lines.
Thanks for trying to help me out, much appreciated!
2021-10-27 23:43:25.650 [INFO ] [.internal.handler.MiIoGatewayHandler] - Childhandler Disposed : miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17)
2021-10-27 23:43:27.629 [INFO ] [iio.internal.handler.MiIoLumiHandler] - Bridge for miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17) = null Gateway 56590400 (035F8040) with token (org.openhab.binding.miio.internal.handler.MiIoGatewayHandler@8e1651c)
2021-10-27 23:43:27.629 [INFO ] [.internal.handler.MiIoGatewayHandler] - Child initialized : miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17)
2021-10-27 23:43:29.302 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.140’. Next attempt in 60000ms
2021-10-27 23:43:29.304 [DEBUG] [andlers.XiaomiGatewayV3BridgeHandler] - MQTT brokers state changed to:CONNECTING
2021-10-27 23:43:29.307 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.1.140’ with clientid sgbinding1
2021-10-27 23:43:29.318 [DEBUG] [andlers.XiaomiGatewayV3BridgeHandler] - MQTT brokers state changed to:CONNECTING
2021-10-27 23:43:29.320 [DEBUG] [internal.miio.MiIoAsyncCommunication] - Command added to Queue {“id”:4408,“method”:“enable_telnet_service”,“params”:[]} → 192.168.1.140 (Device: 185B2C82 token: 4C724178XXXXXXXXXXXXXXXX54494443 Queue: 1).
2021-10-27 23:43:29.321 [DEBUG] [internal.miio.MiIoAsyncCommunication] - Command added to Queue {“id”:4409,“method”:“get_device_list”,“params”:[]} → 192.168.1.140 (Device: 185B2C82 token: 4C724178XXXXXXXXXXXXXXXX54494443 Queue: 2).
2021-10-27 23:43:29.626 [INFO ] [.internal.handler.MiIoGatewayHandler] - Childhandler Disposed : miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17)
2021-10-27 23:43:30.255 [INFO ] [iio.internal.handler.MiIoLumiHandler] - Bridge for miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17) = null Gateway 56590400 (035F8040) with token (org.openhab.binding.miio.internal.handler.MiIoGatewayHandler@8e1651c)
2021-10-27 23:43:30.255 [WARN ] [iio.internal.handler.MiIoLumiHandler] - Adding child device miio:lumi:lumi_158d0004619c17 to bridge miio:gateway:035F8040. We should not see this
2021-10-27 23:43:30.256 [INFO ] [.internal.handler.MiIoGatewayHandler] - Child initialized : miio:lumi:lumi_158d0004619c17 Motion sensor Bedroom (lumi.158d0004619c17)
2021-10-27 23:43:33.486 [DEBUG] [3.internal.helpers.MIIOCommunication] - Received response for type: TELNET_ENABLE, result: null, fullresponse: {“id”:4408,“error”:{“code”:-9999,“message”:“user ack timeout”},“exe_time”:4070}
2021-10-27 23:43:33.487 [DEBUG] [3.internal.helpers.MIIOCommunication] - Error received: {“code”:-9999,“message”:“user ack timeout”}
2021-10-27 23:43:33.709 [DEBUG] [3.internal.helpers.MIIOCommunication] - Received response for type: GET_DEVICE_LIST, result: [{“did”:“lumi.158d0001267b46”,“model”:“lumi.sensor_motion.v2”,“num”:1,“total”:12},{“did”:“lumi.158d000154a17c”,“model”:“lumi.sensor_motion.v2”,“num”:2,“total”:12},{“did”:“lumi.158d0001ab1f8e”,“model”:“lumi.sensor_magnet.aq2”,“num”:3,“total”:12},{“did”:“lumi.158d0001b75751”,“model”:“lumi.sensor_magnet.v2”,“num”:4,“total”:12},{“did”:“lumi.158d0001dbbbe9”,“model”:“lumi.sensor_motion.v2”,“num”:5,“total”:12},{“did”:“lumi.158d000244eb0f”,“model”:“lumi.sensor_magnet.v2”,“num”:6,“total”:12},{“did”:“lumi.158d000244eff7”,“model”:“lumi.sensor_magnet.v2”,“num”:7,“total”:12},{“did”:“lumi.158d0002455e45”,“model”:“lumi.sensor_magnet.v2”,“num”:8,“total”:12}], fullresponse: {“code”:0,“id”:4409,“result”:[{“did”:“lumi.158d0001267b46”,“model”:“lumi.sensor_motion.v2”,“num”:1,“total”:12},{“did”:“lumi.158d000154a17c”,“model”:“lumi.sensor_motion.v2”,“num”:2,“total”:12},{“did”:“lumi.158d0001ab1f8e”,“model”:“lumi.sensor_magnet.aq2”,“num”:3,“total”:12},{“did”:“lumi.158d0001b75751”,“model”:“lumi.sensor_magnet.v2”,“num”:4,“total”:12},{“did”:“lumi.158d0001dbbbe9”,“model”:“lumi.sensor_motion.v2”,“num”:5,“total”:12},{“did”:“lumi.158d000244eb0f”,“model”:“lumi.sensor_magnet.v2”,“num”:6,“total”:12},{“did”:“lumi.158d000244eff7”,“model”:“lumi.sensor_magnet.v2”,“num”:7,“total”:12},{“did”:“lumi.158d0002455e45”,“model”:“lumi.sensor_magnet.v2”,“num”:8,“total”:12}],“exe_time”:110}
2021-10-27 23:43:33.712 [INFO ] [3.internal.helpers.MIIOCommunication] - Found devices count: 8
2021-10-27 23:43:33.712 [INFO ] [l.discovery.XiaomiGatewayV3Discovery] - AutoDiscovery: creating 8 devices
2021-10-27 23:43:33.713 [INFO ] [l.discovery.XiaomiGatewayV3Discovery] - AutoDiscovery: model lumi.sensor_motion.v2 is not yet supported
2021-10-27 23:43:33.715 [INFO ] [l.discovery.XiaomiGatewayV3Discovery] - AutoDiscovery: model lumi.sensor_motion.v2 is not yet supported
2021-10-27 23:43:33.717 [INFO ] [l.discovery.XiaomiGatewayV3Discovery] - AutoDiscovery: model lumi.sensor_motion.v2 is not yet supported
2021-10-27 23:43:48.736 [INFO ] [.internal.handler.MiIoGatewayHandler] - Childhandler Disposed : miio:lumi:185B2C82:lumi_158d000154a17c Bathroom Motion Sensor
2021-10-27 23:43:49.993 [INFO ] [iio.internal.handler.MiIoLumiHandler] - Bridge for miio:lumi:185B2C82:lumi_158d000154a17c Bathroom Motion Sensor = null Gateway Bedroom (374664503 / 1654ED37) with token (org.openhab.binding.miio.internal.handler.MiIoGatewayHandler@1e335bc2)
2021-10-27 23:43:49.995 [WARN ] [iio.internal.handler.MiIoLumiHandler] - Adding child device miio:lumi:185B2C82:lumi_158d000154a17c to bridge miio:gateway:1654ED37. We should not see this
2021-10-27 23:43:49.994 [INFO ] [.internal.handler.MiIoGatewayHandler] - Child initialized : miio:lumi:185B2C82:lumi_158d000154a17c Bathroom Motion Sensor
2021-10-27 23:44:29.308 [INFO ] [.reconnect.PeriodicReconnectStrategy] - Try to restore connection to ‘192.168.1.140’. Next attempt in 60000ms
2021-10-27 23:44:29.310 [DEBUG] [andlers.XiaomiGatewayV3BridgeHandler] - MQTT brokers state changed to:CONNECTING
2021-10-27 23:44:29.313 [INFO ] [.transport.mqtt.MqttBrokerConnection] - Starting MQTT broker connection to ‘192.168.1.140’ with clientid sgbinding1
2021-10-27 23:44:29.323 [DEBUG] [andlers.XiaomiGatewayV3BridgeHandler] - MQTT brokers state changed to:CONNECTING