merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
391 stars 61 forks source link

Dreame d9 max White Version #604

Open maverickrezo opened 3 months ago

maverickrezo commented 3 months ago

Device model dreame.vacuum.r2312

Device name Dreame d9 max White Version (not same as black one in your list)

Does the device require a MiCloud connection? No

Anything special about the device? You have already added support for black version dreame.vacuum.p2259 but white one is different and doesnt work

merdok commented 3 months ago

Did you already try to add the device using this plugin? What issues are you facing?

maverickrezo commented 3 months ago

Did you already try to add the device using this plugin? What issues are you facing?

Yes, and devices was added to homekit but doesnt response

merdok commented 3 months ago

Are you sure that the token is correct and that you entered the correct ip? What does the debug log say?

maverickrezo commented 3 months ago

[22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Using module class for device type RobotCleaner, indentified by miot spec! Not all features might work! [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Initializing device services [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Device services: [ "vacuum", "battery", "alarm", "physical-controls-locked", "identify", "sterilizer-module", "sensor-clean-alert", "mop" ] [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Initializing device properties [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Device properties: [ "vacuum:status", "vacuum:fault", "vacuum:on", "vacuum:mode", "vacuum:speed-level", "vacuum:uv", "vacuum:fan-level", "vacuum:sweep-type", "vacuum:room-ids", "vacuum:suction-level", "vacuum:sweep-mop-type", "vacuum:clean-times", "vacuum:zone-ids", "vacuum:points", "vacuum:cleaning-time", "vacuum:cleaning-area", "vacuum:restricted-sweep-areas", "vacuum:restricted-mop-areas", "vacuum:restricted-walls", "vacuum:vacuum-room-ids", "vacuum:room-name", "vacuum:mop-water-output-level", "vacuum:dust-arrest-left-time", "vacuum:mop-wash-left-time", "vacuum:dry-left-time", "vacuum:map-ids", "battery:battery-level", "battery:charging-state", "battery:voltage", "alarm:alarm", "alarm:volume", "physical-controls-locked:physical-controls-locked", "physical-controls-locked:current-physical-control-lock", "sterilizer-module:sterilizer-module-life-level", "sterilizer-module:sterilizer-module-left-time", "sensor-clean-alert:sensor-clean-alert-life-level", "sensor-clean-alert:sensor-clean-alert-left-time", "mop:mop-life-level", "mop:mop-left-time" ] [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Initializing device actions [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Device actions: [ "vacuum:start-sweep", "vacuum:stop-sweeping", "vacuum:start-only-sweep", "vacuum:start-mop", "vacuum:start-sweep-mop", "vacuum:start-room-sweep", "vacuum:start-vacuum-room-sweep", "vacuum:start-zone-sweep", "vacuum:pause-sweeping", "vacuum:set-room-name", "vacuum:start-build-map", "vacuum:delete-map", "vacuum:merge-rooms", "vacuum:split-room", "vacuum:set-zone", "vacuum:delete-zone", "vacuum:set-zone-clean-configs", "vacuum:get-zone-configs", "vacuum:set-room-clean-configs", "vacuum:get-room-configs", "vacuum:start-dust-arrest", "vacuum:stop-dust-arrest", "vacuum:start-mop-wash", "vacuum:stop-mop-wash", "vacuum:start-dry", "vacuum:stop-dry", "vacuum:start-eject", "vacuum:start-call-clean", "battery:start-charge", "identify:identify", "sterilizer-module:reset-sterilizer-module-life", "sensor-clean-alert:reset-sensor-clean-alert-life", "mop:reset-mop-life" ] [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Successfully created a RobotCleaner device! It is a Unknown robot cleaner device. [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Initializing accessory! [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Accessory successfully initialized! [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Registering 1 accessories! [22/06/2024, 23:40:06] [miot] [Dreame D9 Max] Everything looks good! Initiating property polling!

Also when i try to run vacuum

[22/06/2024, 23:42:55] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.

merdok commented 3 months ago

That actually looks good. You would need to post a log from when you try to control the device. The error which you posted seems unrelated...

maverickrezo commented 3 months ago

Screenshot 2024-06-23 002139

i have logs on status page, should i see logs anywhere else?

maverickrezo commented 3 months ago

That actually looks good. You would need to post a log from when you try to control the device. The error which you posted seems unrelated...

[23/06/2024, 00:37:41] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.

it shows me this

merdok commented 3 months ago

The error does not seem to come from the miot plugin but from the Homebridge Ui plugin. You should re-check that.

maverickrezo commented 3 months ago

The error does not seem to come from the miot plugin but from the Homebridge Ui plugin. You should re-check that.

It appears when i try to use accessory from plugin, all other accessories work well but this doesnt

merdok commented 3 months ago

It still does not help me in any way to identify the potential issue... Hence i am saying that you would need to re-check your settings and configuration.