Xenomes / Domoticz-TUYA-Plugin

Implements the special Tuya Home Assistant API.
22 stars 8 forks source link

Error: (Tuya) handleThread: Get accesstoken failed. Username or password error! line 194 #5

Closed MauritzAntunes closed 3 years ago

MauritzAntunes commented 3 years ago

Hello, I'm trying to use your plugin to integrate my smartlife devices into my domoticz server and I'm getting the error below. Could you help me to see what the problem is?

2020-12-27 12:30:25.701 Status: (Tuya) Started. 2020-12-27 12:30:26.320 (Tuya) TUYA plugin started 2020-12-27 12:30:26.321 (Tuya) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE 2020-12-27 12:30:26.321 (Tuya) 'HardwareID':'14' 2020-12-27 12:30:26.321 (Tuya) 'HomeFolder':'/opt/domoticz/plugins/Domoticz-TUYA-Plugin/' 2020-12-27 12:30:26.321 (Tuya) 'StartupFolder':'/opt/domoticz/' 2020-12-27 12:30:26.321 (Tuya) 'UserDataFolder':'/opt/domoticz/' 2020-12-27 12:30:26.321 (Tuya) 'Database':'/config/domoticz.db' 2020-12-27 12:30:26.321 (Tuya) 'Language':'pt' 2020-12-27 12:30:26.321 (Tuya) 'Version':'1.0.3' 2020-12-27 12:30:26.322 (Tuya) 'Author':'Wagner Oliveira' 2020-12-27 12:30:26.322 (Tuya) 'Name':'Tuya' 2020-12-27 12:30:26.322 (Tuya) 'Port':'0' 2020-12-27 12:30:26.322 (Tuya) 'Username':'xxxxxxxxxxxx@gmail.com' 2020-12-27 12:30:26.322 (Tuya) 'Password':'xxxxxxxxxxxx' 2020-12-27 12:30:26.322 (Tuya) 'Key':'tuya' 2020-12-27 12:30:26.322 (Tuya) 'Mode1':'55' 2020-12-27 12:30:26.322 (Tuya) 'Mode2':'smart_life' 2020-12-27 12:30:26.322 (Tuya) 'Mode6':'-1' 2020-12-27 12:30:26.322 (Tuya) 'DomoticzVersion':'2020.2 (build 12732)' 2020-12-27 12:30:26.323 (Tuya) 'DomoticzHash':'fc9c7c2d0-modified' 2020-12-27 12:30:26.323 (Tuya) 'DomoticzBuildTime':'2020-12-07 11:53:06' 2020-12-27 12:30:26.323 (Tuya) Device count: 0 2020-12-27 12:30:26.324 (Tuya) in handlethread 2020-12-27 12:30:26.318 Status: (Tuya) Entering work loop. 2020-12-27 12:30:26.318 Status: (Tuya) Initialized version 1.0.3, author 'Wagner Oliveira' 2020-12-27 12:30:27.358 Error: (Tuya) handleThread: Get accesstoken failed. Username or password error! line 194 2020-12-27 12:30:36.320 (Tuya) Pushing 'onHeartbeatCallback' on to queue 2020-12-27 12:30:36.346 (Tuya) Processing 'onHeartbeatCallback' message 2020-12-27 12:30:36.346 (Tuya) Calling message handler 'onHeartbeat'. 2020-12-27 12:30:36.346 (Tuya) onHeartbeat called time=1609083036.346605 2020-12-27 12:30:36.348 (Tuya) in handlethread 2020-12-27 12:30:36.584 Error: (Tuya) handleThread: login rate limited line 196 2020-12-27 12:30:46.324 (Tuya) Pushing 'onHeartbeatCallback' on to queue 2020-12-27 12:30:46.341 (Tuya) Processing 'onHeartbeatCallback' message 2020-12-27 12:30:46.342 (Tuya) Calling message handler 'onHeartbeat'. 2020-12-27 12:30:46.342 (Tuya) onHeartbeat called time=1609083046.342876 2020-12-27 12:30:46.344 (Tuya) in handlethread 2020-12-27 12:30:46.577 Error: (Tuya) handleThread: login rate limited line 196

Thanks!

Xenomes commented 3 years ago

There is a problem with Gmail addresses, I don't know why haven't researched yet. See https://www.domoticz.com/forum/viewtopic.php?p=266852#p266852