bmccluskey / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
115 stars 24 forks source link

Device toggle and ‘Turn On’ button in entity card do not work for 15C and 15C Max #3

Open HumanSkunk opened 1 year ago

HumanSkunk commented 1 year ago

Having an issue where if i use the device toggle in the entity card or if i click turn on within the entity card i get the following error and nothing happens:

[ AB57325B-F703-4E18-B18C-21F5E7EADB38

If i click the start/pause button in the entity card or if call the start/pause vacuum service it starts fine. Is there a reason why the turn on and off commands dont work for either the 15C and 15C Max? I would like to be able to turn them on using the toggle in my Lovelace dashboard but i am unable to. Is this expected behaviour?

bmccluskey commented 1 year ago

Will look into it.

AlexMitrea commented 1 year ago

Same issue here with the G30 using the provided config, can't turn it on. When the vacuum is on I can change the settings such as fan speed and clean mode and stop/pause it, but can't start it again.

HumanSkunk commented 1 year ago

Same issue here with the G30 using the provided config, can't turn it on. When the vacuum is on I can change the settings such as fan speed and clean mode and stop/pause it, but can't start it again.

If you call the service vacuum: start/pause (vacuum.start_pause) you can start the vacuum that way. That is what I am doing.

volcan96 commented 1 year ago

I used the workaround from @HumanSkunk which seems to be working for my X8

Ditskys commented 1 year ago

same issue on my x8, but workarounds work

DNARNA commented 1 year ago

I have the same issue with my 15C so I edited my Lovelace card code to use start_pause for everything (see example below). This isn't really ideal, but at least the buttons on the card all have an effect. When I run the service vacuum.start in the developer tools/services nothing happens, when I use other services like vacuum.stop I get error messages. Forgot to say a huge thank you to bmccluskey for the integration that was super-easy to set up and does work as intended, it's just the lovelace card that isn't working right I think.

It would be awesome if eventually the other commands that work in the eufy app could make their way into this integration. I have a dream of a future where I might be able to turn my dumb 15C into a smart vacuum if I could manually script it to go to a specific room by issuing lots of forward, turn right/turn left commands to navigate it into the right spot and then telling it to start cleaning.

Anyhow, my vacuum card is this currently (replace vacuum.robovac with your vacuum's entity ID):

type: custom:vacuum-card entity: vacuum.robovac image: default show_name: true show_status: true show_toolbar: true actions: start: service: vacuum.start_pause service_data: entity_id: vacuum.robovac pause: service: vacuum.start_pause service_data: entity_id: vacuum.robovac stop: service: vacuum.start_pause service_data: entity_id: vacuum.robovac shortcuts:

wBrhy2 commented 1 year ago

Similar issue with my G30, the toggle does no work, but start_pause does. The problem is that when I try to run automations, it uses the clean command which does not work.

wBrhy2 commented 1 year ago

Found a workaround using a simple script/service call! image

HumanSkunk commented 1 year ago

Was literally writing that as a reply. The plug-in works flawlessly other than that was just really hoping it could be adjusted to work with the standard commands.

wBrhy2 commented 1 year ago

That is a pretty trivial workaround, I am quite happy with it. I just wish I knew how to edit the card to modify where the toggle points! However, it is hit and miss sometimes. Like my vac 1 ran fine a few minutes ago, but vac 2 gets

Stopped because an error was encountered [Errno 111] Connection refused

HumanSkunk commented 1 year ago

I found turning down the refresh helped a number of the unresponsive issues. Think it’s a limitation on the chip in the robovacs. Well atleast in the 15C and 15C Max I have. I can’t remember where the setting is but there is another ticket under closed that I opened back in Oct 2022. I found that decreased the noise these things would generate. Also found closing the Eufy App on whatever devices it’s open on to help as well.