Problem with xiaomi wifi socket and ir remote

Hi i need help,my xiaomi wifi electrical sockets are no longer detected by homeassistant (version 83.3) also ir remote xiaomi is no longer revealed I think I have a problem with python-miio but I can not solve.
I can ping, I checked the token and it’s correct. On mihome I can see them but does not let me use them.This is the mistake that debugs me
Got exception while fetching the state: Unable to discover the device

21:59 components/switch/ (ERROR)

Unable to discover a device at address

21:59 /srv/homeassistant/lib/python3.5/site-packages/miio/ (ERROR)