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:
Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Moderator: leecollings
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 17
- Joined: Friday 01 April 2022 8:52
- Target OS: NAS (Synology & others)
- Domoticz version: 2023.1
- Contact:
- Varazir
- Posts: 429
- Joined: Friday 20 February 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I updated the plugin
First I got this
so I moved the folder mv Domoticz-TinyTUYA-Plugin ~/ so I have a backup
All looks OK so far
This is just a warning but still,
Just to ignore it ?
I'm running in docker.
To note I didn't change to install the pyton plugin in the customstart.sh file.
First I got this
Code: Select all
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), pack-reused 0 (from 0)
Receiving objects: 100% (104/104), 497.89 KiB | 1.25 MiB/s, done.
Resolving deltas: 100% (42/42), completed with 6 local objects.
From https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin
0aa22fc..06b5aac Master -> origin/Master
e0a7efa..62c8e7a pulsar -> origin/pulsar
Updating 0aa22fc..06b5aac
error: The following untracked working tree files would be overwritten by merge:
__pycache__/plugin.cpython-311.pyc
Please move or remove them before you merge.
Aborting
Code: Select all
pi@domoticz:~/domoticz/data/plugins $ git clone https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin.git
Cloning into 'Domoticz-TinyTUYA-Plugin'...
remote: Enumerating objects: 1560, done.
remote: Counting objects: 100% (340/340), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 1560 (delta 237), reused 286 (delta 188), pack-reused 1220 (from 2)
Receiving objects: 100% (1560/1560), 857.64 KiB | 1.11 MiB/s, done.
Resolving deltas: 100% (842/842), done.
This is just a warning but still,
Code: Select all
2025-06-12 10:19:07.560 Status: TinyTUYA: Initialized version 2.2.2, author 'Xenomes'
2025-06-12 10:19:07.571 Error: TinyTUYA: !! Warning Plugin overruled by local json files !!
I'm running in docker.
To note I didn't change to install the pyton plugin in the customstart.sh file.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Several IKEA devices/z-wave devices
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 of devices:
[
{
"name": "Rolluik zijkant",
"id": "62331156ecfabc691541",
"key": "Deleted",
"mac": "ec:fa:bc:69:15:41",
"uuid": "62331156ecfabc691541",
"sn": "PGBG28KZH0005B",
"category": "cl",
"product_name": "Curtain controller",
"product_id": "AXnFs1bJQITWAPA4",
"biz_type": 0,
"model": "WIFIWC10WT",
"sub": false,
"icon": "https://images.tuyaeu.com/smart/icon/15 ... br0h_0.png"
},
]
Properties of device: 62331156ecfabc691541
{
"result": {
"category": "cl",
"functions": [
{
"code": "status",
"desc": "{\"range\":[\"1\",\"2\",\"3\"]}",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
],
"status": [
{
"code": "status",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
]
},
"success": true,
"t": 1748204664968,
"tid": "3ffc149c39a611f0b50a8ad9f66a9c16"
}
Status of device: 62331156ecfabc691541
{
"result": [
{
"code": "status",
"value": "2"
}
],
"success": true,
"t": 1748204665301,
"tid": "402d947539a611f0b7363af2f1e8cfff"
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 of devices:
[
{
"name": "Rolluik zijkant",
"id": "62331156ecfabc691541",
"key": "Deleted",
"mac": "ec:fa:bc:69:15:41",
"uuid": "62331156ecfabc691541",
"sn": "PGBG28KZH0005B",
"category": "cl",
"product_name": "Curtain controller",
"product_id": "AXnFs1bJQITWAPA4",
"biz_type": 0,
"model": "WIFIWC10WT",
"sub": false,
"icon": "https://images.tuyaeu.com/smart/icon/15 ... br0h_0.png"
},
]
Properties of device: 62331156ecfabc691541
{
"result": {
"category": "cl",
"functions": [
{
"code": "status",
"desc": "{\"range\":[\"1\",\"2\",\"3\"]}",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
],
"status": [
{
"code": "status",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
]
},
"success": true,
"t": 1748204664968,
"tid": "3ffc149c39a611f0b50a8ad9f66a9c16"
}
Status of device: 62331156ecfabc691541
{
"result": [
{
"code": "status",
"value": "2"
}
],
"success": true,
"t": 1748204665301,
"tid": "402d947539a611f0b7363af2f1e8cfff"
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
There was an error in the latest push. Please perform a new pull - this should resolve the message you're seeing.Varazir wrote: ↑Thursday 12 June 2025 10:28 I updated the plugin
First I got this
so I moved the folder mv Domoticz-TinyTUYA-Plugin ~/ so I have a backupCode: Select all
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), pack-reused 0 (from 0) Receiving objects: 100% (104/104), 497.89 KiB | 1.25 MiB/s, done. Resolving deltas: 100% (42/42), completed with 6 local objects. From https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin 0aa22fc..06b5aac Master -> origin/Master e0a7efa..62c8e7a pulsar -> origin/pulsar Updating 0aa22fc..06b5aac error: The following untracked working tree files would be overwritten by merge: __pycache__/plugin.cpython-311.pyc Please move or remove them before you merge. Aborting
All looks OK so farCode: Select all
pi@domoticz:~/domoticz/data/plugins $ git clone https://github.com/Xenomes/Domoticz-TinyTUYA-Plugin.git Cloning into 'Domoticz-TinyTUYA-Plugin'... remote: Enumerating objects: 1560, done. remote: Counting objects: 100% (340/340), done. remote: Compressing objects: 100% (152/152), done. remote: Total 1560 (delta 237), reused 286 (delta 188), pack-reused 1220 (from 2) Receiving objects: 100% (1560/1560), 857.64 KiB | 1.11 MiB/s, done. Resolving deltas: 100% (842/842), done.
This is just a warning but still,
Just to ignore it ?Code: Select all
2025-06-12 10:19:07.560 Status: TinyTUYA: Initialized version 2.2.2, author 'Xenomes' 2025-06-12 10:19:07.571 Error: TinyTUYA: !! Warning Plugin overruled by local json files !!
I'm running in docker.
To note I didn't change to install the pyton plugin in the customstart.sh file.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
The json appears to be low in values. Did you try configure the device using DP instructions?bertv wrote: ↑Thursday 12 June 2025 11:08 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 of devices:
[
{
"name": "Rolluik zijkant",
"id": "62331156ecfabc691541",
"key": "Deleted",
"mac": "ec:fa:bc:69:15:41",
"uuid": "62331156ecfabc691541",
"sn": "PGBG28KZH0005B",
"category": "cl",
"product_name": "Curtain controller",
"product_id": "AXnFs1bJQITWAPA4",
"biz_type": 0,
"model": "WIFIWC10WT",
"sub": false,
"icon": "https://images.tuyaeu.com/smart/icon/15 ... br0h_0.png"
},
]
Properties of device: 62331156ecfabc691541
{
"result": {
"category": "cl",
"functions": [
{
"code": "status",
"desc": "{\"range\":[\"1\",\"2\",\"3\"]}",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
],
"status": [
{
"code": "status",
"name": "Status",
"type": "Enum",
"values": "{\"range\":[\"1\",\"2\",\"3\"]}"
}
]
},
"success": true,
"t": 1748204664968,
"tid": "3ffc149c39a611f0b50a8ad9f66a9c16"
}
Status of device: 62331156ecfabc691541
{
"result": [
{
"code": "status",
"value": "2"
}
],
"success": true,
"t": 1748204665301,
"tid": "402d947539a611f0b7363af2f1e8cfff"
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
[/quote]
The json appears to be low in values. Did you try configure the device using DP instructions?
[/quote]
Yes, all the devices are set to DP instructions.
The DP instruction set is only status nothing els.
The json appears to be low in values. Did you try configure the device using DP instructions?
[/quote]
Yes, all the devices are set to DP instructions.
The DP instruction set is only status nothing els.
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
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.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Added in version 2.2.4
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Varazir
- Posts: 429
- Joined: Friday 20 February 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
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.
https://gist.github.com/varazir/d67eb61 ... 6f82e58e32
I have moved back to my own solution for the time being.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Several IKEA devices/z-wave devices
- Xenomes
- Posts: 416
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2025.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
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.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2025.1 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Varazir
- Posts: 429
- Joined: Friday 20 February 2015 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
My solution is to install the modules outside the docker and use this in my compose file ( I # it when I tested with the customstart.sh installation) .Xenomes wrote: ↑Tuesday 17 June 2025 20:25Strange, 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.
Code: Select all
environment:
- TZ=Europe/Stockholm
- PYTHONPATH=/opt/domoticz/userdata/Domoticz_Python_Environment/:/opt/venv/lib/python3.11/site-packages
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Several IKEA devices/z-wave devices
Who is online
Users browsing this forum: Bing [Bot] and 1 guest