Page 17 of 18

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Tuesday 16 December 2025 19:59
by Xenomes
Do you have Bookworm or Trixie?
How are you running Domiticz local or docker?

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Wednesday 17 December 2025 7:15
by DomoticzRob
Hi all,

New to this forum but in the meantime many years enjoying Domoticz!
I started with Domoticz on my NAS, later to Raspberry PI but now for a couple of years on Windows (2025.1 version) which works for me very well as I'm not such a Linux guy.
My latest hardware connected to Domoticz is a Tuya thermostat which I like very well. The Tuya app is superb and access to the cloud work good.
But my wish is to automatically set a temperature from Domoticz.
So, I installed Python 32 bit V3.10 and of course the TinyTuya plugin.
This was not much of a struggle, Domoticz sees the hardware and my device variables.
The actual temperature is read and within a couple of minutes I see changes of the actual value and set value on my Domoticz.
Note that temperature set value was done on the thermostat or via the Tuya app (see question 1).

Now the questions:
1. When I change the set value from Domoticz, the changed value never reaches the thermostat.
The thermostat keeps it old value.

2: Not always is the actual temperature value "actual". The "Last Seen" value is sometimes way back...

3: Log errors:
I do have some errors:
Error: (JSONtoPython) failed to add item '-1', to list for string.
Error: Tuya: Domoticz.Configuration read failed: <built-in function Configuration> returned a result with an exception set
Error: Tuya: Device read failed: bf0fa6dfdcb9523a1cqgjw

What can possibly go wrong?

My data:
Windows 10
Domoticz cersion: 2025.1
Build Hash: 89d5c900d
Compile Date: 2025-05-05 09:02:49
dzVents Version: 3.1.8
Python Version: 3.10.0 (tags/v3.10.0:b494f59, Oct 4 2021, 18:46:30) [MSC v.1929 32 bit (Intel)]

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Wednesday 17 December 2025 10:34
by jmd33
I have PiOS Trixie and local Domoticz 2025.2
but I can reformat to Bookworm (or older !) if necessary

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Wednesday 17 December 2025 19:21
by Xenomes
DomoticzRob wrote: Wednesday 17 December 2025 7:15 Now the questions:
1. When I change the set value from Domoticz, the changed value never reaches the thermostat.
The thermostat keeps it old value.
2: Not always is the actual temperature value "actual". The "Last Seen" value is sometimes way back...
3: Log errors:
I do have some errors:
Error: (JSONtoPython) failed to add item '-1', to list for string.
Error: Tuya: Domoticz.Configuration read failed: <built-in function Configuration> returned a result with an exception set
Error: Tuya: Device read failed: bf0fa6dfdcb9523a1cqgjw
What can possibly go wrong?
Did you put the device on DP instructions? If No, change it as instcucted in de pdf and restart Domoticz and test again. If Yes, can you run the debug_discoverty.py from the tools directory and make a issue on https://github.com/Xenomes/Domoticz-Tin ... gin/issues and add the dump.json file to the issue.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Wednesday 17 December 2025 19:26
by Xenomes
jmd33 wrote: Wednesday 17 December 2025 10:34 I have PiOS Trixie and local Domoticz 2025.2
but I can reformat to Bookworm (or older !) if necessary
Okay, I test it last night on Trixie indeed the == version where a issue, but the code without == worked. Did you use sudo to install the pip3 modules?
Domoticz is running local as super user. without sudo they are installed under the user and not het root (super user).

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Thursday 18 December 2025 8:05
by DomoticzRob
Thnx Xenomes,

I created an issue with the error messages in Domoticz log and the dump file.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Wednesday 21 January 2026 19:53
by Varazir
I'm getting this, I just updated

Code: Select all

2026-01-21 19:51:47.496 Error: TinyTUYA: Fatal error during Tuya initialization: Failed to initialize Tuya Cloud API: name 'requests' is not defined
2026-01-21 19:51:47.498 Error: TinyTUYA: handleThread: Failed to initialize Tuya Cloud API: name 'requests' is not defined line 1044

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Friday 23 January 2026 19:37
by Xenomes
Varazir wrote: Wednesday 21 January 2026 19:53 I'm getting this, I just updated

Code: Select all

2026-01-21 19:51:47.496 Error: TinyTUYA: Fatal error during Tuya initialization: Failed to initialize Tuya Cloud API: name 'requests' is not defined
2026-01-21 19:51:47.498 Error: TinyTUYA: handleThread: Failed to initialize Tuya Cloud API: name 'requests' is not defined line 1044
That is a strange one. requests is part of Tinytuya, and on my three test systems I don't have the error. I have added it to the import of the plugin. Hopefully the error is gone now. Version 2.3.6c

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Friday 23 January 2026 22:16
by Varazir
Xenomes wrote: Friday 23 January 2026 19:37
Varazir wrote: Wednesday 21 January 2026 19:53 I'm getting this, I just updated

Code: Select all

2026-01-21 19:51:47.496 Error: TinyTUYA: Fatal error during Tuya initialization: Failed to initialize Tuya Cloud API: name 'requests' is not defined
2026-01-21 19:51:47.498 Error: TinyTUYA: handleThread: Failed to initialize Tuya Cloud API: name 'requests' is not defined line 1044
That is a strange one. requests is part of Tinytuya, and on my three test systems I don't have the error. I have added it to the import of the plugin. Hopefully the error is gone now. Version 2.3.6c
Did a git pull and restarted domoticz docker

Code: Select all

2026-01-23 22:15:20.728 Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/:/opt/domoticz/userdata/Domoticz_Python_Environment:/opt/venv/lib/python3.11/site-packages:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/opt/venv/lib/python3.13/site-packages:/opt/venv/local/lib/python3.13/dist-packages:/opt/venv/lib/python3/dist-packages:/opt/venv/lib/python3.13/dist-packages'.
2026-01-23 22:15:20.797 Error: TinyTUYA: Traceback (most recent call last):
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 73, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import requests
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/requests/__init__.py", line 43, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import urllib3
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/__init__.py", line 7, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/connectionpool.py", line 11, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .exceptions import (
2026-01-23 22:15:20.798 Error: TinyTUYA: ...<13 lines>...
2026-01-23 22:15:20.798 Error: TinyTUYA: )
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/exceptions.py", line 2, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
2026-01-23 22:15:20.798 Error: TinyTUYA: ModuleNotFoundError: No module named 'urllib3.packages.six.moves'

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Friday 23 January 2026 22:25
by Xenomes
Varazir wrote: Friday 23 January 2026 22:16 Did a git pull and restarted domoticz docker

Code: Select all

2026-01-23 22:15:20.728 Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/:/opt/domoticz/userdata/Domoticz_Python_Environment:/opt/venv/lib/python3.11/site-packages:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/opt/venv/lib/python3.13/site-packages:/opt/venv/local/lib/python3.13/dist-packages:/opt/venv/lib/python3/dist-packages:/opt/venv/lib/python3.13/dist-packages'.
2026-01-23 22:15:20.797 Error: TinyTUYA: Traceback (most recent call last):
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 73, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import requests
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/requests/__init__.py", line 43, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import urllib3
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/__init__.py", line 7, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/connectionpool.py", line 11, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .exceptions import (
2026-01-23 22:15:20.798 Error: TinyTUYA: ...<13 lines>...
2026-01-23 22:15:20.798 Error: TinyTUYA: )
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/exceptions.py", line 2, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
2026-01-23 22:15:20.798 Error: TinyTUYA: ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
Python 3.13 are you in trixie? if so there is part on the Readme for Trixie, that includes the install of the missing urllib3 python module.
Schermafdruk van 2026-01-23 22-22-40.png
Schermafdruk van 2026-01-23 22-22-40.png (14.19 KiB) Viewed 92 times

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Friday 23 January 2026 23:12
by Varazir
Xenomes wrote: Friday 23 January 2026 22:25
Varazir wrote: Friday 23 January 2026 22:16 Did a git pull and restarted domoticz docker

Code: Select all

2026-01-23 22:15:20.728 Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/:/opt/domoticz/userdata/Domoticz_Python_Environment:/opt/venv/lib/python3.11/site-packages:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/opt/venv/lib/python3.13/site-packages:/opt/venv/local/lib/python3.13/dist-packages:/opt/venv/lib/python3/dist-packages:/opt/venv/lib/python3.13/dist-packages'.
2026-01-23 22:15:20.797 Error: TinyTUYA: Traceback (most recent call last):
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 73, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import requests
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/requests/__init__.py", line 43, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import urllib3
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/__init__.py", line 7, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/connectionpool.py", line 11, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .exceptions import (
2026-01-23 22:15:20.798 Error: TinyTUYA: ...<13 lines>...
2026-01-23 22:15:20.798 Error: TinyTUYA: )
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/exceptions.py", line 2, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
2026-01-23 22:15:20.798 Error: TinyTUYA: ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
Python 3.13 are you in trixie? if so there is part on the Readme for Trixie, that includes the install of the missing urllib3 python module.
Schermafdruk van 2026-01-23 22-22-40.png
I have run this this since I reinstalled using Docker. Something has happen with.
I'll test installing

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Friday 23 January 2026 23:27
by Varazir
Xenomes wrote: Friday 23 January 2026 22:25
Varazir wrote: Friday 23 January 2026 22:16 Did a git pull and restarted domoticz docker

Code: Select all

2026-01-23 22:15:20.728 Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/:/opt/domoticz/userdata/Domoticz_Python_Environment:/opt/venv/lib/python3.11/site-packages:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/opt/venv/lib/python3.13/site-packages:/opt/venv/local/lib/python3.13/dist-packages:/opt/venv/lib/python3/dist-packages:/opt/venv/lib/python3.13/dist-packages'.
2026-01-23 22:15:20.797 Error: TinyTUYA: Traceback (most recent call last):
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 73, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import requests
2026-01-23 22:15:20.797 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/requests/__init__.py", line 43, in <module>
2026-01-23 22:15:20.797 Error: TinyTUYA: import urllib3
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/__init__.py", line 7, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/connectionpool.py", line 11, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .exceptions import (
2026-01-23 22:15:20.798 Error: TinyTUYA: ...<13 lines>...
2026-01-23 22:15:20.798 Error: TinyTUYA: )
2026-01-23 22:15:20.798 Error: TinyTUYA: File "/opt/domoticz/userdata/Domoticz_Python_Environment/urllib3/exceptions.py", line 2, in <module>
2026-01-23 22:15:20.798 Error: TinyTUYA: from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
2026-01-23 22:15:20.798 Error: TinyTUYA: ModuleNotFoundError: No module named 'urllib3.packages.six.moves'
Python 3.13 are you in trixie? if so there is part on the Readme for Trixie, that includes the install of the missing urllib3 python module.
Schermafdruk van 2026-01-23 22-22-40.png
I'm running Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Now I remember I did large update of apps on my system few days ago. Something broke this I guess.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 8:48
by Xenomes
Varazir wrote: Friday 23 January 2026 23:27 I'm running Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Now I remember I did large update of apps on my system few days ago. Something broke this I guess.
The Domoticz Docker container has been updated to a higher release of the distribution. I will test it and fix the code or the requirements guide.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 10:47
by Varazir
Xenomes wrote: Saturday 24 January 2026 8:48
Varazir wrote: Friday 23 January 2026 23:27 I'm running Python 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0] on linux
Now I remember I did large update of apps on my system few days ago. Something broke this I guess.
The Domoticz Docker container has been updated to a higher release of the distribution. I will test it and fix the code or the requirements guide.
I notice the about page looks more high tech

Image

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 15:29
by Xenomes
Varazir wrote: Saturday 24 January 2026 10:47 I notice the about page looks more high tech
Out of the scope of the plugin:
You need to update your docker installation to the current version.
https://github.com/domoticz/domoticz-docker
put docker-entrypoint.sh in your directory where your customstart.sh is located.
Edit your customstart.sh to remove old lines see the customstart.sh in github.

In the scope:
The plugin needs tinytuya and PyCryptodome for the pip3 installation. Then it should work again.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 17:17
by Varazir
Xenomes wrote: Saturday 24 January 2026 15:29
Varazir wrote: Saturday 24 January 2026 10:47 I notice the about page looks more high tech
Out of the scope of the plugin:
You need to update your docker installation to the current version.
https://github.com/domoticz/domoticz-docker
put docker-entrypoint.sh in your directory where your customstart.sh is located.
Edit your customstart.sh to remove old lines see the customstart.sh in github.

In the scope:
The plugin needs tinytuya and PyCryptodome for the pip3 installation. Then it should work again.
What do you mean with "Edit your customstart.sh to remove old lines see the customstart.sh in github" ?
I never got installing tinytuya and PyCryptodome using the customstart.sh script.
So I installed all lib's to folder and point my docker to that for python.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 17:36
by Xenomes
Varazir wrote: Saturday 24 January 2026 17:17 What do you mean with "Edit your customstart.sh to remove old lines see the customstart.sh in github" ?
I never got installing tinytuya and PyCryptodome using the customstart.sh script.
So I installed all lib's to folder and point my docker to that for python.
The customstart.sh script handles all my package installations, both apt and pip dependencies. When I rebuild the container, everything gets freshly installed. I keep my git clones in a separate Docker shared volume so they persist between rebuilds.

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Saturday 24 January 2026 18:27
by Varazir
Xenomes wrote: Saturday 24 January 2026 17:36
Varazir wrote: Saturday 24 January 2026 17:17 What do you mean with "Edit your customstart.sh to remove old lines see the customstart.sh in github" ?
I never got installing tinytuya and PyCryptodome using the customstart.sh script.
So I installed all lib's to folder and point my docker to that for python.
The customstart.sh script handles all my package installations, both apt and pip dependencies. When I rebuild the container, everything gets freshly installed. I keep my git clones in a separate Docker shared volume so they persist between rebuilds.
Could you share your customstart.sh and docker-entrypoint.sh ?

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Sunday 25 January 2026 8:56
by Xenomes
Varazir wrote: Saturday 24 January 2026 18:27 Could you share your customstart.sh and docker-entrypoint.sh ?
They are not really exciting, the docker-entrypoint.sh is unchanged, and the customstart.sh is only simply modified.
https://raw.githubusercontent.com/domot ... rypoint.sh
Spoiler: show

Code: Select all

# this script (customstart.sh) is SOURCED by docker-entrypoint.sh

# This script is run whenever the container launches (eg "docker run" or
# "docker-compose up -d"). This script does not run if the container is
# restarted (eg "docker restart" or "docker-compose restart").

# The purpose of this script is to let you customise your Domoticz
# container by adding packages using "apt-get" or "pip3 install". This
# script runs as root so you do not have to use "sudo".

# If you make a mistake, delete this file, restart the container and
# the default version will be restored automatically.

# Example commands below. Uncomment commands to make then active and
# then edit the commands to meet your needs

echo "updating packages list"
apt-get -qq update

echo "installing packages"
apt-get -y install wget nano libc-bin iputils-ping

#mosquitto-clients

echo "installing Python packages"
pip3 install tinytuya PyCryptodome

Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)

Posted: Sunday 25 January 2026 13:32
by Varazir
Xenomes wrote: Sunday 25 January 2026 8:56
Varazir wrote: Saturday 24 January 2026 18:27 Could you share your customstart.sh and docker-entrypoint.sh ?
They are not really exciting, the docker-entrypoint.sh is unchanged, and the customstart.sh is only simply modified.
https://raw.githubusercontent.com/domot ... rypoint.sh
Spoiler: show

Code: Select all

# this script (customstart.sh) is SOURCED by docker-entrypoint.sh

# This script is run whenever the container launches (eg "docker run" or
# "docker-compose up -d"). This script does not run if the container is
# restarted (eg "docker restart" or "docker-compose restart").

# The purpose of this script is to let you customise your Domoticz
# container by adding packages using "apt-get" or "pip3 install". This
# script runs as root so you do not have to use "sudo".

# If you make a mistake, delete this file, restart the container and
# the default version will be restored automatically.

# Example commands below. Uncomment commands to make then active and
# then edit the commands to meet your needs

echo "updating packages list"
apt-get -qq update

echo "installing packages"
apt-get -y install wget nano libc-bin iputils-ping

#mosquitto-clients

echo "installing Python packages"
pip3 install tinytuya PyCryptodome
I'm getting this,

Code: Select all

domoticz-1  |       building '_cffi_backend' extension
domoticz-1  |       creating build/temp.linux-armv7l-cpython-313/src/c
domoticz-1  |       arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/opt/venv/include -I/usr/include/python3.13 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-313/src/c/_cffi_backend.o
domoticz-1  |       error: command 'arm-linux-gnueabihf-gcc' failed: No such file or directory
domoticz-1  |       [end of output]
domoticz-1  |   
domoticz-1  |   note: This error originates from a subprocess, and is likely not a problem with pip.
domoticz-1  |   ERROR: Failed building wheel for cffi
domoticz-1  | Failed to build PyCryptodome cffi
domoticz-1  | error: failed-wheel-build-for-install
domoticz-1  | 
domoticz-1  | × Failed to build installable wheels for some pyproject.toml based projects
domoticz-1  | ╰─> PyCryptodome, cffi
and

Code: Select all

domoticz-1  | 2026-01-25 13:29:47.381  Status: EventSystem: reset all device statuses...
domoticz-1  | 2026-01-25 13:29:47.702  Status: PluginSystem: 2 plugins started.
domoticz-1  | 2026-01-25 13:29:48.092  Status: Python EventSystem: Initializing event module.
domoticz-1  | 2026-01-25 13:29:48.092  Status: Python EventSystem: Initializing event module.
domoticz-1  | 2026-01-25 13:29:48.093  Status: EventSystem: Started
domoticz-1  | 2026-01-25 13:29:48.094  Status: EventSystem: Queue thread started...
domoticz-1  | 2026-01-25 13:29:49.016  Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/:/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/opt/venv/lib/python3.13/site-packages:/opt/venv/local/lib/python3.13/dist-packages:/opt/venv/lib/python3/dist-packages:/opt/venv/lib/python3.13/dist-packages'.
domoticz-1  | 2026-01-25 13:29:49.032  Error: TinyTUYA: Traceback (most recent call last):
domoticz-1  | 2026-01-25 13:29:49.032  Error: TinyTUYA:   File "/opt/domoticz/userdata/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 78, in <module>
domoticz-1  | 2026-01-25 13:29:49.032  Error: TinyTUYA:     import tinytuya
domoticz-1  | 2026-01-25 13:29:49.032  Error: TinyTUYA: ModuleNotFoundError: No module named 'tinytuya'