robovac icon indicating copy to clipboard operation
robovac copied to clipboard

Entities not populating with Eufy L60

Open rickadam opened this issue 2 years ago • 47 comments
trafficstars

I have a Eufy L60. When I configure the integration I do get an IP but none of the entities populate in home assistant apart from:

sensor.robovac_battery

which shows as unavailable

Any ideas why this may happen? I've tried removing and re-adding the integration and reconfiguring the vac a couple of times

rickadam avatar Nov 16 '23 13:11 rickadam

Do you know the model number of the L60? Is there anything in the logs?

On Thu, 16 Nov 2023 at 13:38, rickadam @.***> wrote:

I have a Eufy L60. When I configure the integration I do get an IP but none of the entities populate in home assistant. Any ideas why this may happen? I've tried removing and re-adding the integration and reconfiguring the vac a couple of times

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVC2YBFSDQXN7HW44CDYEYJOBAVCNFSM6AAAAAA7OFRPQSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TMOBXGY4DQNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

CodeFoodPixels avatar Nov 16 '23 14:11 CodeFoodPixels

I've found it now, it's T2267

On Thu, 16 Nov 2023, 14:35 Luke Bonaccorsi, @.***> wrote:

Do you know the model number of the L60? Is there anything in the logs?

On Thu, 16 Nov 2023 at 13:38, rickadam @.***> wrote:

I have a Eufy L60. When I configure the integration I do get an IP but none of the entities populate in home assistant. Any ideas why this may happen? I've tried removing and re-adding the integration and reconfiguring the vac a couple of times

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/40, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABEPFVC2YBFSDQXN7HW44CDYEYJOBAVCNFSM6AAAAAA7OFRPQSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TMOBXGY4DQNI>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/40#issuecomment-1814555943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZE3IG6B6AYH7ZFADGXTMTYEYQEFAVCNFSM6AAAAAA7OFRPQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGU2TKOJUGM . You are receiving this because you authored the thread.Message ID: @.***>

rickadam avatar Nov 16 '23 15:11 rickadam

Ah, the L60 is a new device, it's not in the supported list at the moment. I'll need to add it

CodeFoodPixels avatar Nov 16 '23 15:11 CodeFoodPixels

Hi,

I have the same issue with the L60. However i also have an X8 that was working until i added the L60 to the app and HA pulls it in then both devices get only the battery sensor and show as unavailable and the X8 no longer works. Is that expected due to the L60 not being supported? Any ideas on when the L60 can be added?

DellBoy4 avatar Nov 17 '23 15:11 DellBoy4

Plus 1 for the request on this being supported. Just ordered one on the black Friday early sales.

iandarbey avatar Nov 17 '23 16:11 iandarbey

I have the same issue with x8 pro

wardozer avatar Nov 23 '23 13:11 wardozer

@CodeFoodPixels Also looking for support for the L60, is it in your future plans?

jb123567 avatar Nov 28 '23 03:11 jb123567

Ah, the L60 is a new device, it's not in the supported list at the moment. I'll need to add it

I added the T2267 model to the L series section in robovac.py, but no joy. Is there more to adding a device than just adding the model number? I'm happy to attempt a code change and contribute, but not entirely clear how the code all hangs together.

stewartpriest avatar Dec 12 '23 22:12 stewartpriest

Ah, the L60 is a new device, it's not in the supported list at the moment. I'll need to add it

I added the T2267 model to the L series section in robovac.py, but no joy. Is there more to adding a device than just adding the model number? I'm happy to attempt a code change and contribute, but not entirely clear how the code all hangs together.

I have added it to the supported list in the file and it now displays correctly, and is communicating with HA according to the logs, however it reports unavailable unfortunately, it seems as though there may be some deeper issues following a recent firmware update where the Robovacs are sending unknown strings back.

jb123567 avatar Dec 13 '23 01:12 jb123567

Following since my L60 is also not working

NiekBrw avatar Dec 17 '23 13:12 NiekBrw

Anyone got anywhere with this? I'm wondering if the latest firmware update has changed the code?

jb123567 avatar Dec 31 '23 20:12 jb123567

I have started a fork looking at the L60.

It currently only supports battery, fan level and auto home (and voice level but not sure the rest of the integration supports it).

If you try it out there will be logs showing what messages are received.

It would be good if people can try and correlate the values with settings in the app as I currently don't have much time.

Be careful sending the base64 strings (look like jumbled text) as e.g. message 176 has at least your WIFI name in it.

TomG736 avatar Jan 15 '24 23:01 TomG736

I have started a fork looking at the L60.

It currently only supports battery, fan level and auto home (and voice level but not sure the rest of the integration supports it).

If you try it out there will be logs showing what messages are received.

It would be good if people can try and correlate the values with settings in the app as I currently don't have much time.

Be careful sending the base64 strings (look like jumbled text) as e.g. message 176 has at least your WIFI name in it.

I have installed, the battery level now reports correctly, however the RoboVac itself reports as unavailable. I assume yours is working as expected with limited functionality?

jb123567 avatar Jan 16 '24 18:01 jb123567

I have started a fork looking at the L60. It currently only supports battery, fan level and auto home (and voice level but not sure the rest of the integration supports it). If you try it out there will be logs showing what messages are received. It would be good if people can try and correlate the values with settings in the app as I currently don't have much time. Be careful sending the base64 strings (look like jumbled text) as e.g. message 176 has at least your WIFI name in it.

I have installed, the battery level now reports correctly, however the RoboVac itself reports as unavailable. I assume yours is working as expected with limited functionality?

Unfortunately thats the current state of it. It looks like all the commands have changed.

TomG736 avatar Jan 16 '24 18:01 TomG736

@TomG736 okay, how can I help?

jb123567 avatar Jan 16 '24 18:01 jb123567

Give me a few days to poke around with it and I'll let you know how it goes.

TomG736 avatar Jan 16 '24 19:01 TomG736

Give me a few days to poke around with it and I'll let you know how it goes.

Looking great already, the states seem to be working now!!

jb123567 avatar Jan 20 '24 20:01 jb123567

I'm seeing the reported behavior on a new vacuum/install into HA today. Please let me know if I can test any available fixes, and thank you so much for all your contributions!

MerekW avatar Jan 28 '24 21:01 MerekW

@CodeFoodPixels is the L60 supported within the latest releases? I'm getting an error


2024-03-01 19:50:50.635 ERROR (MainThread) [homeassistant.components.vacuum] Error while setting up robovac platform for vacuum

Edited with full error


Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/robovac/vacuum.py", line 128, in async_setup_entry
    entity = RoboVacEntity(item)
             ^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/robovac/vacuum.py", line 296, in __init__
    self._attr_supported_features = self.vacuum.getHomeAssistantFeatures()
                                    ^^^^^^^^^^^
AttributeError: 'RoboVacEntity' object has no attribute 'vacuum'

jb123567 avatar Mar 01 '24 20:03 jb123567

Give me a few days to poke around with it and I'll let you know how it goes.

Did you get anywhere? The coding is way beyond me!!

jb123567 avatar Mar 08 '24 21:03 jb123567

I haven't had much more time to look at it. I'm not sure on the next steps to get the controls working. I may work more on some of the status reporting and getting it in a state that could be merged back in to the rest of the project.

TomG736 avatar Mar 10 '24 17:03 TomG736

So I've been working on a new branch better-dps that gives each vacuum it's own file to define the command codes. If you run this repo, you'll get a JSON blob of the schema, which contains the commands.

CodeFoodPixels avatar Mar 12 '24 01:03 CodeFoodPixels

How well tested is that branch? Is it worth me making a config for the L60 off it or is it too early to test it out?

That python code worked a dream. Would have been much easier than my original method of trawling through the logs and matching the log output to the robot behaviour.

TomG736 avatar Mar 12 '24 21:03 TomG736

There are definitely some things I still need to do, but I've been running it for like a week now with no issues

On Tue, 12 Mar 2024, 21:40 Tom Grant, @.***> wrote:

How well tested is that branch? Is it worth me making a config for the L60 off it or is it too early to test it out?

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/40#issuecomment-1992632801, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVBFXFZOSLSJ77OSTNDYX5Y35AVCNFSM6AAAAAA7OFRPQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJSGYZTEOBQGE . You are receiving this because you were mentioned.Message ID: @.***>

CodeFoodPixels avatar Mar 13 '24 21:03 CodeFoodPixels

Now i have updated beyond the version i was on which was old (1.1.1) my X8 has stopped working and now only shows the battery entity but as unavailable. My L60 also doesn't work and shows the same 1 entity. I have tried downgrading but unless i do a restore of HA back to that version i cannot get even the X8 to pick up. I have also tried it on a fresh install of HA and get the same behaviour. I saw a comment on another issue about trying the DPS builds but i get the same thing. Any ideas?

DellBoy4 avatar Mar 19 '24 13:03 DellBoy4

Now i have updated beyond the version i was on which was old (1.1.1) my X8 has stopped working and now only shows the battery entity but as unavailable. My L60 also doesn't work and shows the same 1 entity. I have tried downgrading but unless i do a restore of HA back to that version i cannot get even the X8 to pick up. I have also tried it on a fresh install of HA and get the same behaviour. I saw a comment on another issue about trying the DPS builds but i get the same thing. Any ideas?

The L60 is not (yet) supported, not in the main branch and not in the better-dps branch.

jbleyaert avatar Mar 19 '24 14:03 jbleyaert

I get that but why would that stop the X8 that was working working and remove all the entities for it bar the battery which shows as unavailable?

DellBoy4 avatar Mar 21 '24 11:03 DellBoy4

@DellBoy4 try the latest version,

CodeFoodPixels avatar Mar 22 '24 00:03 CodeFoodPixels

Hi, I tried the latest build 1.2.10 and had the same issue. Also tried it on a fresh install not having the integration installed before and get the same thing. I get this error repeatedly.

2024-03-22 07:41:09.760 ERROR (MainThread) [homeassistant.components.vacuum] Error while setting up robovac platform for vacuum
File "/config/custom_components/robovac/vacuum.py", line 116, in async_setup_entry
entity = RoboVacEntity(item)
File "/config/custom_components/robovac/vacuum.py", line 284, in __init__
AttributeError: 'RoboVacEntity' object has no attribute 'vacuum'

If im being stupid and something has changed that I've missed please let me know, thanks.

DellBoy4 avatar Mar 22 '24 08:03 DellBoy4

Just commenting to follow & say that if you need someone to test with an L60 - Happy to do so. Just bought one without doing research into the integration side of things (lame!) Keep up the awesome work all.

Mint514 avatar Mar 22 '24 15:03 Mint514