[SOLVED] Continuous ping command from Xiaomi Mi IO Binding

Hi i am using Openhab 2 on Win10.

When i install Xiaomi Mi IO Binding i can see a continuous ping command like this below.

17:47:26.902 [DEBUG] [binding.miio.handler.MiIoBasicHandler] - Periodic update for ‘miio:generic:07CA58DB’ (miio:basic)
17:47:26.903 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Sending Ping 07CA58DB (192.168.123.29)
17:47:26.907 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Ping 07CA58DB (192.168.123.29) success
17:47:26.907 [DEBUG] [rnal.transport.MiIoAsyncCommunication] - Command added to Queue {“id”:88,“method”:“get_prop”,“params”:[“power”,“bright”,“delayoff”,“ct”,“color_mode”]} -> 192.168.123.29 (Device: 07CA58DB token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Queue: 1)

Is this a normal behavior?
How can i stop OH to send ping commands.?
I do not want to see it in logs.
Thank you for any advice

Then turn of DEBUG logging. That is the reason why there are different levels of logging in the first place.

I don’t know this binding but I suspect the pinging is fundamental to the working of the binding.

You had to enable DEBUG logging in the first place. So just reversed what you did to go back to INFO level logging and those entries will stop.

1 Like

OK. Thank you.
I changed the logginlevel in org.ops4j.pax.logging.cfg.
It Worked