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

Does this support selecting rooms? #20

Open
miguelpruivo opened this issue Sep 13, 2021 · 8 comments
Open

Does this support selecting rooms? #20

miguelpruivo opened this issue Sep 13, 2021 · 8 comments

Comments

@miguelpruivo
Copy link

I’m planning to root my S50, however, I’m used to use the rooms switches in the HK which really comes in handy (I just have to ask Siri to clean room X which is much faster than going to the MiApp). However, I don’t see in the docs here any reference to room support, do you have any plans? Thank you.

@onfoot
Copy link
Owner

onfoot commented Sep 13, 2021

Hey! I do have a plan to add rooms/zones as additional switches, but simply don't have time to do it currently. As soon as I figure out the Valetudo RE incompatibility, I'll most likely get on it, since it's something I'd like too.

@miguelpruivo
Copy link
Author

Is it easy to add? I can issue a PR but never created a homebridge plugin myself despite being a developer as well. Where can I find the Valetudo API? Does it work with Valetudo or does it have an issue as well?

@miguelpruivo
Copy link
Author

miguelpruivo commented Oct 13, 2021

@onfoot I'd like to help you out on this one, could you give me some directions?

@miguelpruivo
Copy link
Author

@onfoot is this project abandoned? 😔

@onfoot
Copy link
Owner

onfoot commented Dec 19, 2021

Sorry I keep giving this impression over and over again, but it's not abandoned at all! I just haven't had much time for this recently. But as I mentioned in the other issue, I have RE with actually working root access on my device now, so I'll be able to test out some stuff.

As for room selection, I've been thinking about it a bit and I think this plugin would have to be converted to a platform, so it can dynamically add and remove rooms, once they're updated on the device. Then it's just a matter of asking the vacuum API about the rooms available. I don't know if one can find out whether the vacuum is working in a chosen room currently, I'd have to check this.

However, official Valetudo's API is documented pretty nicely, but for RE you'd have to dig through the web client code which contains a client library.

@miguelpruivo
Copy link
Author

miguelpruivo commented Dec 19, 2021

Hi! No problem. Right now I’ve been able to have it all working through mqttthing. It’s a bit of trial & error but gets the job done.

nevertheless, even without the rooms feature this plugin wasn’t working for me as it is for the latest Valetudo version.

@AlexKLMan
Copy link

Love this plugin, thank you so much, I too would love a room selection, so I can put a clean button in each room within the Home app :)

@AlexKLMan
Copy link

Hi both, do we have any updates regarding the room cleaning?
Thank you!

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

No branches or pull requests

3 participants