Controlling a vacuum and retrieving a map are 2 different topics. STYTJ02YM doesn’t support known methods to return a map, so there has to be some breakthrough to make it work.
my log files are flooded wit messages like below, am i right its coming from this integration?
2020-10-19 21:37:35 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated
2020-10-19 21:37:40 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated
No, it is from a lovelace map card.
Thank you for great work again with Xiaomi vacuum. I installed this integration via hacs custom repository. Here is my log error: (my Hass in on docker with Ubuntu 18.04.3 LTS)
What can I do to fix it? Love and thank you!
Logger: homeassistant.util.package
Source: util/package.py:95
First occurred: 11:27:50 AM (1 occurrences)
Last logged: 11:27:50 AM
Unable to install package pybase64: ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3 /usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp97kzmd4x cwd: /tmp/pip-install-erli8it4/pybase64 Complete output (107 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-3.8 creating build/lib.linux-aarch64-3.8/pybase64 copying pybase64/_fallback.py -> build/lib.linux-aarch64-3.8/pybase64 copying pybase64/__init__.py -> build/lib.linux-aarch64-3.8/pybase64 copying pybase64/_license.py -> build/lib.linux-aarch64-3.8/pybase64 copying pybase64/_version.py -> build/lib.linux-aarch64-3.8/pybase64 copying pybase64/__main__.py -> build/lib.linux-aarch64-3.8/pybase64 creating build/lib.linux-aarch64-3.8/pybase64/tests copying pybase64/tests/test_pybase64.py -> build/lib.linux-aarch64-3.8/pybase64/tests copying pybase64/tests/__init__.py -> build/lib.linux-aarch64-3.8/pybase64/tests copying pybase64/tests/test_main.py -> build/lib.linux-aarch64-3.8/pybase64/tests creating build/lib.linux-aarch64-3.8/pybase64/distutils copying pybase64/distutils/__init__.py -> build/lib.linux-aarch64-3.8/pybase64/distutils copying pybase64/distutils/ccompilercapabilities.py -> build/lib.linux-aarch64-3.8/pybase64/distutils running build_ext building 'pybase64._pybase64' extension getting compiler simd support SSSE3: False SSE41: False SSE42: False AVX: False AVX2: False NEON32: False creating 'base64/lib/config.h' creating build/temp.linux-aarch64-3.8 creating build/temp.linux-aarch64-3.8/pybase64 creating build/temp.linux-aarch64-3.8/base64 creating build/temp.linux-aarch64-3.8/base64/lib creating build/temp.linux-aarch64-3.8/base64/lib/arch creating build/temp.linux-aarch64-3.8/base64/lib/arch/generic creating build/temp.linux-aarch64-3.8/base64/lib/tables creating build/temp.linux-aarch64-3.8/base64/lib/arch/ssse3 creating build/temp.linux-aarch64-3.8/base64/lib/arch/sse41 creating build/temp.linux-aarch64-3.8/base64/lib/arch/sse42 creating build/temp.linux-aarch64-3.8/base64/lib/arch/avx creating build/temp.linux-aarch64-3.8/base64/lib/arch/avx2 creating build/temp.linux-aarch64-3.8/base64/lib/arch/neon32 creating build/temp.linux-aarch64-3.8/base64/lib/arch/neon64 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -ljemalloc -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ibase64/include/ -Ibase64/lib/ -I/usr/local/include/python3.8 -c pybase64/_pybase64.c -o build/temp.linux-aarch64-3.8/pybase64/_pybase64.o warning: pybase64_build_ext: building extension "pybase64._pybase64" failed: command 'gcc' failed with exit status 1 installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/pybase64 copying build/lib.linux-aarch64-3.8/pybase64/_fallback.py -> build/bdist.linux-aarch64/wheel/pybase64 copying build/lib.linux-aarch64-3.8/pybase64/__init__.py -> build/bdist.linux-aarch64/wheel/pybase64 copying build/lib.linux-aarch64-3.8/pybase64/_license.py -> build/bdist.linux-aarch64/wheel/pybase64 copying build/lib.linux-aarch64-3.8/pybase64/_version.py -> build/bdist.linux-aarch64/wheel/pybase64 creating build/bdist.linux-aarch64/wheel/pybase64/tests copying build/lib.linux-aarch64-3.8/pybase64/tests/test_pybase64.py -> build/bdist.linux-aarch64/wheel/pybase64/tests copying build/lib.linux-aarch64-3.8/pybase64/tests/__init__.py -> build/bdist.linux-aarch64/wheel/pybase64/tests copying build/lib.linux-aarch64-3.8/pybase64/tests/test_main.py -> build/bdist.linux-aarch64/wheel/pybase64/tests copying build/lib.linux-aarch64-3.8/pybase64/__main__.py -> build/bdist.linux-aarch64/wheel/pybase64 creating build/bdist.linux-aarch64/wheel/pybase64/distutils copying build/lib.linux-aarch64-3.8/pybase64/distutils/__init__.py -> build/bdist.linux-aarch64/wheel/pybase64/distutils copying build/lib.linux-aarch64-3.8/pybase64/distutils/ccompilercapabilities.py -> build/bdist.linux-aarch64/wheel/pybase64/distutils running install_egg_info running egg_info writing pybase64.egg-info/PKG-INFO writing dependency_links to pybase64.egg-info/dependency_links.txt writing entry points to pybase64.egg-info/entry_points.txt writing requirements to pybase64.egg-info/requires.txt writing top-level names to pybase64.egg-info/top_level.txt reading manifest file 'pybase64.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'base64/.git' warning: no previously-included files matching '.*' found anywhere in distribution writing manifest file 'pybase64.egg-info/SOURCES.txt' Copying pybase64.egg-info to build/bdist.linux-aarch64/wheel/pybase64-1.0.2-py3.8.egg-info running install_scripts Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module> main() File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 216, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 253, in run_setup super(_BuildMetaLegacyBackend, File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 145, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 207, in <module> setup( File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/local/lib/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/local/lib/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 328, in run impl_tag, abi_tag, plat_tag = self.get_tag() File "/tmp/pip-build-env-hfevq8v8/overlay/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 278, in get_tag assert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag) AssertionError: would build wheel with unsupported tag ('cp38', 'cp38', 'linux_aarch64') ---------------------------------------- ERROR: Failed building wheel for pybase64 ERROR: Could not build wheels for pybase64 which use PEP 517 and cannot be installed directly WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Home Assistant has started!
Have you tried restarting HA?
Once I enable “camera:” setting in config file, it seems system start with problem, “Check configuration” go forever without finish, also I can’t not restart HA or system from inside HA. I tried to restart HA with docker or even reboot the system but got 2 error logs, one as above and the other is:
Logger: homeassistant.config
Source: config.py:810
First occurred: 11:27:50 AM (1 occurrences)
Last logged: 11:27:50 AM
Platform error: camera - Requirements for xiaomi_cloud_map_extractor not found: ['pybase64'].
Do you have the latest version of HA?
Maybe i’m completely missing something or reading over it. But I cant seem to find “how to install”. I imagine copying the files. But where?. Maybe add it to the readme?
There is a quiet assumption that everybody uses HACS I will add it to README
At first I have HA 0.116.1, then updated to 0.116.4 not solve the problem
Yes, I think problem come from HA and system level. Also I have had your “lovelace-xiaomi-vacuum-map-card” and be happy with “vacuum_send_command_multiple_zones” for months until update to HA 0.114 and later. I don’t know what is problem but if I choose more than 5 zones. The vacuum will stop at the end of 5th zone and not moving to the next batch of zones. It seems the additional zones parameter not stored or transferred to the vacuum as intend. I’m sorry as above off-topic here. I hope you can merge this two awesome integrations in future. thank you.
Changes in scripts (modes) broke this script, thanks for reminding me to fix it I have done it a second ago: fixed version
Sorry I made a mistake, I now found it. Thanks.
No, you didn’t I have added it after your post
I also found it in HACS now. I made a stupid rookie mistake. I didn’t press the + sign. Therefore couldn’t find it
That is great. The vacuum now back to its routines. Thank you
I wanted to use the “font” option. Which fonts are meant? The ones my computer or the Raspi provides, or do I have to put any files on the Raspi?
Right now it only works with ones already available in your OS