Strange, but if you solution works, no problem.Varazir wrote: ↑Tuesday 17 June 2025 10:21 I have trying to install the python modules using customstart.sh file but I get an error
https://gist.github.com/varazir/d67eb61 ... 6f82e58e32
I have moved back to my own solution for the time being.
Search found 411 matches
- Tuesday 17 June 2025 20:25
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Sunday 15 June 2025 10:01
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
- Friday 13 June 2025 21:12
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Maybe 1 is up, 2 is stop/hold, and 3 is down... Could added to see what it does.
- Thursday 12 June 2025 21:17
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hallo, I need some help. I have installed the plugin and everything works except for two roller shutter controls. These are from the brand Nedis and work in the Tuya app without any problems. On the Tuya Developers Platform I can control them. Can I change something myself to make them work? List ...
- Thursday 12 June 2025 21:13
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I updated the plugin First I got this pi@domoticz:~/domoticz/data/plugins/Domoticz-TinyTUYA-Plugin $ git pull remote: Enumerating objects: 114, done. remote: Counting objects: 100% (113/113), done. remote: Compressing objects: 100% (69/69), done. remote: Total 104 (delta 42), reused 94 (delta 34 ...
- Tuesday 03 June 2025 19:34
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
There was a minor compatibility issue between Domoticz and Python 3.11. This has now been resolved in the latest Domoticz update. I've also updated the plugin accordingly. Make sure to update both to ensure proper functionality.reinestein wrote:
- Monday 02 June 2025 21:25
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
This is why don't like docker, a lot of hassle to just update a smal software. I'll try it. It's been a learning curve! I'm currently running multiple Docker containers: Domoticz (domoticz) Domoticz test environment (domoticztest) Mosquitto (MQTT broker) Zigbee2MQTT When I migrated to a new host ...
- Monday 02 June 2025 20:55
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Just ran your code on my Raspberry Pi, and there were no errors. The error you're encountering is likely due to an issue with your Docker setup. I'm not sure if you manually installed things for other plugins that might be causing conflicts. Normally when I update (update_domoticz.sh), I run a ...
- Monday 02 June 2025 19:56
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
- Monday 02 June 2025 16:00
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
https://i.imgur.com/HTVS6eZ.png Failed again domoticz | building 'Crypto.Hash._MD2' extension domoticz | creating build/temp.linux-armv7l-cpython-311/src domoticz | arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g ...
- Sunday 01 June 2025 22:03
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
That is bad, it thought going to run every time. According this https://wiki.domoticz.com/Docker it say "The container calls a script named customstart.sh in userdata, if that script exists. Please note that the script gets called on EVERY start of the container, not just at creation time. If you ...
- Sunday 01 June 2025 20:14
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
It fails with just adding --break-system-packages to the line. domoticz | 2025-06-01 20:03:12.374 Status: EventSystem: reset all device statuses... domoticz | 2025-06-01 20:03:12.602 Error: TinyTUYA: (tinytuya) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins ...
- Sunday 01 June 2025 19:47
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Nvm you wrote that I should add the lines into the customstart.sh file. But still it will fail with that it can't install as stated here https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin/issues/159 You replied use this https://zigbeefordomoticz.github.io/wiki/en-eng/HowTo_PythonVirtualEnv.html ...
- Sunday 01 June 2025 11:36
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I installed the plugin like this echo 'install tinytuya' apt install libffi-dev build-essential pkg-config libssl-dev -y pip3 install cryptography==3.4.8 requests==2.23.0 charset-normalizer==3.0.1 tinytuya -U -t /home/pi/domoticz/data/Domoticz_Python_Environment In the readme there is a section how ...
- Thursday 29 May 2025 9:32
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Very good, there is a json, will try to load the device and see i can recreate the error lines.reinestein wrote: ↑Thursday 29 May 2025 9:27 I remembered I had encountered problems with both devices before (https://github.com/Xenomes/Domoticz-Tin ... issues/161).
edit: I see the issue now, need to make a fix for that.
- Wednesday 28 May 2025 23:16
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
already exists in Domoticz. That is a strange behavior, It's strange — overnight, the issue disappears, but another one shows up instead. Should I remove bf0cefa5b282c43f66lvyk and bf2a87a17772db2b6deg7m? I think this is the right approach for those two devices. Is there any long-term data that n ...
- Tuesday 27 May 2025 22:07
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Can you set Debug to 'All'? Then it will show the line number where the thread ended.reinestein wrote: ↑Tuesday 27 May 2025 21:50 Also getting: Tuya - Cloud hardware (19) thread seems to have ended unexpectedly
- Tuesday 27 May 2025 19:41
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
That’s strange - the fix should have handled that. Is the error exact the same? Do you see this message in the log 'Configuration reset to empty'?reinestein wrote: ↑Tuesday 27 May 2025 16:41 Hmzzz, the error is back. Happened after updating to latest domoticz. After reverting to 16703, the problem still remains.
- Monday 26 May 2025 21:02
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
That was a hard one to find! But I built in a solution: when the error occurs, the data stored in Domoticz.Configuration is deleted and recreated.reinestein wrote: ↑Saturday 24 May 2025 13:09 Ok check! I can't roll back to a previous version 'coz my Tado plugin doesn't work![]()
New version uploaded!
- Friday 23 May 2025 21:29
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 87799
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hi there, After updating domoticz to build 16703 I'm getting the following error: 2025-05-23 13:48:41.888 Error: (JSONtoPython) failed to add item '-1', to list for string. 2025-05-23 13:48:41.888 Error: (JSONtoPython) failed to add item '-1', to list for string. 2025-05-23 13:48:41.888 Error ...