Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Dehumidifier/Heater/AC Unit #509

Open
2 tasks done
lukebur06 opened this issue Dec 8, 2024 · 0 comments
Open
2 tasks done

Unsupported Dehumidifier/Heater/AC Unit #509

lukebur06 opened this issue Dec 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lukebur06
Copy link

Prerequisite

  • Yes, I've read the readme completely.

Cache

  • Yes, I've cleaned accessory cache and the issue still exists.

Version

v1.7.0-beta.54

Device Infomation JSON File

{
    "name": "Tuya",
    "options": {
        "projectType": "2",
        "accessId": "",
        "accessKey": "",
        "countryCode": 1,
        "username": "",
        "password": "",
        "appSchema": "tuyaSmart",
        "deviceOverrides": [
            {
                "id": "47125086c45bbee90397",
                "category": "kt",
                "schema": [
                    {
                        "code": "switch_on",
                        "type": "Boolean",
                        "hidden": false
                    },
                    {
                        "code": "set_mode",
                        "type": "Enum",
                        "property": {
                            "range": [
                                "0",
                                "1",
                                "2",
                                "3",
                                "4"
                            ]
                        }
                    },
                    {
                        "code": "set_temper",
                        "type": "Integer",
                        "property": {
                            "unit": "",
                            "min": 13,
                            "max": 32,
                            "scale": 0,
                            "step": 1
                        }
                    },
                    {
                        "code": "wind_speed",
                        "type": "Enum",
                        "property": {
                            "range": [
                                "0",
                                "1",
                                "2",
                                "3"
                            ]
                        }
                    },
                    {
                        "code": "c_f_change",
                        "type": "Boolean"
                    },
                    {
                        "code": "off_timer_min",
                        "type": "Integer",
                        "property": {
                            "unit": "h",
                            "min": 0,
                            "max": 1440,
                            "scale": 0,
                            "step": 60
                        }
                    },
                    {
                        "code": "on_timer_min",
                        "type": "Integer",
                        "property": {
                            "unit": "h",
                            "min": 0,
                            "max": 1440,
                            "scale": 0,
                            "step": 60
                        }
                    },
                    {
                        "code": "wind",
                        "type": "Boolean"
                    },
                    {
                        "code": "sleep_func",
                        "type": "Boolean"
                    },
                    {
                        "code": "f_temper",
                        "type": "Integer",
                        "property": {
                            "unit": "",
                            "min": 55,
                            "max": 90,
                            "scale": 0,
                            "step": 1
                        }
                    },
                    {
                        "code": "force",
                        "type": "Boolean"
                    }
                ]
            }
        ],
        "debug": true
    },
    "platform": "TuyaPlatform"
}

Device Control Mode

DP Instruction

Logs

[07/12/2024, 22:04:18] [Tuya] Initializing TuyaPlatform platform...
[07/12/2024, 22:04:18] Ignoring config for the platform "Nest" in your config.json as the plugin "homebridge-nest" has been disabled.
[07/12/2024, 22:04:18] [Tuya] Loading accessory from cache: Family Room Blind
[07/12/2024, 22:04:18] [Tuya] Loading accessory from cache: Bedside Blind
[07/12/2024, 22:04:18] [Tuya] Loading accessory from cache: Westinghouse WPac + Heat Pump
[07/12/2024, 22:04:18] [Tuya] Log in to Tuya Cloud.
[07/12/2024, 22:04:18] [Tuya] [TuyaOpenAPI] Login to: https://openapi.tuyaus.com
[07/12/2024, 22:04:18] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-01/associated-users/actions/authorized-login
query = null
headers = {
  "t": "1733627058513",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "a9a79f41-b89d-47bc-92bd-bc15412bb06a",
  "Signature-Headers": "client_id",
  "sign": "CD21A2A5C11068D2A31F16AFBEFB640EB7CC24D6AEE3C70D170F9319AECBFAFD",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "country_code": 1,
  "username": "[email protected]",
  "password": "",
  "schema": "tuyaSmart"
}
Setup Payload:
X-HM://0024YISQUK6KA
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 900-10-630 │     
    └────────────┘     
                       
[07/12/2024, 22:04:24] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-01/associated-users/actions/authorized-login
data = {
  "result": {
    "access_token": "8ba84d38b18c01c044e3ba0b7e8f859b",
    "expire_time": 7200,
    "platform_url": "https://openapi.tuyaus.com",
    "refresh_token": "ba1ceb81c27500804dd5a0573d7d2981",
    "uid": "az1693951852239qA1Fd"
  },
  "success": true,
  "t": 1733627064782,
  "tid": "21238f5eb51111efbb1feeec0f1e308d"
}
[07/12/2024, 22:04:24] [Tuya] Start MQTT connection.
[07/12/2024, 22:04:24] [Tuya] Fetching home list.
[07/12/2024, 22:04:24] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-03/open-hub/access-config
query = null
headers = {
  "t": "1733627064829",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "47007459-6280-483c-a39e-4a8d42f1efc0",
  "Signature-Headers": "client_id",
  "sign": "07B7817BFFA24C3DAFEAB525376D67150E384DBBCB4ECB2328C1FDF8B3DF1A61",
  "sign_method": "HMAC-SHA256",
  "access_token": "8ba84d38b18c01c044e3ba0b7e8f859b",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "uid": "az1693951852239qA1Fd",
  "link_id": "f9472554-02af-4485-8188-d7b1c6c129fb",
  "link_type": "mqtt",
  "topics": "device",
  "msg_encrypted_version": "1.0"
}
[07/12/2024, 22:04:24] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaus.com
path = /v1.0/users/az1693951852239qA1Fd/homes
query = undefined
headers = {
  "t": "1733627064830",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "3f01d688-8da0-421a-bf64-83424e39bde2",
  "Signature-Headers": "client_id",
  "sign": "3D1114F1CFFBB9529AEEC49614990E292AC9899B687C0F735CD168B31E73C18A",
  "sign_method": "HMAC-SHA256",
  "access_token": "8ba84d38b18c01c044e3ba0b7e8f859b",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = null
[07/12/2024, 22:04:24] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[07/12/2024, 22:04:25] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-03/open-hub/access-config
data = {
  "result": {
    "client_id": "cloud_new4f2bc36e23d59250adcd38a7d026c5f6",
    "expire_time": 7200,
    "password": "d2333639853fcc4f69411cfc6f497228",
    "sink_topic": {
      "device": "cloud/token/out/{device_id}"
    },
    "source_topic": {
      "device": "cloud/token/in/new7899ffe67a666af22df32140a6a4b127"
    },
    "url": "ssl://m1.tuyaus.com:8883",
    "username": "cloud_new7899ffe67a666af22df32140a6a4b127"
  },
  "success": true,
  "t": 1733627064912,
  "tid": "21425581b51111efa2cae6bb15587f28"
}
[07/12/2024, 22:04:25] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/users/az1693951852239qA1Fd/homes
data = {
  "code": 28841002,
  "msg": "No permissions. Your subscription to cloud development plan has expired.",
  "success": false,
  "t": 1733627065183,
  "tid": "2166a9cdb51111efa2cae6bb15587f28"
}
[07/12/2024, 22:04:25] [Tuya] [TuyaOpenAPI] API subscription expired. Please renew the API subscription at Tuya IoT Platform.
[07/12/2024, 22:04:25] [Tuya] Fetching home list failed. code=28841002, msg=No permissions. Your subscription to cloud development plan has expired.
[07/12/2024, 22:10:00] [Tuya] Initializing TuyaPlatform platform...
[07/12/2024, 22:10:00] Ignoring config for the platform "Nest" in your config.json as the plugin "homebridge-nest" has been disabled.
[07/12/2024, 22:10:00] [Tuya] Loading accessory from cache: Family Room Blind
[07/12/2024, 22:10:00] [Tuya] Loading accessory from cache: Bedside Blind
[07/12/2024, 22:10:00] [Tuya] Loading accessory from cache: Westinghouse WPac + Heat Pump
[07/12/2024, 22:10:00] [Tuya] Log in to Tuya Cloud.
[07/12/2024, 22:10:00] [Tuya] [TuyaOpenAPI] Login to: https://openapi.tuyaus.com
[07/12/2024, 22:10:01] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-01/associated-users/actions/authorized-login
query = null
headers = {
  "t": "1733627401348",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "d899e07f-72ce-4a9c-b2a9-434b49f65e49",
  "Signature-Headers": "client_id",
  "sign": "A5A39584A512D45F0E039BE7023AB5004E8F622D562C505A3CFD0F55F8D9D23E",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "country_code": 1,
  "username": "[email protected]",
  "password": "",
  "schema": "tuyaSmart"
}
Setup Payload:
X-HM://0024YISQUK6KA
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 900-10-630 │     
    └────────────┘     
                       
[07/12/2024, 22:10:07] [Tuya] [TuyaOpenAPI] Network error: . Retrying...
[07/12/2024, 22:10:08] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-01/associated-users/actions/authorized-login
data = {
  "result": {
    "access_token": "e7655b0760cfcbc6701d1a7fae8bb2c1",
    "expire_time": 7200,
    "platform_url": "https://openapi.tuyaus.com",
    "refresh_token": "f06ccfdbb4dfa6f50a36250c2c97d39c",
    "uid": "az1693951852239qA1Fd"
  },
  "success": true,
  "t": 1733627408301,
  "tid": "ede57540b51111ef873a3ef6b88e53e5"
}
[07/12/2024, 22:10:08] [Tuya] Start MQTT connection.
[07/12/2024, 22:10:08] [Tuya] Fetching home list.
[07/12/2024, 22:10:08] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-03/open-hub/access-config
query = null
headers = {
  "t": "1733627408350",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "e56550ae-7148-4cfb-b00f-4e0a62863fb7",
  "Signature-Headers": "client_id",
  "sign": "4D00A3EB3D5E24E060E6C8D8690CBDE65B8DCBFF4F2831AE53D7FE246774B204",
  "sign_method": "HMAC-SHA256",
  "access_token": "e7655b0760cfcbc6701d1a7fae8bb2c1",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "uid": "az1693951852239qA1Fd",
  "link_id": "67f2ff69-8d76-47a8-b8fe-288d0372c12d",
  "link_type": "mqtt",
  "topics": "device",
  "msg_encrypted_version": "1.0"
}
[07/12/2024, 22:10:08] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaus.com
path = /v1.0/users/az1693951852239qA1Fd/homes
query = undefined
headers = {
  "t": "1733627408351",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "303fccfd-20af-461b-9368-615ea64cd017",
  "Signature-Headers": "client_id",
  "sign": "22CFB0D39F5027D42B2A6AE10CE547D5A7EEAA8D26635F8BE5D98B59183BCA5F",
  "sign_method": "HMAC-SHA256",
  "access_token": "e7655b0760cfcbc6701d1a7fae8bb2c1",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = null
[07/12/2024, 22:10:08] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-03/open-hub/access-config
data = {
  "result": {
    "client_id": "cloud_new0abe657a49a131f6f7e7e63b8a937c71",
    "expire_time": 7200,
    "password": "d2333639853fcc4f69411cfc6f497228",
    "sink_topic": {
      "device": "cloud/token/out/{device_id}"
    },
    "source_topic": {
      "device": "cloud/token/in/new7899ffe67a666af22df32140a6a4b127"
    },
    "url": "ssl://m1.tuyaus.com:8883",
    "username": "cloud_new7899ffe67a666af22df32140a6a4b127"
  },
  "success": true,
  "t": 1733627408422,
  "tid": "ee02ec12b51111ef873a3ef6b88e53e5"
}
[07/12/2024, 22:10:09] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/users/az1693951852239qA1Fd/homes
data = {
  "code": 28841002,
  "msg": "No permissions. Your subscription to cloud development plan has expired.",
  "success": false,
  "t": 1733627409276,
  "tid": "ee84adbcb51111efbb1feeec0f1e308d"
}
[07/12/2024, 22:10:09] [Tuya] [TuyaOpenAPI] API subscription expired. Please renew the API subscription at Tuya IoT Platform.
[07/12/2024, 22:10:09] [Tuya] Fetching home list failed. code=28841002, msg=No permissions. Your subscription to cloud development plan has expired.
[07/12/2024, 22:12:02] [Tuya] Initializing TuyaPlatform platform...
[07/12/2024, 22:12:02] Ignoring config for the platform "Nest" in your config.json as the plugin "homebridge-nest" has been disabled.
[07/12/2024, 22:12:02] [Tuya] Loading accessory from cache: Family Room Blind
[07/12/2024, 22:12:02] [Tuya] Loading accessory from cache: Bedside Blind
[07/12/2024, 22:12:02] [Tuya] Loading accessory from cache: Westinghouse WPac + Heat Pump
[07/12/2024, 22:12:03] [Tuya] Log in to Tuya Cloud.
[07/12/2024, 22:12:03] [Tuya] [TuyaOpenAPI] Login to: https://openapi.tuyaus.com
[07/12/2024, 22:12:03] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-01/associated-users/actions/authorized-login
query = null
headers = {
  "t": "1733627523418",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "ec32664b-0024-421a-b5e8-9b3be9a32d51",
  "Signature-Headers": "client_id",
  "sign": "CAB6BC65498351EDE5E696F7CCF578B36C3CE097C320BBC21B4940214EB0457C",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "country_code": 1,
  "username": "[email protected]",
  "password": "",
  "schema": "tuyaSmart"
}
Setup Payload:
X-HM://0024YISQUK6KA
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 900-10-630 │     
    └────────────┘     
                       
[07/12/2024, 22:12:09] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-01/associated-users/actions/authorized-login
data = {
  "result": {
    "access_token": "d38b635a2772722f2878a140032fba3e",
    "expire_time": 7200,
    "platform_url": "https://openapi.tuyaus.com",
    "refresh_token": "a2d742b1ab9060ec2e4247010b60923d",
    "uid": "az1693951852239qA1Fd"
  },
  "success": true,
  "t": 1733627529524,
  "tid": "3624c4a1b51211efa2cae6bb15587f28"
}
[07/12/2024, 22:12:09] [Tuya] Start MQTT connection.
[07/12/2024, 22:12:09] [Tuya] Fetching home list.
[07/12/2024, 22:12:09] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-03/open-hub/access-config
query = null
headers = {
  "t": "1733627529593",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "d705edc7-057d-4323-8dfa-fd714bc9a209",
  "Signature-Headers": "client_id",
  "sign": "D074AFB4D9B81E42559FD431186A9AB052F47B2F126D36C6731125A20D15D6B7",
  "sign_method": "HMAC-SHA256",
  "access_token": "d38b635a2772722f2878a140032fba3e",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "uid": "az1693951852239qA1Fd",
  "link_id": "8663810e-058f-41b7-afe4-4e1746aa9262",
  "link_type": "mqtt",
  "topics": "device",
  "msg_encrypted_version": "1.0"
}
[07/12/2024, 22:12:09] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaus.com
path = /v1.0/users/az1693951852239qA1Fd/homes
query = undefined
headers = {
  "t": "1733627529593",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "e0bc5178-7a33-48a9-b4b8-220910e529ad",
  "Signature-Headers": "client_id",
  "sign": "4D87A322575CA7257994506B2D5D0BF8D3B318B4ABBEAD862AFED28089C72A9A",
  "sign_method": "HMAC-SHA256",
  "access_token": "d38b635a2772722f2878a140032fba3e",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = null
[07/12/2024, 22:12:09] Loaded 0 cached accessories from cachedAccessories.0E8567D762C1.
[07/12/2024, 22:12:09] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-03/open-hub/access-config
data = {
  "result": {
    "client_id": "cloud_new4f8bc9c499718740fe377b419b017de9",
    "expire_time": 7200,
    "password": "d2333639853fcc4f69411cfc6f497228",
    "sink_topic": {
      "device": "cloud/token/out/{device_id}"
    },
    "source_topic": {
      "device": "cloud/token/in/new7899ffe67a666af22df32140a6a4b127"
    },
    "url": "ssl://m1.tuyaus.com:8883",
    "username": "cloud_new7899ffe67a666af22df32140a6a4b127"
  },
  "success": true,
  "t": 1733627529671,
  "tid": "3647236eb51211efa2cae6bb15587f28"
}
[07/12/2024, 22:12:10] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/users/az1693951852239qA1Fd/homes
data = {
  "code": 28841002,
  "msg": "No permissions. Your subscription to cloud development plan has expired.",
  "success": false,
  "t": 1733627530083,
  "tid": "3687efbcb51211ef873a3ef6b88e53e5"
}
[07/12/2024, 22:12:10] [Tuya] [TuyaOpenAPI] API subscription expired. Please renew the API subscription at Tuya IoT Platform.
[07/12/2024, 22:12:10] [Tuya] Fetching home list failed. code=28841002, msg=No permissions. Your subscription to cloud development plan has expired.
[07/12/2024, 22:12:09] Homebridge v1.8.5 (HAP v0.12.3) (homebridge-leviton) is running on port 34382.
[07/12/2024, 22:12:09] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[07/12/2024, 22:12:09] Homebridge v1.8.5 (HAP v0.12.3) (Levoit Humidifiers) is running on port 44443.
[07/12/2024, 23:26:58] [Tuya] Initializing TuyaPlatform platform...
[07/12/2024, 23:26:58] Ignoring config for the platform "Nest" in your config.json as the plugin "homebridge-nest" has been disabled.
[07/12/2024, 23:26:58] [Tuya] Loading accessory from cache: Family Room Blind
[07/12/2024, 23:26:58] [Tuya] Loading accessory from cache: Bedside Blind
[07/12/2024, 23:26:58] [Tuya] Loading accessory from cache: Westinghouse WPac + Heat Pump
[07/12/2024, 23:26:59] [Tuya] Log in to Tuya Cloud.
[07/12/2024, 23:26:59] [Tuya] [TuyaOpenAPI] Login to: https://openapi.tuyaus.com
[07/12/2024, 23:26:59] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-01/associated-users/actions/authorized-login
query = null
headers = {
  "t": "1733632019427",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "fbe15763-1853-47ff-99ca-1cf6d0165b25",
  "Signature-Headers": "client_id",
  "sign": "BF06605C087778DD3E054735E816DE74C07964513783775427E055D3F32EBB57",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "country_code": 1,
  "username": "[email protected]",
  "password": "",
  "schema": "tuyaSmart"
}
Setup Payload:
X-HM://0024YISQUK6KA
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 900-10-630 │     
    └────────────┘     
                       
[07/12/2024, 23:27:05] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-01/associated-users/actions/authorized-login
data = {
  "result": {
    "access_token": "4e1dcdc45cf547bb183b4eecc6ca6f13",
    "expire_time": 7200,
    "platform_url": "https://openapi.tuyaus.com",
    "refresh_token": "f70e73f0bab92995dfd2bb5728802c13",
    "uid": "az1693951852239qA1Fd"
  },
  "success": true,
  "t": 1733632025112,
  "tid": "adb81a98b51c11ef873a3ef6b88e53e5"
}
[07/12/2024, 23:27:05] [Tuya] Start MQTT connection.
[07/12/2024, 23:27:05] [Tuya] Fetching home list.
[07/12/2024, 23:27:05] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaus.com
path = /v1.0/iot-03/open-hub/access-config
query = null
headers = {
  "t": "1733632025170",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "77246e9f-3003-471b-b523-817129a7dc97",
  "Signature-Headers": "client_id",
  "sign": "52F8F83F4DD9AA63BC1FA7475704EE5EB9A54946FFF1A2BE7F4F4D97C0ECB315",
  "sign_method": "HMAC-SHA256",
  "access_token": "4e1dcdc45cf547bb183b4eecc6ca6f13",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = {
  "uid": "az1693951852239qA1Fd",
  "link_id": "163e03e3-3943-41ae-a512-511e8b8979e6",
  "link_type": "mqtt",
  "topics": "device",
  "msg_encrypted_version": "1.0"
}
[07/12/2024, 23:27:05] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaus.com
path = /v1.0/users/az1693951852239qA1Fd/homes
query = undefined
headers = {
  "t": "1733632025171",
  "client_id": "5seyrjccjkgce7e7n35j",
  "nonce": "81bbb22c-df83-48fc-a3ab-0f772a9f41e5",
  "Signature-Headers": "client_id",
  "sign": "05A7C6DEABA36C461F9C296DCA11C1D72737D7256EA04078BFF288CD1CF54939",
  "sign_method": "HMAC-SHA256",
  "access_token": "4e1dcdc45cf547bb183b4eecc6ca6f13",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.54"
}
body = null
[07/12/2024, 23:27:05] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-03/open-hub/access-config
data = {
  "result": {
    "client_id": "cloud_new51f3067f5c04bc68f6540a2db0417e28",
    "expire_time": 7200,
    "password": "d2333639853fcc4f69411cfc6f497228",
    "sink_topic": {
      "device": "cloud/token/out/{device_id}"
    },
    "source_topic": {
      "device": "cloud/token/in/new7899ffe67a666af22df32140a6a4b127"
    },
    "url": "ssl://m1.tuyaus.com:8883",
    "username": "cloud_new7899ffe67a666af22df32140a6a4b127"
  },
  "success": true,
  "t": 1733632025249,
  "tid": "add8eab3b51c11efbb1feeec0f1e308d"
}
[07/12/2024, 23:27:06] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/users/az1693951852239qA1Fd/homes
data = {
  "code": 28841002,
  "msg": "No permissions. Your subscription to cloud development plan has expired.",
  "success": false,
  "t": 1733632025670,
  "tid": "ae1bafeab51c11ef873a3ef6b88e53e5"
}
[07/12/2024, 23:27:06] [Tuya] [TuyaOpenAPI] API subscription expired. Please renew the API subscription at Tuya IoT Platform.
[07/12/2024, 23:27:06] [Tuya] Fetching home list failed. code=28841002, msg=No permissions. Your subscription to cloud development plan has expired.

Other Infomations

I removed any personal info from these logs. Yes I know I have to renew my Tuya connection, but this was an issue before that expiring. I have a Westinghouse Heater/AC/Dehumidifer all in one unit and no matter what I try to do when configuring this I can't get it to work. Can someone see if they can give me some direction here or does something need to be programmed into this plugin first? Thanks.

@lukebur06 lukebur06 added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant