Tuya off-linee

  • Platform information:
    • Hardware: Orangepi 3LTS
    • OS: Armbian
    • Java Runtime Environment: 17
    • openHAB version: 4.2.1
  • Issue of the topic: Tuya servic is offline

After updating Armbian I lost contact to the Tuya cloud service today. Any ideas what this may be?

2024-08-28 19:15:42.474 [WARN ] [ding.tuya.internal.cloud.TuyaOpenAPI] - Request failed: Result{timestamp=1724861742453, code=1106, msg=permission deny, success=false, result=null}, no token received
2024-08-28 19:16:42.567 [WARN ] [ding.tuya.internal.cloud.TuyaOpenAPI] - Request failed: Result{timestamp=1724861802543, code=1106, msg=permission deny, success=false, result=null}, no token received
2024-08-28 19:17:42.659 [WARN ] [ding.tuya.internal.cloud.TuyaOpenAPI] - Request failed: Result{timestamp=1724861862630, code=1106, msg=permission deny, success=false, result=null}, no token received
2024-08-28 19:18:42.767 [WARN ] [ding.tuya.internal.cloud.TuyaOpenAPI] - Request failed: Result{timestamp=1724861922744, code=1106, msg=permission deny, success=false, result=null}, no token received

I know nothing about Tuya nor it’s API. But the warning implies it’s using OAuth 2 or something like that and it’s failing to retrieve the authentication token. Maybe the binding stores the refresh token in temporary storage that was lost or something like that.

The first thing I would try is to go through the initial setup process you went through to set up the Thing in the first palce all over again. If you need to delete and recreate the Thing in this process, take note of the Thing UID. If you change the UID to match when you recreate the Thing, any subThings and links to Items will work unchanged. You can only change the Thing UID when the Thing is first created through.

1 Like