Ecovacs DEEBOT Ozmo-Series

Hello together,

I was able to solve the problem with the Docker container.
To build the nymphy library the gcc compiler was missing.

After I had installed it, I encountered a new problem. The zlib was missing to build pillow.

I extended the Dockerfile file and was able to build the container successfully.

Now I get cyclic values from my Ozmo T8.

This is what my Dockerfile looks like now:

# For more information, please refer to https://aka.ms/vscode-docker-python
FROM python:3.8-slim-buster

# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1

# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED=1

# Install gcc and libs for pillow
RUN apt-get update
RUN apt-get -y  install gcc python3-dev
RUN apt-get -y install libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
#
# RUN python -m pip install -U --force-reinstall pip

# Install pip requirements
ADD requirements.txt .
RUN python -m pip install -r requirements.txt

WORKDIR /app
ADD . /app

# Switching to a non-root user, please refer to https://aka.ms/vscode-docker-python-user-rights
RUN useradd appuser && chown -R appuser /app
USER appuser

# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
CMD ["python", "main.py"]

Greetings
Peter

It would be so cool, if we were able to adapt a java version and add a binding for this :confused: I hate the setup with python and an actual integration would be really cool.

1 Like

Hallo Peter,

Ich hoffe du verstehst deutsch😅

Ich verzweifle gerade an der Installation mit dem Docker Container.

Es bricht bei mir immer ab, wenn er eine pythonlib 3.7 runtergehen möchte, bzw kann er diese nich downloaden…

Könntest du mal prüfen, ob bei dir aktuell eine Installation möglich ist?!:hugs:

Bei mir soll das ganze auf einem Raspberry Pi4 laufen mit Debian Buster.

Gruß Patrick