Search found 443 matches

by Xenomes
Wednesday 11 February 2026 20:38
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


Thank you so much for your work. :) :)
I followed the PDF tutorial and the instructions on GitHub, and everything worked perfectly on the first try!

Well done!

I have the MOES Smart Universal IR WiFi Infrared Remote Control. It's well integrated into Domoticz, but unfortunately, it's not yet ...
by Xenomes
Monday 26 January 2026 20:04
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

Varazir wrote: Sunday 25 January 2026 13:55 I added gcc libffi-dev pkgs to install and now it's working.
Very good that it is working! Every installation is not 100% the same.
by Xenomes
Sunday 25 January 2026 8:56
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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/domoticz/domoticz-docker/refs/heads/main/docker-entrypoint.sh
# this script ...
by Xenomes
Saturday 24 January 2026 17:36
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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 ...
by Xenomes
Saturday 24 January 2026 15:29
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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 ...
by Xenomes
Saturday 24 January 2026 8:48
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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 ...
by Xenomes
Friday 23 January 2026 22:25
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


Did a git pull and restarted domoticz docker

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 ...
by Xenomes
Friday 23 January 2026 19:37
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


I'm getting this, I just updated

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 ...
by Xenomes
Wednesday 17 December 2025 19:26
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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 ...
by Xenomes
Wednesday 17 December 2025 19:21
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


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 ...
by Xenomes
Tuesday 16 December 2025 19:59
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

Do you have Bookworm or Trixie?
How are you running Domiticz local or docker?
by Xenomes
Monday 15 December 2025 20:04
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


It seems there is some missing module (requests) : is there an incompatibility between Trixie and tinytuya or domoticz 2025.2 ?

Hi, Its possible that Trixie python 3.13 can't downgrade the module. I didn't test it yet.

Try:
sudo pip3 install requests charset-normalizer tinytuya -U --break ...
by Xenomes
Sunday 23 November 2025 14:56
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

l81occitarn wrote: Saturday 22 November 2025 12:12 What's the problem ?
The script runs standalone. Edit the file and fill in the values and run again.
by Xenomes
Wednesday 19 November 2025 22:14
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


Hi !

Thank you for the job, i use your plugin to read/log the data from my weather station, and it works well for my indoor sensor (principal sensor).
It's a multi-channel weather station, and the others sensors (outdoor sensor, pool sensor) aren't displayed in domoticz.

Is it possible to ...
by Xenomes
Tuesday 11 November 2025 19:48
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


Hi Xenomes,
I am using your plugin for a while now, it was working perfectly with a lot of different plugs (multiplugs, simple plugs, ...)
But then I bought a new multi-plugs "4 plugs + usb", it is being recognized by your plugin after a de-activation and re-activation of the plugin TinyTuya, so ...
by Xenomes
Wednesday 01 October 2025 19:59
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

ronalddevos wrote: Wednesday 01 October 2025 8:15 bf58f96d002fcb03beswmt is a smart plug (controlling a light)
Thanks, I will check the code why there is a error.
ronalddevos wrote: Wednesday 01 October 2025 8:15 I'll re-upgrade to 1.7.4
Other then the "False Type" no errors in the 14 hours...
Nice! 1.7.4 had cloud updates.
by Xenomes
Tuesday 30 September 2025 20:03
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


Managed to trap the whole sequence.

I see something in the log, You have tinytuya module 1.7.3, 1.7.4 is the latest.



Also getting:
2025-09-30 19:09:14.589 TinyTuya: onCommand called for Device bf58f96d002fcb03beswmt Unit 1: Parameter 'On', Level: 0', Color:
2025-09-30 19:09:14.590 TinyTuya ...
by Xenomes
Monday 29 September 2025 21:31
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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


I have monitored the last 24 hours and it has been running without problem except three times the
"Error: TinyTuya: handleThread: Credentials are incorrect or tuya subscription has expired! line 1217"
1 time yesteday afternoon, 2 times this night, timing is not consistent but seems random

I ...
by Xenomes
Sunday 28 September 2025 19:07
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

ronalddevos wrote: Saturday 27 September 2025 20:22 This is what I could capture. After that things freeze. Hope this helps.
Could it be possible that the subscription has been expired?
by Xenomes
Saturday 27 September 2025 16:31
Forum: Python
Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Replies: 343
Views: 102678

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

ronalddevos wrote: Saturday 27 September 2025 16:16 but is still seems to work
Can you set de debug to python, and report the data in the error lines.
ronalddevos wrote: Saturday 27 September 2025 16:16 Response time seems slower though (not an issue)
Should be faster, no 15 min wait until status change.