Bubba8291 / homebridge-sharkiq

A Homebridge plugin to connect your Shark Vacuum to homebridge.
Apache License 2.0
9 stars 1 forks source link

Vacuum stops cleaning - add option to enable logging? #15

Open Hololinked opened 8 months ago

Hololinked commented 8 months ago

Is your feature request related to a problem? Please describe:

Sometimes the vaccuum only runs a couple of minutes before returning to the dock. I do not know what causes this.

Describe the solution you'd like:

I think first thing that is needed is the option to toggle logging with a way to identify what caused the vaccuum to stop the cleaning session; i.e, was it's own decision (shark issue); was it due to the plugin; or was it due to Apple home (apple issue).

Describe alternatives you've considered:

Additional context:

It really seems to be hit or miss whether the vacuum will finish a cleaning session or stop early. The vaccuum is perfectly maintained by the way.

Bubba8291 commented 8 months ago

I was considering adding the option to have an optional sensor that is on when the vacuum is in an error state. With the nature of HomeKit, it's hard to display specific errors. So when I add this, it would be a sensor object that's on when there's an error.

Something I could add though is a trigger to run a script or webhook when the vacuum is in an error state, which could include the specific error.

Hololinked commented 8 months ago

Yeah, I'm not sure! Have you experienced the issue that I have described? I've been using this plug-in ever since you released it and that is the only issue that I've had.

If you're referring to errors as reported by the vacuum unit itself (dust cup full, etc), I'm not sure that it would help in this case because it doesn't tell me of any errors. It simply stops and returns to the dock as though it's finished the session or told to stop cleaning.

It happened to me twice in a row just now when I asked Siri to run it, with it returning itself to the dock about five minutes (it takes around 25 minutes to run a full session). I then tried a third time by activating it manually in the Home app, and it succeeded.

Regardless, just want to take this opportunity to thank you for this plug-in. It is an absolute godsend and 1000 times more stable than the Home Assistant plug-in I was using before.