Closed vedmant closed 1 month ago
If the error says that it cannot connect then it most likely is that way. Either the ip or token which you specified are invalid. You can check the debug section for a cli command which allows you to validate the connection here: https://github.com/merdok/homebridge-miot?tab=readme-ov-file#debug
@merdok Thanks, I was stupid, it was connected to different network, and on same IP I had different device on my network
Describe the bug I installed the plugin, discovered the device. It shows accessory, but it doesn't respond to any command, I'm trying to switch it on, in Homebridge UI it just has not efferct, in Apple Home switch immediately going to off position.
I see in logs that it can't connect, but I can ping IP 192.168.1.16 from the homebridge server normally.
Expected behavior Should work.
Your config.json
Purifier firmware version: 2.1.8_0012
Debug log [7/13/2024, 7:05:29 AM] [miot] [Xiaomi Smart Air Purifier 4 Compact] Error: Could not connect to device, handshake timeout [7/13/2024, 7:05:29 AM] [miot] [Xiaomi Smart Air Purifier 4 Compact] Error during connection! Retrying in 60 seconds!