As discust on github: https://github.com/Xenomes/Domoticz-Tin ... issues/144Akerboom wrote: ↑Thursday 28 November 2024 9:55 Please help.
I deleted a TUYA device in Domoticz and got an error:Tried to delete the plugin in Domoticz Hardware and reinstall with a diffent name. Now all my TUYA devices are gone and I only get the above error.Code: Select all
Error: TinyTUYA: handleThread: Device not found in Domoticz! Has the device been removed, or is the "Accept New Hardware" option not enabled? line 2324
How to reset and re-add all my devices to Domoticz?
Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Moderator: leecollings
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (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)
The plugin was working just fine, I just deleted the Domoticz diveces. How do I reset everything so the devices are created in Domoticz again?Xenomes wrote: ↑Saturday 30 November 2024 19:58As discust on github: https://github.com/Xenomes/Domoticz-Tin ... issues/144Akerboom wrote: ↑Thursday 28 November 2024 9:55 Please help.
I deleted a TUYA device in Domoticz and got an error:Tried to delete the plugin in Domoticz Hardware and reinstall with a diffent name. Now all my TUYA devices are gone and I only get the above error.Code: Select all
Error: TinyTUYA: handleThread: Device not found in Domoticz! Has the device been removed, or is the "Accept New Hardware" option not enabled? line 2324
How to reset and re-add all my devices to Domoticz?
[edit] It was another github ticket: https://github.com/Xenomes/Domoticz-Tin ... issues/126
I found a workaround, posted on github, fine for me.
-
- Posts: 84
- Joined: Sunday 14 August 2016 13:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I installed the TunyTuya plugin and followed all steps. Got one of the device ID from an hardware item in the Tiya cloud. But no device is added to Domotic and I get the error: Tuya: handleThread: Device not found in Domoticz! Has the device been removed, or is the "Accept New Hardware" option not enabled? line 2324
Is there any way to fix this?
Is there any way to fix this?
-
- Posts: 5
- Joined: Sunday 15 May 2022 13:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hello everyone,
I am experimenting with TinyTuya to get a Water Detector and a few Smoke Detectors working within Domoticz; at least I would like to see the alarm messages from these devices being passed on within domoticz. So far no success. They are detected but not entirely correctly I suspect. See log. Am I doing something wrong or are these devices not sufficiently supported within the plugin?
I can see and hear the alarm in the tuya app.
Also, does anyone perhaps already have other Contribs for these devices?
Water Detector is: Nedis Wi-Fi, type: WIFIDW10WT (with battery)
Smoke Detector is: Nedis Wi-Fi, type: WIFIDS10WT (with battery)
I’m running Dom version 2024.7 with Python version 3.11.2 and TinyTuya 2.0.6
I have already run 'debug_discovery.py' and they all appear in the json file.
Log:
2025-01-07 17:34:13.094 Status: TinyTUTA: Entering work loop.
2025-01-07 17:34:13.095 Status: TinyTUTA: Started.
2025-01-07 17:34:13.601 Status: TinyTUTA: Initialized version 2.0.6, author 'Xenomes'
..
2025-01-07 17:29:53.365 TinyTUTA: Device name=WD1_WaterDtctr1Kelder id=12080343500291ccb5d7 category=waterleak
2025-01-07 17:29:53.998 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 FunctionProperties= []
2025-01-07 17:29:53.999 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 StatusProperties= []
2025-01-07 17:29:53.999 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 result= []
2025-01-07 17:29:54.000 TinyTUTA: Device name=RM1_RookMldrWnkmr id=4520030524a160215cee category=smokedetector
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee FunctionProperties= []
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee StatusProperties= []
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee result= []
I am experimenting with TinyTuya to get a Water Detector and a few Smoke Detectors working within Domoticz; at least I would like to see the alarm messages from these devices being passed on within domoticz. So far no success. They are detected but not entirely correctly I suspect. See log. Am I doing something wrong or are these devices not sufficiently supported within the plugin?
I can see and hear the alarm in the tuya app.
Also, does anyone perhaps already have other Contribs for these devices?
Water Detector is: Nedis Wi-Fi, type: WIFIDW10WT (with battery)
Smoke Detector is: Nedis Wi-Fi, type: WIFIDS10WT (with battery)
I’m running Dom version 2024.7 with Python version 3.11.2 and TinyTuya 2.0.6
I have already run 'debug_discovery.py' and they all appear in the json file.
Log:
2025-01-07 17:34:13.094 Status: TinyTUTA: Entering work loop.
2025-01-07 17:34:13.095 Status: TinyTUTA: Started.
2025-01-07 17:34:13.601 Status: TinyTUTA: Initialized version 2.0.6, author 'Xenomes'
..
2025-01-07 17:29:53.365 TinyTUTA: Device name=WD1_WaterDtctr1Kelder id=12080343500291ccb5d7 category=waterleak
2025-01-07 17:29:53.998 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 FunctionProperties= []
2025-01-07 17:29:53.999 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 StatusProperties= []
2025-01-07 17:29:53.999 TinyTUTA: Device name= WD1_WaterDtctr1Kelder id= 12080343500291ccb5d7 result= []
2025-01-07 17:29:54.000 TinyTUTA: Device name=RM1_RookMldrWnkmr id=4520030524a160215cee category=smokedetector
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee FunctionProperties= []
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee StatusProperties= []
2025-01-07 17:29:54.605 TinyTUTA: Device name= RM1_RookMldrWnkmr id= 4520030524a160215cee result= []
-
- Posts: 3
- Joined: Wednesday 15 January 2025 9:19
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I have a lot of Error on Synctime on heartbeat.
see log below
2025-01-15 09:13:39.097 Error: tuya: Call to function 'onHeartbeat' failed, exception details:
2025-01-15 09:13:39.097 Error: tuya: Traceback (most recent call last):
2025-01-15 09:13:39.097 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 856, in onHeartbeat
2025-01-15 09:13:39.097 Error: tuya: _plugin.onHeartbeat()
2025-01-15 09:13:39.097 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 811, in onHeartbeat
2025-01-15 09:13:39.097 Error: tuya: if time.time() - last_update < synctime and testData == False:
2025-01-15 09:13:39.097 Error: tuya: NameError: name 'synctime' is not defined
2025-01-15 09:13:49.105 Error: tuya: Call to function 'onHeartbeat' failed, exception details:
2025-01-15 09:13:49.105 Error: tuya: Traceback (most recent call last):
2025-01-15 09:13:49.105 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 856, in onHeartbeat
2025-01-15 09:13:49.105 Error: tuya: _plugin.onHeartbeat()
2025-01-15 09:13:49.105 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 811, in onHeartbeat
2025-01-15 09:13:49.105 Error: tuya: if time.time() - last_update < synctime and testData == False:
2025-01-15 09:13:49.105 Error: tuya: NameError: name 'synctime' is not defined
Can this be fixed?
Also then i try to control one of the tuya devices i get this error.
2025-01-15 09:22:23.094 Error: tuya: Call to function 'onCommand' failed, exception details:
2025-01-15 09:22:23.095 Error: tuya: Traceback (most recent call last):
2025-01-15 09:22:23.095 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 844, in onCommand
2025-01-15 09:22:23.095 Error: tuya: _plugin.onCommand(DeviceID, Unit, Command, Level, Color)
2025-01-15 09:22:23.095 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 137, in onCommand
2025-01-15 09:22:23.095 Error: tuya: if Error is not None:
2025-01-15 09:22:23.095 Error: tuya: NameError: name 'Error' is not defined
see log below
2025-01-15 09:13:39.097 Error: tuya: Call to function 'onHeartbeat' failed, exception details:
2025-01-15 09:13:39.097 Error: tuya: Traceback (most recent call last):
2025-01-15 09:13:39.097 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 856, in onHeartbeat
2025-01-15 09:13:39.097 Error: tuya: _plugin.onHeartbeat()
2025-01-15 09:13:39.097 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 811, in onHeartbeat
2025-01-15 09:13:39.097 Error: tuya: if time.time() - last_update < synctime and testData == False:
2025-01-15 09:13:39.097 Error: tuya: NameError: name 'synctime' is not defined
2025-01-15 09:13:49.105 Error: tuya: Call to function 'onHeartbeat' failed, exception details:
2025-01-15 09:13:49.105 Error: tuya: Traceback (most recent call last):
2025-01-15 09:13:49.105 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 856, in onHeartbeat
2025-01-15 09:13:49.105 Error: tuya: _plugin.onHeartbeat()
2025-01-15 09:13:49.105 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 811, in onHeartbeat
2025-01-15 09:13:49.105 Error: tuya: if time.time() - last_update < synctime and testData == False:
2025-01-15 09:13:49.105 Error: tuya: NameError: name 'synctime' is not defined
Can this be fixed?
Also then i try to control one of the tuya devices i get this error.
2025-01-15 09:22:23.094 Error: tuya: Call to function 'onCommand' failed, exception details:
2025-01-15 09:22:23.095 Error: tuya: Traceback (most recent call last):
2025-01-15 09:22:23.095 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 844, in onCommand
2025-01-15 09:22:23.095 Error: tuya: _plugin.onCommand(DeviceID, Unit, Command, Level, Color)
2025-01-15 09:22:23.095 Error: tuya: File "/home/domoticz/plugins/Domoticz-TinyTUYA-Plugin/plugin.py", line 137, in onCommand
2025-01-15 09:22:23.095 Error: tuya: if Error is not None:
2025-01-15 09:22:23.095 Error: tuya: NameError: name 'Error' is not defined
- waltervl
- Posts: 5714
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 3
- Joined: Wednesday 15 January 2025 9:19
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Thanks.
Found out this was a new settings in the latest version what had a new settings in the plugin.
So i needed to set the API Polling interval to a number, and when it worked.
A error i get now is Error: tuya: handleThread: string indices must be integers line 956
Found out this was a new settings in the latest version what had a new settings in the plugin.
So i needed to set the API Polling interval to a number, and when it worked.
A error i get now is Error: tuya: handleThread: string indices must be integers line 956
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Can you try the new version of the plugin, line 2324 has moved by code update.desertdog wrote: ↑Tuesday 10 December 2024 13:07 I installed the TunyTuya plugin and followed all steps. Got one of the device ID from an hardware item in the Tiya cloud. But no device is added to Domotic and I get the error: Tuya: handleThread: Device not found in Domoticz! Has the device been removed, or is the "Accept New Hardware" option not enabled? line 2324
Is there any way to fix this?
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
The FunctionProperties, StatusProperties and result are empty, put your device on 'DP instruction' on the iot.tuya.com instruction are on the pdf in the readme.BobKooi wrote: ↑Tuesday 07 January 2025 18:31 Hello everyone,
I am experimenting with TinyTuya to get a Water Detector and a few Smoke Detectors working within Domoticz; at least I would like to see the alarm messages from these devices being passed on within domoticz. So far no success. They are detected but not entirely correctly I suspect. See log. Am I doing something wrong or are these devices not sufficiently supported within the plugin?
I can see and hear the alarm in the tuya app.
Also, does anyone perhaps already have other Contribs for these devices?
Water Detector is: Nedis Wi-Fi, type: WIFIDW10WT (with battery)
Smoke Detector is: Nedis Wi-Fi, type: WIFIDS10WT (with battery)
I’m running Dom version 2024.7 with Python version 3.11.2 and TinyTuya 2.0.6
I have already run 'debug_discovery.py' and they all appear in the json file.
Log:
- Spoiler: show
Last edited by Xenomes on Tuesday 28 January 2025 20:57, edited 2 times in total.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
This issue is fixed in a newer version.Evolverixw04c7i wrote: ↑Wednesday 15 January 2025 9:23 I have a lot of Error on Synctime on heartbeat.
see log below
Can this be fixed?
- Spoiler: show
Also then i try to control one of the tuya devices i get this error.
- Spoiler: show
Set a default value in the current plugin version, also the readme is updated with Important flag for the extra setting update.Evolverixw04c7i wrote: ↑Thursday 16 January 2025 9:38 Thanks.
Found out this was a new settings in the latest version what had a new settings in the plugin.
So i needed to set the API Polling interval to a number, and when it worked.
A error i get now is Error: tuya: handleThread: string indices must be integers line 956
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Looking for a tester for the Tuya Pulsar push system (tuya-connector), preferably someone with a variety of Tuya WiFi devices, a separate Domoticz setup for testing, and some basic Python knowledge.
Tuya-connector-python is a Python library for communicating with the Tuya IoT Cloud API, enabling easy integration and control of Tuya-compatible IoT devices, with support for message queue handling.
See https://github.com/Xenomes/Domoticz-Tin ... ree/pulsar
When Pulsar is used, the tuya-connector-python module meets to be installed and the message service on iot.tuya.com needs to be enabled!
Please report issues here at github and start the issue with [Pulsar].
Tuya-connector-python is a Python library for communicating with the Tuya IoT Cloud API, enabling easy integration and control of Tuya-compatible IoT devices, with support for message queue handling.
See https://github.com/Xenomes/Domoticz-Tin ... ree/pulsar
When Pulsar is used, the tuya-connector-python module meets to be installed and the message service on iot.tuya.com needs to be enabled!
Code: Select all
sudo pip3 install tuya-connector-python
Please report issues here at github and start the issue with [Pulsar].
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 167
- Joined: Thursday 28 December 2017 14:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Broek op Langedijk
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
I have installed the tuya plugin within domoticz. Devices such as Tuya dimmers work well with this within domoticz. These are immediately recognized as new devices when I first add them to the Tuya smart app. Now I have bought a Nova100 and this is also immediately recognized within the Tuya smart app, but domoticz does not see it via the plugin. Is this not supported? If not, is there another way to get this working within domoticz?
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
If a device is not recognized, a text device is created with instructions to submit a ticket on GitHub so the device can be added. If no device appears, the plugin needs to be reloaded. Go to the hardware page in Domoticz, select the plugin, and press 'Update'.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 40
- Joined: Wednesday 14 December 2022 12:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hello Xenomes,
My log is now filling with following error messages:
Any idea what is going on (running V2.1.5).
PS: I also noticed that my Luxmeter gets no updates, however in the Tuya app on my mobile it operates as expected.
My log is now filling with following error messages:
Code: Select all
2025-03-03 15:30:38.102 Error: Tuya: handleThread: string indices must be integers line 969
PS: I also noticed that my Luxmeter gets no updates, however in the Tuya app on my mobile it operates as expected.
Cheers,
Arjan
Arjan
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hi, line 969 is a debug log entry. I've modified it can you try version 2.1.6a?athoopen wrote: ↑Monday 03 March 2025 15:32 Hello Xenomes,
My log is now filling with following error messages:Any idea what is going on (running V2.1.5).Code: Select all
2025-03-03 15:30:38.102 Error: Tuya: handleThread: string indices must be integers line 969
PS: I also noticed that my Luxmeter gets no updates, however in the Tuya app on my mobile it operates as expected.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 40
- Joined: Wednesday 14 December 2022 12:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Line has changed into:
If I comment the line and restart I get:
However I do not understand this one. Via de Tuya app I can still operate my tuya devices. To which subscription is the tool revering to?
Code: Select all
2025-03-04 07:35:40.926 Error: Tuya: handleThread: 'str' object has no attribute 'get' line 969
Code: Select all
2025-03-04 08:13:29.738 Error: Tuya: handleThread: Credentials are incorrect or tuya subscription has expired! line 981
Cheers,
Arjan
Arjan
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Maybe the last error is caused by the first one. I split the debug line into separate lines. I hope you can update it again and list the specific line so I can see why it's erroring out.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 40
- Joined: Wednesday 14 December 2022 12:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Something strange is going on. Today a charger is placed at my house therefore i was fully powered down. After that I pulled the new version and it showed no errors or what so ever
That's good .. but strange.
I remembered that yesterday (or the day before yesterday) I also extended my subscription, yesterday evening it was not yet extended. This afternoon it was.
My guess is that all the errors were related to an expired subscription ... really sorry for the inconvenience.
PS: just one question (somewhat related), how often is a luxmeter read. My lux meter is now operational (python -m tinytuya scan shows it as expected) but it's not read for a number of hours (although I have to admit that the lux value (1000) did not change).

I remembered that yesterday (or the day before yesterday) I also extended my subscription, yesterday evening it was not yet extended. This afternoon it was.
My guess is that all the errors were related to an expired subscription ... really sorry for the inconvenience.
PS: just one question (somewhat related), how often is a luxmeter read. My lux meter is now operational (python -m tinytuya scan shows it as expected) but it's not read for a number of hours (although I have to admit that the lux value (1000) did not change).
Cheers,
Arjan
Arjan
- Xenomes
- Posts: 396
- Joined: Tuesday 27 November 2018 19:05
- Target OS: Linux
- Domoticz version: 2024.7
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Thanks for the update, i have moved the debug line in the subscription test, so this won't happen again.athoopen wrote: ↑Wednesday 05 March 2025 17:11 Something strange is going on. Today a charger is placed at my house therefore i was fully powered down. After that I pulled the new version and it showed no errors or what so everThat's good .. but strange.
I remembered that yesterday (or the day before yesterday) I also extended my subscription, yesterday evening it was not yet extended. This afternoon it was.
My guess is that all the errors were related to an expired subscription ... really sorry for the inconvenience.
At the plugin you can setup a API Polling interval, keep in mind that what you set here is: 60 / interval × devices × 24 × 31 = polls a month max 35000.athoopen wrote: PS: just one question (somewhat related), how often is a luxmeter read. My lux meter is now operational (python -m tinytuya scan shows it as expected) but it's not read for a number of hours (although I have to admit that the lux value (1000) did not change).
For the lux device it is a option to switch the the pulsar version: viewtopic.php?p=323360#p323360
The pulsar calls are 68000 a month and the send is done by the api of 35000 calls.
The pulsar is almost done testing, so it will be the master in some weeks.
HP T630 (256GB SSD/8GB Mem) - Ubuntu 24.04.2 LTS (64Bit) - Domoticz 2024.7 (Docker) Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
-
- Posts: 40
- Joined: Wednesday 14 December 2022 12:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Netherlands
- Contact:
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Xenomes,
Suddenly my Tuya devices stopt working. The log showed many lines of:
There was no changes in credentials and I double checked my subscription (extended to 2025-09-04).
So I think I've run out of "polls". Is there somewhere a location where I can see the polls I've used?
TIA,
Suddenly my Tuya devices stopt working. The log showed many lines of:
Code: Select all
Credentials are incorrect or tuya subscription has expired! line 997
So I think I've run out of "polls". Is there somewhere a location where I can see the polls I've used?
TIA,
Cheers,
Arjan
Arjan
Who is online
Users browsing this forum: No registered users and 1 guest