merdok / homebridge-miot

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

No readings from connected Roborock S7 (roborock.vacuum.a15) homebridge-miot v0.9.6 #53

Closed Skjall closed 3 years ago

Skjall commented 3 years ago

Hi, I added my new Roborock S7. The device is detected an I can start the cleaning via the Plugin / Homekit. But it seems that the plugin don't get any readings from the device. When it is switched on, the button turns automatically off, even if the device is cleaning. Battery always 0%. Filter indicator always 0%. I've set "deepDebugLog": true but I can't see a difference to the normal log. Logs only appear when homebridge starts

[7/2/2021, 6:07:49 PM] Loaded plugin: homebridge-miot@0.9.6
[7/2/2021, 6:07:49 PM] Registering platform 'homebridge-miot.miot'
[7/2/2021, 6:07:50 PM] [miot] Initializing miot platform...
[7/2/2021, 6:07:50 PM] [miot] Initializing devices
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Got device configuration, initializing device with name: Stoibi
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Device model known: roborock.vacuum.a15! Creating device!
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Initializing device properties
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Initializing device actions
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Device actions: [
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Device successfully created! It is a RobotCleaner device!
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Initializing accessory!
[7/2/2021, 6:07:50 PM] [miot] [Stoibi] Accessory successfully initialized!
[7/2/2021, 6:07:51 PM] [miot] [Stoibi] Connected to device: roborock.vacuum.a15
[7/2/2021, 6:07:51 PM] [miot] [Stoibi] Setting up device!
[7/2/2021, 6:07:51 PM] [miot] [Stoibi] Doing device specific setup
[7/2/2021, 6:07:51 PM] [miot] [Stoibi] Doing initial property fetch
[7/2/2021, 6:07:51 PM] [miot] [Stoibi] Device setup finished! Device ready, you can now control your device!
[7/2/2021, 6:07:52 PM] [miot] [Stoibi] Main brush life level: 0%.
[7/2/2021, 6:07:52 PM] [miot] [Stoibi] Side brush life level: 0%.
[7/2/2021, 6:07:52 PM] [miot] [Stoibi] Filter life level: 0%.
[7/2/2021, 6:07:55 PM] [miot] [Stoibi] Successfully connected to MiCloud!
[7/2/2021, 6:07:55 PM] [miot] [Stoibi] Getting device info from MiCloud!
        {
            "devices": [
                {
                    "name": "Stoibi",
                    "ip": "10.2.10.42",
                    "token": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "deviceId": "123456789",
                    "model": "roborock.vacuum.a15",
                    "pollingInterval": 5,
                    "deepDebugLog": true,
                    "micloud": {
                        "username": "xxx@xxx.de",
                        "password": "xxxxxxx",
                        "country": "de"
                    },
                    "buzzerControl": true,
                    "ledControl": true
                }
            ],
            "platform": "miot"
        }

Thanks

Jan

merdok commented 3 years ago

In order for the deepDebugLog property to have any effect, you need to first start homebridge in debug log as described in the README. Please try that out and check if there are any errors in the debug log.

Besides that as your device supports local command, it is not necessary to specify your MiCloud credentials, although it should not cause any issues.