Closed adahmen closed 1 month ago
Reason: Error: Call to device timed out
might have multiple reasons... if you are sure that your ip and token are correct then you should try to reset the device as that might help.
Do you mean a factory reset? Or what type of reset? And yes, IP is correct and token is correct.
yes factory reset of the device.
A factory reset solved the problem (without knowing what the root cause was). Thank you !!!
Solved
I have an issue with the device property polling for my Air Purifier. Token is correct - i checked it multiple times. Local IP is also correct. It worked after I switched to this plugin some weeks ago - but it stopped some days in the past.
Here is the logfile: `[10/3/2024, 10:40:59 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution [10/3/2024, 10:40:59 AM] [HB Supervisor] Started Homebridge v1.8.4 with PID: 2340 [10/3/2024, 10:40:59 AM] Loaded config.json with 0 accessories and 5 platforms. [10/3/2024, 10:40:59 AM] Loaded 7 cached accessories from cachedAccessories. [10/3/2024, 10:40:59 AM] --- [10/3/2024, 10:41:00 AM] Loaded plugin: homebridge-miot@1.7.4 [10/3/2024, 10:41:00 AM] Registering platform 'homebridge-miot.miot' [10/3/2024, 10:41:00 AM] --- [10/3/2024, 10:41:00 AM] Loading 5 platforms... [10/3/2024, 10:41:00 AM] [miot] Initializing miot platform... [10/3/2024, 10:41:00 AM] [miot] Initializing devices [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Got device configuration, initializing device with name: Mi Air Purifier 3/3H Setup Payload: X-HM://0023S1XTLYEVX Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
[10/3/2024, 10:41:00 AM] Homebridge v1.8.4 (HAP v0.12.2) (Homebridge DD57) is running on port 51674. [10/3/2024, 10:41:00 AM]
NOTICE TO USERS AND PLUGIN DEVELOPERS
[10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Model known: zhimi.airpurifier.mb3! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Initializing device! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Initializing device services [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Device services: [ "air-purifier", "environment", "filter", "alarm", "indicator-light", "physical-controls-locked", "button", "filter-time", "motor-speed", "use-time", "aqi", "rfid", "others" ] [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Initializing device properties [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Device properties: [ "air-purifier:fault", "air-purifier:on", "air-purifier:fan-level", "air-purifier:mode", "environment:pm2.5-density", "environment:relative-humidity", "environment:temperature", "filter:filter-life-level", "filter:filter-used-time", "alarm:alarm", "indicator-light:brightness", "indicator-light:on", "physical-controls-locked:physical-controls-locked", "button:button-pressed", "filter-time:filter-max-time", "filter-time:filter-hour-debug", "motor-speed:motor-strong", "motor-speed:motor-high", "motor-speed:motor-med", "motor-speed:motor-med-l", "motor-speed:motor-low", "motor-speed:motor-silent", "motor-speed:motor-favorite", "motor-speed:motor-speed", "motor-speed:motor-set-speed", "motor-speed:favorite-fan-level", "use-time:use-time", "aqi:purify-volume", "aqi:average-aqi", "aqi:average-aqi-cnt", "aqi:aqi-zone", "aqi:sensor-state", "aqi:aqi-goodh", "aqi:aqi-runstate", "aqi:aqi-state", "aqi:aqi-updata-heartbeat", "rfid:rfid-tag", "rfid:rfid-factory-id", "rfid:rfid-product-id", "rfid:rfid-time", "rfid:rfid-serial-num", "others:app-extra", "others:main-channel", "others:slave-channel", "others:cola", "others:buttom-door", "others:reboot-cause", "others:hw-version", "others:iic-error-count", "others:manual-level", "others:country-code", "others:temperature-unit", "others:device-serial-number" ] [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Initializing device actions [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Device actions: [ "filter:reset-filter-life", "button:toggle", "button:toggle-mode" ] [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Successfully created a AirPurifier device! It is a Xiaomi Mi Air Purifier 3H. [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Initializing accessory! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Accessory successfully initialized! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Registering 1 accessories! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Everything looks good! Initiating property polling! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Device found! Setting up miot device from local connection! [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Connected to device: zhimi.airpurifier.mb3 [10/3/2024, 10:41:00 AM] [miot] [Mi Air Purifier 3/3H] Doing initial property fetch. [10/3/2024, 10:41:12 AM] [miot] [Mi Air Purifier 3/3H] Starting property polling. [10/3/2024, 10:42:04 AM] [miot] [Mi Air Purifier 3/3H] Poll failed 4 times in a row! Stopping polling and trying to reconnect! Reason: Error: Call to device timed out`
Any idea what the problem could be? Any hint what to do?