Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Request for Viomi Alpha 2 Pro (viomi.vacuum.v40) #648

Open
selmanferid opened this issue Dec 16, 2024 · 3 comments
Open

Support Request for Viomi Alpha 2 Pro (viomi.vacuum.v40) #648

selmanferid opened this issue Dec 16, 2024 · 3 comments
Labels
new device Request new device support

Comments

@selmanferid
Copy link

Device model
viomi.vacuum.v40

Device name
Viomi Alpha 2 Pro

Does the device require a MiCloud connection?
Yes

Anything special about the device?
The device partially works with the plugin. It responds to the auto-created switch, but it does not respond to manually created action buttons or controls.

Thank you for your time and effort in maintaining this plugin. I appreciate your help!

@selmanferid selmanferid added the new device Request new device support label Dec 16, 2024
@merdok
Copy link
Owner

merdok commented Dec 16, 2024

Can you please provide your config with the manually created action buttons and control so i can verify them?

@selmanferid
Copy link
Author

selmanferid commented Dec 16, 2024

"actionButtons": [
    {
        "action": "4.13",
        "name": "Oturma Odasını Süpür",
        "params": [
            "0",
            "1",
            "6"
        ]
    },
    {
        "action": "4.13",
        "name": "Mutfağı Süpür",
        "params": [
            "0",
            "1",
            "7"
        ]
    },
    {
        "action": "4.13",
        "name": "Salon Süpür",
        "params": [
            "0",
            "1",
            "8"
        ]
    }
]

The buttons for room-specific cleaning are visible in HomeKit, but when I press them, nothing happens. Similarly, the mode buttons (created using the default settings with propertyControl) are also not working.

However, the auto-created switch works fine, and it can start cleaning the vacuum.

Let me know if you need additional logs, details, or further testing.

Thank you again for your help!

@merdok
Copy link
Owner

merdok commented Dec 16, 2024

The room cleaning is usually tricky and it varies from device to device and as i do not own a Viomi it is hard for me to do here anything. But what i already can see that might be a problem is that the params should be integers and not strings as in your example. The miot protocol is quite strict regarding the value types so you always should also check the Format. Also the ui always only uses string for params, so you should enter those manually in the config in the correct format.

As for the mode, which exactly property is it? And what does the debug log say if you try to set it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device Request new device support
Projects
None yet
Development

No branches or pull requests

2 participants