Search found 36 matches
- Tuesday 25 March 2025 20:12
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 90943
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Xenomes, Thanks (that I didn't find that myself :oops: ). Hopefully you can help me explaining my numbers. This month I made 62.657 API Call.scalls (Feb was around 55.000) These are split up into: IoT Core 34,442; Smart Home Basic Service 26,949; Applet/H5 version for Hotel 284; Standard Version for ...
- Monday 24 March 2025 21:25
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 90943
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Xenomes, Suddenly my Tuya devices stopt working. The log showed many lines of: Credentials are incorrect or tuya subscription has expired! line 997 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 ...
- Wednesday 05 March 2025 17:11
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 90943
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 ...
- Tuesday 04 March 2025 8:04
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 90943
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Line has changed into: 2025-03-04 07:35:40.926 Error: Tuya: handleThread: 'str' object has no attribute 'get' line 969 If I comment the line and restart I get: 2025-03-04 08:13:29.738 Error: Tuya: handleThread: Credentials are incorrect or tuya subscription has expired! line 981 However I do not ...
- Monday 03 March 2025 15:32
- Forum: Python
- Topic: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
- Replies: 273
- Views: 90943
Re: Python Plugin: Domoticz-TinyTUYA-Plugin (Cloud)
Hello Xenomes, My log is now filling with following error messages: 2025-03-03 15:30:38.102 Error: Tuya: handleThread: string indices must be integers line 969 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 ...
- Tuesday 18 February 2025 12:00
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Re: Error while reading Luxmeter
In the plugin directory there is only 1, but in de hardware list there are 2 Tuya hardware devices. Already disabled one. Will look at it tonight.
Thanks for the help!!
Thanks for the help!!
- Monday 17 February 2025 20:55
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Re: Error while reading Luxmeter
Removed lightsensors from domoticz, git pull, domoticz restart. The log (with respect to the lightsensors) show: feb 17 19:52:43 domoticz domoticz[15783]: Tuya: Device name=LightSensor id=bff27908b7c1fb3e1bggll category=sensor feb 17 19:52:44 domoticz domoticz[15783]: Tuya: Device name= LightSensor ...
- Sunday 16 February 2025 20:00
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Re: Error while reading Luxmeter
@xenomes you were right. After using sudo, I now have a clean log with much info/status info from Tuya (looking really nice!) Updated the script a little bit with tostring(): return { on = { -- devices = { 'Luxmeter' } timer = { "at 17:34", } --TESTING ONLY }, logging = { level = domoticz.LOG_INFO ...
- Saturday 15 February 2025 16:57
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Re: Error while reading Luxmeter
Something strange is going on .... The Luxmeter became red in the UI. I restarted domoticz (sudo systemctl restart domoticz),I turned to my syslog on linux level and saw: feb 15 16:43:13 domoticz domoticz[12414]: Tuya: (tinytuya) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz ...
- Saturday 15 February 2025 16:29
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Re: Error while reading Luxmeter
Looking at the events information, there was a change at 16:06 (I put it in darkness) : Status is empty, Waarde 0/3 (I think nValue 0 and sValue 3) If I use https://domoticz/json.htm?type=devices&rid=3827 then it also shows "3 Lux". My scirpt return { on = { -- devices = { 'Luxmeter' } timer = { "at ...
- Saturday 15 February 2025 13:37
- Forum: dzVents
- Topic: Error while reading Luxmeter
- Replies: 9
- Views: 1204
Error while reading Luxmeter
All, I could do with some help ;) I just added aTuya wifi Luxmeter. On the UI every thing is working as expected. However if I read the settings from dzVents I get an error on reading the data. The script is simple: return { on = { -- devices = { 'Luxmeter' } timer = { "at 13:13", } --TESTING ONLY ...
- Thursday 06 February 2025 19:51
- Forum: General Discussion
- Topic: Reading a Tuya Lux meter, is that possible?
- Replies: 2
- Views: 2655
Re: Reading a Tuya Lux meter, is that possible?
@waltervi Thanks for pointing out this topic, seems to solve my problem!
- Sunday 02 February 2025 20:30
- Forum: General Discussion
- Topic: Reading a Tuya Lux meter, is that possible?
- Replies: 2
- Views: 2655
Reading a Tuya Lux meter, is that possible?
All,
I have a Tuya Lux meter. In the Tuya app it is visible and operating normally. However, in Domoticz the meter does not pup-up, although other Tuya devices (mostly light bulbs) are configured and working normally.
Is there a way to access the Lux meter from Domoticz?
I have a Tuya Lux meter. In the Tuya app it is visible and operating normally. However, in Domoticz the meter does not pup-up, although other Tuya devices (mostly light bulbs) are configured and working normally.
Is there a way to access the Lux meter from Domoticz?
- Monday 22 July 2024 20:10
- Forum: Design, usability and languages
- Topic: EU localisation option (replace . with ,)
- Replies: 11
- Views: 5116
Re: EU localisation option (replace . with ,)
I really love Domoticz, however, one thing which is annoying me is the lack of localization :oops: . I do understand that it is Open Source and there is no "business" behind it. But we are in 2024, it’s not 2012. Many non-technical user use Domoticz, it's not techie only system (anymore). I would ( ...
- Monday 24 July 2023 12:31
- Forum: Other questions and discussions
- Topic: How to address global data in dzvents
- Replies: 3
- Views: 469
Re: How to address global data in dzvents
Thank you!! Got it working now.
Followed the wrong tutorial .... RTFM
For those who still need help:
Followed the wrong tutorial .... RTFM

For those who still need help:
- Remove local dg = require ("Global")
- Replace usage of dg into domoticz
- Global script filename must be global_data (not Global)
- Monday 24 July 2023 11:05
- Forum: Other questions and discussions
- Topic: How to address global data in dzvents
- Replies: 3
- Views: 469
How to address global data in dzvents
All, I am trying to adress global data and I only get error messages :? so I must be doing something wrong, but I don't know what. Could any of you help this beginner out? I have a global script called "Global": return { data = { -- Max Helderheid van lampen HelderheidVoordeur = { initial = 100 ...
- Saturday 22 July 2023 12:41
- Forum: Other questions and discussions
- Topic: Can I control only brightness on Tuya light bulb?
- Replies: 0
- Views: 359
Can I control only brightness on Tuya light bulb?
All, I could do with some help. I have a TUYA supported warm white ambiance light bulb (manufactured by LSC). With the Tuya app on my mobile I can influence the brightness, coolwhite and warmwhite settings. My goal is to do this from within a dzvents script. I am using the following code in my ...
- Monday 19 June 2023 10:17
- Forum: dzVents
- Topic: Softly switching off a light (newbie Q)
- Replies: 8
- Views: 616
Re: Softly switching off a light (newbie Q) [SOLVED]
@Kedi: require did the trick!! Thanks again.
- Sunday 18 June 2023 16:47
- Forum: dzVents
- Topic: Softly switching off a light (newbie Q)
- Replies: 8
- Views: 616
Re: Softly switching off a light (newbie Q)
I still could do with some help since I try to create a global function to softly switch off a light. The trouble I have is that it returns an error and I have no clue what I am doing wrong. This is the global function I created: return { -- global persistent data data = { myGlobalVar = { initial ...
- Saturday 10 June 2023 20:34
- Forum: dzVents
- Topic: Softly switching off a light (newbie Q)
- Replies: 8
- Views: 616
Re: Softly switching off a light (newbie Q)
Thanks, only looked at the docs of dzvents, not lua. Example was a great starting point, got it all working now!