Removed lightsensors from domoticz, git pull, domoticz restart.
Still two "LightSensor (Lux)" .. Now the script for idx 3881:
and for 3882 it's the same.
Removed both from domoticz and removed lightsensor from tuya app. Then restarted domoticz.
No Lightsensors more in Domticz. Added lightsensor back into tuya app (virtual id ends with j3je). And waited to have domoticz picked it up, it didn't pick it up. Gave it another round .... nope.
To give you as much as possible loginfo, I restarted domoticz and captured all tuya info and funny enough the lightsensor was back in business
Code: Select all
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Initialized version 2.1.5, author 'Xenomes'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: TinyTUYA 2.1.5 plugin started
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: TinyTuyaVersion:1.16.1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'HardwareID':'39'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'HomeFolder':'/home/pi/domoticz/plugins/Domoticz-TinyTUYA-Plugin/'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'StartupFolder':'/home/pi/domoticz/'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'UserDataFolder':'/home/pi/domoticz/'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Database':'/home/pi/domoticz/domoticz.db'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Language':'nl'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Version':'2.1.5'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Author':'Xenomes'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Name':'Tuya'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Port':'0'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Username':'XXXXXXXXX'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Password':'YYYYYYYYYYYYYYYY'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Key':'tinytuya'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Mode1':'eu'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Mode2':'bff031e154ecf8410di3su'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Mode3':'900'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'Mode6':'-1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'DomoticzVersion':'2024.7'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'DomoticzHash':'b317cfab1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: 'DomoticzBuildTime':'2024-07-13 16:59:31'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device count: 12
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf0141ce43ae6f6c15n56n'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Buitenlamp Buitenschuur'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: 'False'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 80
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf3bfc5a790cbb6f19uhda'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor R3'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf46ab2b9cf8c5a2d2mdux'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor L2'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf52465a4379790e38fxxf'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Leeslamp Links'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: ''
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf67a7b5935a04d109t7tx'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Kantoor Werk'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: 'False'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 45
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bf79533fed518d0cb8ab3d'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Kantoor Privé'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: ''
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bfbc098077ac08f6fcsfdg'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Leeslamp Rechts'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: ''
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 0
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bfc0ed4f157da6f270gj01'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor R1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bfeb7b2f46ddac2cecfmdq'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor L1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bfeda5e343405d58e9dzdr'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor R2'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bff031e154ecf8410di3su'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Voordeur'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '100'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 100
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Device ID: 'bffd8f91e28fa61c11qjte'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Count: '1'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit Name: 'Sierverlichting Voor L3'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit nValue: 1
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit sValue: '51'
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: --->Unit LastLevel: 51
feb 17 20:40:51 domoticz domoticz[25873]: Tuya: Pushing 'PollIntervalDirective' on to queue
feb 17 20:40:54 domoticz domoticz[25873]: Tuya: Scanning for tuya devices on network...
feb 17 20:40:54 domoticz domoticz[25873]: Remeha: Error making GET request: 'outdoorTemperature'
feb 17 20:41:00 domoticz domoticz[25873]: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
feb 17 20:41:03 domoticz domoticz[25873]: [web:443] Incoming connection from: 192.168.2.1
feb 17 20:41:03 domoticz domoticz[25873]: [web:443] Incoming connection from: 192.168.2.1
feb 17 20:41:07 domoticz domoticz[25873]: [web:8080] Incoming connection from: 192.168.2.18
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name=LightSensor id=bf39941f542926bc26j3je category=sensor
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= LightSensor id= bf39941f542926bc26j3je FunctionProperties= [{'code': 'find_me', 'desc': '{}', 'name': '找到我', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= LightSensor id= bf39941f542926bc26j3je StatusProperties= [{'code': 'bright_state', 'name': '亮度检测状态', 'type': 'Enum', 'values': '{"range":["low","middle","high"]}'}, {'code': 'bright_value', 'name': '亮度值', 'type': 'Integer', 'values': '{"unit":"LUX","min":0,"max":1000,"scale":0,"step":1}'}, {'code': 'find_me', 'name': '找到我', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= LightSensor id= bf39941f542926bc26j3je result= [{'code': 'bright_state', 'value': 'middle'}, {'code': 'bright_value', 'value': 61}, {'code': 'find_me', 'value': False}]
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Run Startup script
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: (Tuya) Creating Unit 'LightSensor (Lux)'.
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Update devices in Domoticz
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Update device value: bf39941f542926bc26j3je Unit: 10 sValue: 61 nValue: 0 TimedOut=0
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name=Kantoor Privé id=bf79533fed518d0cb8ab3d category=light
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= Kantoor Privé id= bf79533fed518d0cb8ab3d FunctionProperties= [{'code': 'switch_led', 'desc': '{}', 'name': '开关', 'type': 'Boolean', 'values': '{}'}, {'code': 'work_mode', 'desc': '{"range":["white","colour","scene","music"]}', 'name': '模式', 'type': 'Enum', 'values': '{"range":["white","colour","scene","music"]}'}, {'code': 'bright_value', 'desc': '{"min":10,"max":1000,"scale":0,"step":1}', 'name': '白光亮度', 'type': 'Integer', 'values': '{"min":10,"max":1000,"scale":0,"step":1}'}, {'code': 'temp_value', 'desc': '{"min":0,"max":1000,"scale":0,"step":1}', 'name': '冷暖值', 'type': 'Integer', 'values': '{"min":0,"max":1000,"scale":0,"step":1}'}, {'code': 'colour_data', 'desc': '{"maxlen":255}', 'name': '彩光', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'scene_data', 'desc': '{"maxlen":255}', 'name': '场景', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'countdown', 'desc': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}', 'name': '倒计时', 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}'}, {'code': 'control_data', 'desc': '{"maxlen":255}', 'name': '实时调节', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'debug_data', 'desc': '{"maxlen":255}', 'name': 'Gamma调试', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'rhythm_mode', 'desc': '{"maxlen":255}', 'name': '生物节律', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'sleep_mode', 'desc': '{"maxlen":255}', 'name': '灯光助眠', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'wakeup_mode', 'desc': '{"maxlen":255}', 'name': '灯光唤醒', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'remote_switch', 'desc': '{}', 'name': 'Wi-Fi遥控器开关', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= Kantoor Privé id= bf79533fed518d0cb8ab3d StatusProperties= [{'code': 'switch_led', 'name': '开关', 'type': 'Boolean', 'values': '{}'}, {'code': 'work_mode', 'name': '模式', 'type': 'Enum', 'values': '{"range":["white","colour","scene","music"]}'}, {'code': 'bright_value', 'name': '白光亮度', 'type': 'Integer', 'values': '{"min":10,"max":1000,"scale":0,"step":1}'}, {'code': 'temp_value', 'name': '冷暖值', 'type': 'Integer', 'values': '{"min":0,"max":1000,"scale":0,"step":1}'}, {'code': 'colour_data', 'name': '彩光', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'scene_data', 'name': '场景', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'countdown', 'name': '倒计时', 'type': 'Integer', 'values': '{"unit":"s","min":0,"max":86400,"scale":0,"step":1}'}, {'code': 'debug_data', 'name': 'Gamma调试', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'rhythm_mode', 'name': '生物节律', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'sleep_mode', 'name': '灯光助眠', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'wakeup_mode', 'name': '灯光唤醒', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'remote_switch', 'name': 'Wi-Fi遥控器开关', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:12 domoticz domoticz[25873]: Tuya: Device name= Kantoor Privé id= bf79533fed518d0cb8ab3d result= [{'code': 'switch_led', 'value': False}, {'code': 'work_mode', 'value': 'colour'}, {'code': 'bright_value', 'value': 208}, {'code': 'temp_value', 'value': 150}, {'code': 'colour_data', 'value': '010b03e8005f'}, {'code': 'scene_data', 'value': '000e0d0000000000000000c80000'}, {'code': 'countdown', 'value': 0}, {'code': 'debug_data', 'value': ''}, {'code': 'rhythm_mode', 'value': 'AAAAAAA='}, {'code': 'sleep_mode', 'value': 'AAA='}, {'code': 'wakeup_mode', 'value': 'AAA='}, {'code': 'remote_switch', 'value': True}]
---- removed data to save space :) ---
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Device name=Sierverlichting Voor R3 id=bf3bfc5a790cbb6f19uhda category=light
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Device name= Sierverlichting Voor R3 id= bf3bfc5a790cbb6f19uhda FunctionProperties= [{'code': 'switch_led', 'desc': '{}', 'name': '开关', 'type': 'Boolean', 'values': '{}'}, {'code': 'work_mode', 'desc': '{"range":["white","colour","scene","music"]}', 'name': '模式', 'type': 'Enum', 'values': '{"range":["white","colour","scene","music"]}'}, {'code': 'bright_value', 'desc': '{"min":10,"max":1000,"scale":0,"step":1}', 'name': '亮度值', 'type': 'Integer', 'values': '{"min":10,"max":1000,"scale":0,"step":1}'}, {'code': 'temp_value', 'desc': '{"min":0,"max":1000,"scale":0,"step":1}', 'name': '冷暖值', 'type': 'Integer', 'values': '{"min":0,"max":1000,"scale":0,"step":1}'}, {'code': 'scene_data', 'desc': '{"maxlen":255}', 'name': '场景', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'countdown', 'desc': '{"min":0,"max":86400,"scale":0,"step":1}', 'name': '倒计时', 'type': 'Integer', 'values': '{"min":0,"max":86400,"scale":0,"step":1}'}, {'code': 'control_data', 'desc': '{"maxlen":255}', 'name': '调节', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'debug_data', 'desc': '{"maxlen":255}', 'name': '调试', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'rhythm_mode', 'desc': '{"maxlen":255}', 'name': '生物节律', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'sleep_mode', 'desc': '{"maxlen":255}', 'name': '入睡计划', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'wakeup_mode', 'desc': '{"maxlen":255}', 'name': '唤醒计划', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'remote_switch', 'desc': '{}', 'name': '遥控器开关', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Device name= Sierverlichting Voor R3 id= bf3bfc5a790cbb6f19uhda StatusProperties= [{'code': 'switch_led', 'name': '开关', 'type': 'Boolean', 'values': '{}'}, {'code': 'work_mode', 'name': '模式', 'type': 'Enum', 'values': '{"range":["white","colour","scene","music"]}'}, {'code': 'bright_value', 'name': '亮度值', 'type': 'Integer', 'values': '{"min":10,"max":1000,"scale":0,"step":1}'}, {'code': 'temp_value', 'name': '冷暖值', 'type': 'Integer', 'values': '{"min":0,"max":1000,"scale":0,"step":1}'}, {'code': 'scene_data', 'name': '场景', 'type': 'String', 'values': '{"maxlen":255}'}, {'code': 'countdown', 'name': '倒计时', 'type': 'Integer', 'values': '{"min":0,"max":86400,"scale":0,"step":1}'}, {'code': 'rhythm_mode', 'name': '生物节律', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'sleep_mode', 'name': '入睡计划', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'wakeup_mode', 'name': '唤醒计划', 'type': 'Raw', 'values': '{"maxlen":255}'}, {'code': 'remote_switch', 'name': '遥控器开关', 'type': 'Boolean', 'values': '{}'}]
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Device name= Sierverlichting Voor R3 id= bf3bfc5a790cbb6f19uhda result= [{'code': 'switch_led', 'value': True}, {'code': 'work_mode', 'value': 'white'}, {'code': 'bright_value', 'value': 515}, {'code': 'temp_value', 'value': 222}, {'code': 'scene_data', 'value': '000e0d0000000000000000c80000'}, {'code': 'countdown', 'value': 0}, {'code': 'rhythm_mode', 'value': 'AAAAAAA='}, {'code': 'sleep_mode', 'value': 'AAA='}, {'code': 'wakeup_mode', 'value': 'AAA='}, {'code': 'remote_switch', 'value': True}]
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Acquiring GIL for 'onStartCallback'
feb 17 20:41:16 domoticz domoticz[25873]: Tuya: Processing 'PollIntervalDirective' message
this is getting somewhere. But in the devices list it's listed twice, idx 3881 and 3882. Now the script, first 3881
Yep, both give the correct data.
Any idea how to continue...