Skip to content
New issue

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

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

Already on GitHub? # to your account

Vacuum Cleaner reports as off when it is actually on #13

Closed
apexad opened this issue May 28, 2020 · 6 comments
Closed

Vacuum Cleaner reports as off when it is actually on #13

apexad opened this issue May 28, 2020 · 6 comments

Comments

@apexad
Copy link
Owner

apexad commented May 28, 2020

Just wanted to put this here in case anyone else experiences this issue.

This causes a problem with the 'turn off to return home' feature of the plugin. There is a workaround where you can simply click it back on and then Off again and the Vacuum will return to the base station after several beeps. However, this is not ideal.

In reviewing why this is occurring it seems like the get function is for some reason returning undefined at times and I have yet to figure out why.

@MonsterEnergy-wtf
Copy link

I realized the same issue that devices are not shown as active.

Also I suggest to test this plugin more with Linux. Not sure what it causes but by homebridge server still says disconnected to eufies (I own 3 of them) until I restart it. After that the eufies are connected.
May it be that the plugin causes some unexpected behavior to connections? Maybe they cannot be refreshed or something like that?

As I mentioned: once I restart the service homebridge, everything works as expected. I don't have any other plugins installed than eufy robovacs.

@apexad
Copy link
Owner Author

apexad commented May 31, 2020

I realized the same issue that devices are not shown as active.

Also I suggest to test this plugin more with Linux. Not sure what it causes but by homebridge server still says disconnected to eufies (I own 3 of them) until I restart it. After that the eufies are connected.
May it be that the plugin causes some unexpected behavior to connections? Maybe they cannot be refreshed or something like that?

As I mentioned: once I restart the service homebridge, everything works as expected. I don't have any other plugins installed than eufy robovacs.

Don’t think Linux has anything to do with it. It is related to how the NodeJS Tuya API is used by this plugin.

Also, keep in mind that only 1 connection to the Vacuum is allowed at a time, so opening the app on your phone or tablet can cause unexpected results. Otherwise, yes I have found that restarting homebridge fetches the status of the Vacuum in a different way and this may then allow Home app to correctly report them as on.

Just to note, if you have a HomePod, giving it Turn on/Turn off commands work as expected. This is just when using the Home app. You will need to then the Vacuum back on (even when it is actually on but incorrectly reporting as off), then turn it off to send it back home. Should not need to restart Homebridge.

@MonsterEnergy-wtf
Copy link

MonsterEnergy-wtf commented Jun 10, 2020

For me it seems that version 1.3.1 fixed the issue with wrong status.

Also I restart homebridge every 15 minutes to pull data correctly. Automation works as expected.

@apexad
Copy link
Owner Author

apexad commented Jun 11, 2020

This is not resolved. It is because you are restarting Homebridge every 15 minutes which is something I do not recommend.

@MonsterEnergy-wtf
Copy link

Yes, but I disabled the automatic restart of homebridge for several days and it turned out that the Eufies became unresponsible. So I basically return back to the workaround I had in the past and hope that unresponsible devices are gone. It is definitely not the best way to resolve it but it is better to make it that way than having trouble with Homebridge and the Eufy Plugin.

@apexad
Copy link
Owner Author

apexad commented Jun 14, 2020

I'm woking on a total re-write of this homebridge plugin to fix this issue. No ETA, but soon.

@apexad apexad closed this as completed in 5e11072 Jun 15, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants