tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for roomratv smart ceiling fan with light

Open sam7567 opened this issue 6 months ago • 0 comments

Log message

2025-06-20 02:41:56.321 WARNING (MainThread) [custom_components.tuya_local.config_flow] Adding  device with product id t0qzrmur7pyzjuco
2025-06-20 02:41:56.604 WARNING (MainThread) [custom_components.tuya_local.config_flow] Cloud device spec:
[{"id": 1, "name": "switch", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 3, "name": "fan_speed", "type": "Integer", "format": "{\"min\":\"1\",\"max\":\"6\",\"scale\":\"0\",\"step\":\"1\"}", "enumMap": {}}, {"id": 15, "name": "light", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 16, "name": "bright_value", "type": "Integer", "format": "{\"min\":\"0\",\"max\":\"100\",\"scale\":\"0\",\"step\":\"2\"}", "enumMap": {}}, {"id": 17, "name": "temp_value", "type": "Integer", "format": "{\"min\":\"0\",\"max\":\"100\",\"scale\":\"0\",\"step\":\"2\"}", "enumMap": {}}]
2025-06-20 02:41:56.604 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches templeandwebster_alina_fan with quality of 50%. DPS: {"updated_at": 1750401713.6925917, "1": false, "8": "forward", "15": false, "16": 83, "17": 100, "22": "cancel"}
2025-06-20 02:41:56.604 WARNING (MainThread) [custom_components.tuya_local.config_flow] Include the previous log messages with any new device request to https://github.com/make-all/tuya-local/issues/

Product ID

t0qzrmur7pyzjuco

Product Name

Roomratv smart ceiling fan with light

DPS information

DEBUG:localtuya.pytuya:[ebe...pjy] Deciphered data = '{"dps":{"1":false,"8":"forward","15":false,"16":83,"17":100,"22":"cancel"}}'
AVAILABLE DPS ARE [{'1': False, '8': 'forward', '15': False, '16': 83, '17': 100, '22': 'cancel'}]
INFO:localtuya:COMPLETE response from device ebef18cc5f3b322cb59pjy [192.168.7.31].

**** deviceInfo returned OK ****

TuyaDebug (Tuya DPs dump) [1.0.0]

Device ebef18cc5f3b322cb59pjy at 192.168.7.31 key lVze8g>>]ks/z)R2 protocol 3.3 dev_type type_0a:
    DPS [1] VALUE [False] 
    DPS [8] VALUE [forward] 
    DPS [15] VALUE [False] 
    DPS [16] VALUE [83] 
    DPS [17] VALUE [100] 
    DPS [22] VALUE [cancel]

Information about how the device functions

As discussed in discussion, opening request to add support for roomratv smart ceiling fan with light

Can not provide DPS info from iot.tuya.com as it throws error as below:

{
  "code": 40001900,
  "msg": "No space permission",
  "success": false,
  "t": 1750403745500,
  "tid": "621c8ce34da611f0aa735aed1aeae571"
}

Device: roomratv smart ceiling fan with light

It is possible to discover both the fan and light entity using integrated tuya but tuna-local only discovering fan entity.

Here is more info captured from tinytuya

{
        "name": "Master Bedroom Fan",
        "id": "xxxxxx",
        "key": "xxxxxx",
        "mac": "xxxxxx",
        "uuid": "xxxxxx",
        "sn": "xxxxxx",
        "category": "fs",
        "product_name": "",
        "product_id": "t0qzrmur7pyzjuco",
        "biz_type": 0,
        "model": "SF-52",
        "sub": false,
        "icon": "https://images.tuyaus.com/smart/icon/ay1540882177261iTAUO/55bba57fc88d7744bcdc8f541384b126.jpg",
        "mapping": {
            "1": {
                "code": "switch",
                "type": "Boolean",
                "values": {}
            },
            "3": {
                "code": "fan_speed_percent",
                "type": "Integer",
                "values": {
                    "min": "1",
                    "max": "6",
                    "scale": "0",
                    "step": "1"
                }
            },
            "15": {
                "code": "light",
                "type": "Boolean",
                "values": {}
            },
            "16": {
                "code": "bright_value",
                "type": "Integer",
                "values": {
                    "min": "0",
                    "max": "100",
                    "scale": "0",
                    "step": "2"
                }
            },
            "17": {
                "code": "temp_value",
                "type": "Integer",
                "values": {
                    "min": "0",
                    "max": "100",
                    "scale": "0",
                    "step": "2"
                }
            }
        },
        "ip": "xxxxxx",
        "version": "3.3"
    }

sam7567 avatar Jun 20 '25 07:06 sam7567