On Step 2 Iāve created a folder under config/custom/components/
called deebot
and I placed the files that you find in the link
Iāve now try to do a pip3 install ozmo
(pip does not work on Hassio) and I get this long log and an error
On Step 2 Iāve created a folder under config/custom/components/
called deebot
and I placed the files that you find in the link
Iāve now try to do a pip3 install ozmo
(pip does not work on Hassio) and I get this long log and an error
custom components live in subfolders under /custom_components/
not /custom/components/
.
So youād need something like /custom_components/ozmo/
Correct, this is my folder, I just wrote here in the wrong form
Lines 54 onwards are for your Yi cam / Yi-Hack-v4 integration. The first 53 or so are the Ozmo ones.
There doesnāt appear to be any error specific to the Ozmo package. Could you try to isolate the ozmo setup without all the other stuff going on? It looks like there are a whole load of things being installed at once:
Installing collected packages: pycryptodome, pyparsing, packaging, atomicwrites, more-itertools, wcwidth, py, zipp, importlib-metadata, pluggy, pytest, pytest-mock, wheel, pprintpp, repoze.lru, coverage, pytest-cov, pycountry, pycountry-convert, paho-mqtt, stringcase, ozmo
I really donāt know how to do itā¦
What better way than giving back the community something in the first post
I did the workaround by myself and at least I can now control the basic things of my D900.
For anyone who wantās to use this too, Iāve published the modified files as gist:
__init__.py
, manifest.json
and vacuum.py
to config/custom_components/deebot
deebot
component to configuration.yaml
(example in gist)@woody4165
as far as I can see -
requirement ozmo==0.9.4
should be requirement ozmo==1.0
1st Edith says:
As this post is now marked as solution, credits should also go to @Ligio for providing the fixed pip library
Iāll try later at home with my deboot 930, do you have any way to obtain correct country and continent?
Not now. This code automatically pulls in the new ozmo library via Home Assistant. If I understand correctly, when done like this, anything on PyPi can be imported into HA semi-automatically. EG: if you tell HA whatās needed it can grab it from PyPi.
So, no more error during check, but no deebot
device created.
BTW, I have an Ecovacs Ozmo 900
This is my log
2019-08-28 17:34:41 DEBUG (SyncWorker_6) [custom_components.deebot] Ecobot devices: [{'did': 'xxxxxx', 'name': 'E0001206219600470017', 'class': 'y79a7u', 'resource': '4RcC', 'nick': None, 'company': 'eco-ng', 'bindTs': 1566489318735, 'iotmq': True}]
2019-08-28 17:34:41 INFO (SyncWorker_6) [custom_components.deebot] Discovered Ecovacs device on account: xxxxxx with nickname None
2019-08-28 17:34:41 DEBUG (SyncWorker_6) [custom_components.deebot] Starting vacuum components
2019-08-28 17:34:45 DEBUG (SyncWorker_5) [custom_components.deebot.vacuum] Vacuum initialized: 22d8d3a2-5ef7-4637-82ad-43cd78f00408
2019-08-28 17:34:45 DEBUG (SyncWorker_5) [custom_components.deebot.vacuum] Adding Ecovacs Vacuums to Hass: [<Entity 22d8d3a2-5ef7-4637-82ad-43cd78f00408: off>]
It seems all ok, but searching for deebot or ecovacs in the entity name or attributes, nothing is found
This is my configuration.yaml
#ecovacs:
deebot:
username: !secret ecovacs_username
password: !secret ecovacs_password
country: it
continent: eu
Did you copy the files in the Gist linked to above?
Did you restart Home Assistant?
Have you checked the āunused entitiesā page to see if a āVacuumā section is present?
P.s. The last two lines of your log indicate that the Ozmo device has actually been added to your system.
Awesome thanks! Only works for me when using US/NA instead of NL/EU, but it works regardless.
Absolutely correct - I had nothing to install / manually doings.
@SolTroy Thanks for choosing this thread to start your HA community posting. I think youāve just made things easier for many many people.
Yes, copied the raw files in the custom_components/deebot folder
And yes, restart HA because configuration.yaml changed, checked and restarted.
The last tips showed me the entity name that was the one that I replaced in the log with xxxxx. So itās the did
field
Now I changed the entity name and this is the result
Thanks!!!
Trying now with hassio. First time I push Start my 930 starts to clean, then I press return home, perfect. Now itās charging but status that shows in ha is auto. Donāt refresh this status then i canāt start cleaning again.
Guess thatās the issue mentioned on sucks github readme,
If it doesn't appear to work for your continent, try "ww", their world-wide catchall.
@Phill_Healey THX - Iām pretty sure there will be more , ATM Iām just ādeep-divingā into HA (coming from openHab)
Like most things in HA, you need to give it some time to update. This can be almost instant on one occassion then time out on another. Eitherway clicking lots of buttons in the hope of somehow rectifying it, just adds to the load and makes things worse. Just restart HA and give your system some time between updates to the Ecovac. Hopefully it should rectify itself shortly. Everyone else here seems to be getting this working ok.
The flurry of activity over the last 30mins or so is amazing. It shows just how many people have been desperate to get their Ozmo working in HA.
Welcome to HA and PLEASE stick around.
ok sorry, iām impacient after a couple of minutes status changed to charging perfectly.