onfoot / homebridge-valetudo-xiaomi-vacuum

A Homebridge plugin for Xiaomi/Roborock vacuum cleaners running Valetudo
MIT License
31 stars 9 forks source link

Any News? Plugin slows down Homebridge, doesn't work good #17

Open T-Bone90 opened 3 years ago

T-Bone90 commented 3 years ago

Hi do you have any news for use with a new version? At the moment the plugins slows down Homebridge extreme. And we always get the message "Refresh" and the Switch does not work properly.

Thank you for the good work :-)

onfoot commented 3 years ago

I actually have a new version almost working, because I refactored it so that "official" and RE vacuum implementations are completely separate so it's easier to maintain, and potentially being able to move towards a homebridge platform instead of an accessory, so it can dynamically add and remove "buttons" for e.g. areas or sections/rooms.

I haven't tested it thoroughly yet though, but it means checking both valetudo variants, and somehow I'm currently locked out of the printer, even though Valetudo is currently working nicely there, but I can't log in to exchange firmwares. So will try to do that in the following days!

Dima-Kal commented 3 years ago

I actually have a new version almost working, because I refactored it so that "official" and RE vacuum implementations are completely separate so it's easier to maintain, and potentially being able to move towards a homebridge platform instead of an accessory, so it can dynamically add and remove "buttons" for e.g. areas or sections/rooms.

I haven't tested it thoroughly yet though, but it means checking both valetudo variants, and somehow I'm currently locked out of the printer, even though Valetudo is currently working nicely there, but I can't log in to exchange firmwares. So will try to do that in the following days!

Do you need help testing the new version?

onfoot commented 3 years ago

By all means! If you can, grab the plugin version from the feature/valetudo-2021 branch and go ahead. I'll be grateful for any feedback.

Dima-Kal commented 3 years ago

By all means! If you can, grab the plugin version from the feature/valetudo-2021 branch and go ahead. I'll be grateful for any feedback.

Can you share how to take this branch in homebridge? tried to Google it but couldn't find info (other than hoobs)

onfoot commented 3 years ago

Actually, let me get back to you soon as I think there's a way to publish beta versions to npm so one can install such version explicitly, instead of messing around with git and a local homebridge plugin install.

Dima-Kal commented 3 years ago

Actually, let me get back to you soon as I think there's a way to publish beta versions to npm so one can install such version explicitly, instead of messing around with git and a local homebridge plugin install.

Hi, any update on the beta option?

onfoot commented 3 years ago

Hi! Sorry it took ages to do this. The beta is up! You can install it by running npm install homebridge-valetudo-xiaomi-vacuum@beta

diveflo commented 3 years ago

FYI: If you're using Homebridge UI you can use the (unfortunately named) "Install previous version" button to install the beta as well. image

I'll give the beta a try as well and report any issues I encounter:)

onfoot commented 3 years ago

Thanks, that's a good tip. I need to get around to making the plugin nicer to configure using the UI too!

T-Bone90 commented 1 year ago

Unfortunately I still get the message:

[3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'Firmware Revision' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'Status Low Battery' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'Battery Level' was slow to respond! See https://homebridge.io/w/JtMGR for more info. [3.5.2023, 07:32:35] [homebridge-valetudo-xiaomi-vacuum] This plugin slows down Homebridge. The read handler for the characteristic 'Charging State' was slow to respond! See https://homebridge.io/w/JtMGR for more info.