xZetsubou / hass-localtuya

🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
https://xzetsubou.github.io/hass-localtuya/
GNU General Public License v3.0
381 stars 43 forks source link

Add support for Tadiran Air Conditioner #146

Closed Fannangir closed 6 months ago

Fannangir commented 7 months ago

Hi, Could you please add support for the Tadiran Air Conditioner same as available in Tuya Local? It would be great that it would be supported by Local Tuya as well. Here is all the needed information from Tuya Local:

name: Tadiran air conditioner products:

xZetsubou commented 7 months ago

Download and post the entry diagnostics. You should find the device data inside it in cloud objects

Fannangir commented 7 months ago

Here it is. redacted local id and key.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.2.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.1",
    "docker": true,
    "arch": "x86_64",
    "os_name": "Linux",
    "os_version": "6.1.74-haos",
    "supervisor": "2024.01.1",
    "host_os": "Home Assistant OS 11.5",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "localtuya": {
      "version": "3.2.4.2",
      "requirements": []
    },
    "tuya_local": {
      "version": "2024.2.0",
      "requirements": [
        "tinytuya==1.13.1"
      ]
    },
    "hacs": {
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
  "integration_manifest": {
    "domain": "localtuya",
    "name": "Local Tuya",
    "codeowners": [],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/xZetsubou/hass-localtuya/",
    "integration_type": "hub",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/xZetsubou/hass-localtuya/issues",
    "requirements": [],
    "version": "3.2.4.2",
    "is_built_in": false
  },
  "data": {
    "device_config": {
      "friendly_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "host": "192.168.1.190",
      "device_id": "...",
      "local_key": "...",
      "protocol_version": "3.3",
      "enable_debug": false,
      "node_id": null,
      "model": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "product_key": "hyfpizc9xabvyyl3",
      "dps_strings": [
        "1 ( code: switch , value: True )",
        "2 ( code: temp_set , value: 26 )",
        "3 ( code: temp_current , value: 250 )",
        "4 ( code: mode , value: heating )",
        "5 ( code: fan_speed_enum , value: low )",
        "101 ( code: idu_error , value: 0 )",
        "102 ( code: air_return , value: 280 )",
        "103 ( code: coil_out , value: 570 )",
        "104 ( code: running_fan_speed , value: low )",
        "105 ( code: odu_fan_speed , value: stop )",
        "106 ( code: ambien , value: -300 )",
        "107 ( code: compressor_command , value: True )",
        "108 ( code: fout_way_valve , value: True )"
      ],
      "entities": [
        {
          "id": "1",
          "target_temperature_dp": "2",
          "current_temperature_dp": "3",
          "hvac_mode_dp": "4",
          "min_temp": 7,
          "max_temp": 35,
          "hvac_mode_set": {
            "Cooling": "cooling",
            "Heating": "heating",
            "Dehum": "dehum",
            "Fan": "fan",
            "auto": "auto"
          },
          "min_temperature": -2000,
          "max_temperature": 2000,
          "temperature_step": 1,
          "hvac_action_set": {
            "heating": "heating",
            "cooling": "cooling"
          },
          "temperature_unit": "celsius",
          "precision": 0.1,
          "target_precision": 0.1,
          "friendly_name": "",
          "icon": "",
          "entity_category": "None",
          "platform": "climate"
        }
      ]
    },
    "device_cloud_info": {
      "active_time": 1624532223,
      "biz_type": 18,
      "category": "kt",
      "create_time": 1624529631,
      "icon": "smart/icon/ay1533354078722Ys5ce/eb28942841cc3358fa4ea3853389fd74.png",
      "id": "...",
      "ip": "7...7",
      "lat": "32.8500",
      "local_key": "...",
      "lon": "35.1100",
      "model": "1.0",
      "name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "online": true,
      "owner_id": "28309820",
      "product_id": "hyfpizc9xabvyyl3",
      "product_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "status": [
        {
          "code": "switch",
          "value": true
        },
        {
          "code": "temp_set",
          "value": 26
        },
        {
          "code": "temp_current",
          "value": 250
        },
        {
          "code": "mode",
          "value": "hot"
        },
        {
          "code": "fan_speed_enum",
          "value": "low"
        }
      ],
      "sub": false,
      "time_zone": "+03:00",
      "uid": "eu1581075264860cAQo6",
      "update_time": 1708099515,
      "uuid": "361786d0fa394a90",
      "dps_data": {
        "1": {
          "code": "switch",
          "custom_name": "",
          "dp_id": 1,
          "time": 1708146492256,
          "value": true,
          "type": "Boolean",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}",
          "id": 1,
          "accessMode": "rw"
        },
        "2": {
          "code": "temp_set",
          "custom_name": "",
          "dp_id": 2,
          "time": 1708146612137,
          "value": 26,
          "type": "Integer",
          "values": "{\"max\": 32, \"min\": 16, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 16, \"unit\": \"\u2103\"}",
          "id": 2,
          "accessMode": "rw"
        },
        "3": {
          "code": "temp_current",
          "custom_name": "",
          "dp_id": 3,
          "time": 1708158278920,
          "value": 250,
          "id": 3,
          "accessMode": "ro",
          "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u2103\"}"
        },
        "4": {
          "code": "mode",
          "custom_name": "",
          "dp_id": 4,
          "time": 1707551750736,
          "value": "heating",
          "type": "Enum",
          "values": "{\"range\": [\"cooling\", \"heating\", \"dehum\", \"fan\", \"auto\"], \"type\": \"enum\", \"typeDefaultValue\": \"cooling\"}",
          "id": 4,
          "accessMode": "rw"
        },
        "5": {
          "code": "fan_speed_enum",
          "custom_name": "",
          "dp_id": 5,
          "time": 1707860548589,
          "value": "low",
          "type": "Enum",
          "values": "{\"range\": [\"auto\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"auto\"}",
          "id": 5,
          "accessMode": "rw"
        },
        "101": {
          "code": "idu_error",
          "custom_name": "",
          "dp_id": 101,
          "time": 1707551750736,
          "value": 0,
          "id": 101,
          "accessMode": "ro",
          "values": "{\"max\": 8, \"min\": 0, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 0, \"unit\": \"\"}"
        },
        "102": {
          "code": "air_return",
          "custom_name": "",
          "dp_id": 102,
          "time": 1708158212827,
          "value": 280,
          "id": 102,
          "accessMode": "ro",
          "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}"
        },
        "103": {
          "code": "coil_out",
          "custom_name": "",
          "dp_id": 103,
          "time": 1708158254692,
          "value": 570,
          "id": 103,
          "accessMode": "ro",
          "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}"
        },
        "104": {
          "code": "running_fan_speed",
          "custom_name": "",
          "dp_id": 104,
          "time": 1708158014669,
          "value": "low",
          "id": 104,
          "accessMode": "ro",
          "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}"
        },
        "105": {
          "code": "odu_fan_speed",
          "custom_name": "",
          "dp_id": 105,
          "time": 1708158260940,
          "value": "stop",
          "id": 105,
          "accessMode": "ro",
          "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}"
        },
        "106": {
          "code": "ambien",
          "custom_name": "",
          "dp_id": 106,
          "time": 1707813319306,
          "value": -300,
          "id": 106,
          "accessMode": "ro",
          "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u00baC\"}"
        },
        "107": {
          "code": "compressor_command",
          "custom_name": "",
          "dp_id": 107,
          "time": 1708158014669,
          "value": true,
          "id": 107,
          "accessMode": "ro",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}"
        },
        "108": {
          "code": "fout_way_valve",
          "custom_name": "",
          "dp_id": 108,
          "time": 1708146618118,
          "value": true,
          "id": 108,
          "accessMode": "ro",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}"
        }
      }
    }
  }
}
xZetsubou commented 7 months ago

How did you configure your device? it seems it manually configured have you tried to use auto configure entities? If yes is there an errors or the configuration are wrong.

Fannangir commented 7 months ago

The device is auto configured (default option). There are no errors during the process, but the device is seen at unknown state.

Fannangir commented 7 months ago

Do you need any additional information that I can share?

xZetsubou commented 7 months ago

I'm changing the climate codes to add supports for fan speed, and handle the modes better. And fixing the auto configure seems it configured the HVAC modes incorrectly. 😸

Fannangir commented 7 months ago

Understood. I thought it would be simple, I guess I am probably wrong :). Thank you very much for your effort.

xZetsubou commented 7 months ago

I made some changes hopefully it fix the issue but you will have to install master version to test it. Go HACS -> Local Tuya -> On top right corner click on the ⋮ and choose redownload and select master

HACS Select version

![image](https://github.com/xZetsubou/hass-localtuya/assets/46300268/e326b0b6-74cf-49e0-9696-3b444178083b)

Restart HA and re-add the device.

If it still configured wrong please post the device diagnostics again after you re-add it.

Fannangir commented 7 months ago

Thank you very much for the great work. I have installed master. The AC is detected, this is an awesome progress. I have noticed two things:

  1. Temperature target setting is incorrect (in the image shows 2 instead of 26 degrees).
  2. Operating mode is incorrect (in the image shows auto, while actual setting is heat). image image
Device diagnostics:
{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.2.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.1",
    "docker": true,
    "arch": "x86_64",
    "os_name": "Linux",
    "os_version": "6.1.74-haos",
    "supervisor": "2024.02.0",
    "host_os": "Home Assistant OS 11.5",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "localtuya": {
      "version": "3.2.4.2",
      "requirements": []
    },
    "hacs": {
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "hass_agent": {
      "version": "2022.11.9",
      "requirements": []
    },
  },
  "integration_manifest": {
    "domain": "localtuya",
    "name": "Local Tuya",
    "codeowners": [],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/xZetsubou/hass-localtuya/",
    "integration_type": "hub",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/xZetsubou/hass-localtuya/issues",
    "requirements": [],
    "version": "3.2.4.2",
    "is_built_in": false
  },
  "data": {
    "device_config": {
      "friendly_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "host": "192.168.1.190",
      "device_id": "...",
      "local_key": "...",
      "protocol_version": "3.3",
      "enable_debug": false,
      "node_id": null,
      "model": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "product_key": "hyfpizc9xabvyyl3",
      "dps_strings": [
        "1 ( code: switch , value: True )",
        "2 ( code: temp_set , value: 26 )",
        "3 ( code: temp_current , value: 320 )",
        "4 ( code: mode , value: heating )",
        "5 ( code: fan_speed_enum , value: low )",
        "101 ( code: idu_error , value: 0 )",
        "102 ( code: air_return , value: 300 )",
        "103 ( code: coil_out , value: 365 )",
        "104 ( code: running_fan_speed , value: stop )",
        "105 ( code: odu_fan_speed , value: stop )",
        "106 ( code: ambien , value: -300 )",
        "107 ( code: compressor_command , value: False )",
        "108 ( code: fout_way_valve , value: True )"
      ],
      "entities": [
        {
          "id": "1",
          "target_temperature_dp": "2",
          "current_temperature_dp": "3",
          "hvac_mode_dp": "4",
          "preset_dp": "4",
          "fan_speed_dp": "5",
          "hvac_mode_set": {
            "cool": "cooling",
            "heat": "dehum",
            "fan_only": "fan",
            "auto": "auto"
          },
          "min_temperature": -2000,
          "max_temperature": 2000,
          "temperature_step": 1,
          "hvac_action_set": {
            "heating": "heating",
            "cooling": "cooling"
          },
          "fan_speed_list": "auto,low,middle,high",
          "temperature_unit": "celsius",
          "precision": 0.1,
          "target_precision": 0.1,
          "friendly_name": "",
          "icon": "",
          "entity_category": "None",
          "platform": "climate"
        },
        {
          "id": "101",
          "state_on": "1",
          "friendly_name": "IDU Error",
          "icon": "",
          "entity_category": "diagnostic",
          "device_class": "problem",
          "platform": "binary_sensor"
        },
        {
          "id": "102",
          "unit_of_measurement": "\u00b0",
          "scaling": 0.1,
          "friendly_name": "AIR Return",
          "icon": "mdi:air-filter",
          "entity_category": "diagnostic",
          "platform": "sensor"
        },
        {
          "id": "103",
          "unit_of_measurement": "\u00b0",
          "scaling": 0.1,
          "friendly_name": "Coil Out",
          "icon": "mdi:heating-coil",
          "entity_category": "diagnostic",
          "platform": "sensor"
        },
        {
          "id": "105",
          "friendly_name": "ODU Fan Speed",
          "icon": "mdi:fan",
          "entity_category": "None",
          "platform": "sensor"
        },
        {
          "id": "107",
          "friendly_name": "Compressor",
          "icon": "",
          "entity_category": "None",
          "platform": "sensor"
        },
        {
          "id": "108",
          "friendly_name": "Fout Way Valve",
          "icon": "",
          "entity_category": "None",
          "platform": "sensor"
        }
      ]
    },
    "device_cloud_info": {
      "active_time": 1624532223,
      "biz_type": 18,
      "category": "kt",
      "create_time": 1624529631,
      "icon": "smart/icon/ay1533354078722Ys5ce/eb28942841cc3358fa4ea3853389fd74.png",
      "id": "...",
      "ip": "7...7",
      "lat": "...",
      "local_key": "...",
      "lon": "...",
      "model": "1.0",
      "name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "online": true,
      "owner_id": "...",
      "product_id": "...",
      "product_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9",
      "status": [
        {
          "code": "switch",
          "value": true
        },
        {
          "code": "temp_set",
          "value": 26
        },
        {
          "code": "temp_current",
          "value": 320
        },
        {
          "code": "mode",
          "value": "hot"
        },
        {
          "code": "fan_speed_enum",
          "value": "low"
        }
      ],
      "sub": false,
      "time_zone": "+03:00",
      "uid": "eu1581075264860cAQo6",
      "update_time": 1708542821,
      "uuid": "361786d0fa394a90",
      "dps_data": {
        "1": {
          "code": "switch",
          "custom_name": "",
          "dp_id": 1,
          "time": 1708614686448,
          "value": true,
          "type": "Boolean",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}",
          "id": 1,
          "accessMode": "rw"
        },
        "2": {
          "code": "temp_set",
          "custom_name": "",
          "dp_id": 2,
          "time": 1708434277993,
          "value": 26,
          "type": "Integer",
          "values": "{\"max\": 32, \"min\": 16, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 16, \"unit\": \"\u2103\"}",
          "id": 2,
          "accessMode": "rw"
        },
        "3": {
          "code": "temp_current",
          "custom_name": "",
          "dp_id": 3,
          "time": 1708623916315,
          "value": 320,
          "id": 3,
          "accessMode": "ro",
          "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u2103\"}"
        },
        "4": {
          "code": "mode",
          "custom_name": "",
          "dp_id": 4,
          "time": 1708534081565,
          "value": "heating",
          "type": "Enum",
          "values": "{\"range\": [\"cooling\", \"heating\", \"dehum\", \"fan\", \"auto\"], \"type\": \"enum\", \"typeDefaultValue\": \"cooling\"}",
          "id": 4,
          "accessMode": "rw"
        },
        "5": {
          "code": "fan_speed_enum",
          "custom_name": "",
          "dp_id": 5,
          "time": 1708554230495,
          "value": "low",
          "type": "Enum",
          "values": "{\"range\": [\"auto\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"auto\"}",
          "id": 5,
          "accessMode": "rw"
        },
        "101": {
          "code": "idu_error",
          "custom_name": "",
          "dp_id": 101,
          "time": 1707551750736,
          "value": 0,
          "id": 101,
          "accessMode": "ro",
          "values": "{\"max\": 8, \"min\": 0, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 0, \"unit\": \"\"}"
        },
        "102": {
          "code": "air_return",
          "custom_name": "",
          "dp_id": 102,
          "time": 1708623916315,
          "value": 295,
          "id": 102,
          "accessMode": "ro",
          "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}"
        },
        "103": {
          "code": "coil_out",
          "custom_name": "",
          "dp_id": 103,
          "time": 1708623910340,
          "value": 365,
          "id": 103,
          "accessMode": "ro",
          "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}"
        },
        "104": {
          "code": "running_fan_speed",
          "custom_name": "",
          "dp_id": 104,
          "time": 1708623760281,
          "value": "stop",
          "id": 104,
          "accessMode": "ro",
          "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}"
        },
        "105": {
          "code": "odu_fan_speed",
          "custom_name": "",
          "dp_id": 105,
          "time": 1708623634414,
          "value": "stop",
          "id": 105,
          "accessMode": "ro",
          "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}"
        },
        "106": {
          "code": "ambien",
          "custom_name": "",
          "dp_id": 106,
          "time": 1708258860048,
          "value": -300,
          "id": 106,
          "accessMode": "ro",
          "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u00baC\"}"
        },
        "107": {
          "code": "compressor_command",
          "custom_name": "",
          "dp_id": 107,
          "time": 1708623748341,
          "value": false,
          "id": 107,
          "accessMode": "ro",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}"
        },
        "108": {
          "code": "fout_way_valve",
          "custom_name": "",
          "dp_id": 108,
          "time": 1708614710352,
          "value": true,
          "id": 108,
          "accessMode": "ro",
          "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}"
        }
      }
    }
  }
}
xZetsubou commented 7 months ago

I made some changes for things I hadn't noticed before :) You can re-download the master version again and re-add it

Fannangir commented 7 months ago

Thanks again, issues fixed. I have noticed two additional points:

  1. The Air Conditioner adds two sensors to the Homekit (exposed via HA bridge), which are actually statuses on the top row. One is a fan, and another one is humidity. Is there an option to remove these?
  2. I have turned the AC off, it showed off in HA and seems to turn off. After about 30 seconds, it turned back on by itself and changed state to on. I have turned it to off again, and only then it turned off. Is there a way to debug this behavior?
xZetsubou commented 7 months ago
  1. which are actually statuses on the top row. One is a fan, and another one is humidity. Is there an option to remove these?

I don't think there is a humidity sensor in your AC so not sure If this however you can tweak the device configuration and remove or add more entities manually, Reconfigure Devices

  1. I have turned the AC off, it showed off in HA and seems to turn off.

I don't quite get what do you mean here? from what I understand if you turns off the ac 1st time it will turn on again after 30sec? and on 2nd time it will turns off completely? Did you turn it off via from HA using localtuya? IF YES does this behavior only happen if you turn it off from HA?

Fannangir commented 7 months ago
  1. Correct, there is no humidity sensor, therefore it was strange to me why is it shown in the Homekit app. Anyhow, this is not an issue, I can remove it, thanks for the link.
  2. Correct, via localtuya, from HA. I have tried a few more times, same phenomenon. To clarify, AC is in heating mode, I am switching it to off mode (via HA, localtuya), it shows idle state, and after 10 seconds up to 30 seconds, it goes back to the previous mode (heating in this case). After the second time Mode is switched from Heat to Off, it stays at idle state The image is as follows (when at idle state): image Switching from off (Idle) state to on state is OK, done in a single switch from off to heat.
xZetsubou commented 7 months ago

Try re-download master again no need to re-add the device.

Fannangir commented 7 months ago

Off call service does not work, it fails. It shows the following: image

xZetsubou commented 7 months ago

I think it because there's no "off" value in HVAC Modes Go re-configure the device and in the HVAC Mode.

edit I think there is no such a thing as "off" in modes. so there is no meaning adding "off".

xZetsubou commented 7 months ago

Try new master version. Let's see if it will do the same behavior.

Fannangir commented 7 months ago

The final result is good, HVAC stays off. Please let me try and explain what happens during the process. I am at Heat state, changing to off state. The display in HA jumps to off for a second, back to heat for a few seconds, and then back to off, and stays at off. Meaning, the result is as expected, there is just something small on the way :).

Fannangir commented 7 months ago

Oh, there is a change, but a new issue rose up. The state changes to off (when switched from heat to off), meaning AC does turn off without the jumps, but the display is still the previous mode. It would be clearer based on the image below: image image

xZetsubou commented 7 months ago

I guess action is fixed now

Fannangir commented 7 months ago

Unfortunately we are back to where we were, and a bit worse.

  1. The issue where you have to switch to off state twice is back. For example, I turn AC to heat, and back to Off, the AC shows off for about 10 seconds, and turns back On to Heat. I turn it Off again, and then it stays Off.
  2. When changing modes (I.e. from heat to Off or Off to heat, in both cases, the state switches to the new setting, after 1-2 seconds switches to the previous setting, and then to the new setting. Happens in both directions, Off to heat and heat to Off.
xZetsubou commented 7 months ago

That's weird can you post the device diagnostics once more.

edit: I made one more change this time the HVAC Mode and action won't report any state if the device is off. tho that this what was happen before but still I made it more directly.

Fannangir commented 7 months ago

There is a change, it seems like issue 1 is solved, this is great. The unit switches states (off to heat and heat to off) from the first time pressed. Issue 2 is still present.

Some minor points to review: Compressor sensor is False / True, could it be On / Off and maybe binary sensor (or are these the actual returned values by tuya?) Fout Way Valve sensor is False / True, could it be On / Off and maybe binary sensor (or are these the actual returned values by tuya?)

And the log: { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.2.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.1", "docker": true, "arch": "x86_64", "os_name": "Linux", "os_version": "6.1.74-haos", "supervisor": "2024.02.0", "host_os": "Home Assistant OS 11.5", "docker_version": "24.0.7", "chassis": "vm", "run_as_root": true }, "custom_components": { "localtuya": { "version": "3.2.4.2", "requirements": [] }, }, "integration_manifest": { "domain": "localtuya", "name": "Local Tuya", "codeowners": [], "config_flow": true, "dependencies": [], "documentation": "https://github.com/xZetsubou/hass-localtuya/", "integration_type": "hub", "iot_class": "local_push", "issue_tracker": "https://github.com/xZetsubou/hass-localtuya/issues", "requirements": [], "version": "3.2.4.2", "is_built_in": false }, "data": { "device_config": { "friendly_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9", "host": "192.168.1.190", "device_id": "...", "local_key": "...", "protocol_version": "3.3", "enable_debug": false, "node_id": null, "model": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9", "product_key": "...", "dps_strings": [ "1 ( code: switch , value: True )", "2 ( code: temp_set , value: 26 )", "3 ( code: temp_current , value: 250 )", "4 ( code: mode , value: heating )", "5 ( code: fan_speed_enum , value: low )", "101 ( code: idu_error , value: 0 )", "102 ( code: air_return , value: 285 )", "103 ( code: coil_out , value: 555 )", "104 ( code: running_fan_speed , value: low )", "105 ( code: odu_fan_speed , value: low )", "106 ( code: ambien , value: -300 )", "107 ( code: compressor_command , value: True )", "108 ( code: fout_way_valve , value: True )" ], "entities": [ { "id": "1", "target_temperature_dp": "2", "current_temperature_dp": "3", "hvac_mode_dp": "4", "preset_dp": "4", "fan_speed_dp": "5", "hvac_mode_set": { "cool": "cooling", "heat": "heating", "dry": "dehum", "fan_only": "fan", "auto": "auto" }, "min_temperature": 16.0, "max_temperature": 32.0, "temperature_step": 1, "hvac_action_set": { "heating": "heating", "cooling": "cooling" }, "fan_speed_list": "auto,low,middle,high", "temperature_unit": "celsius", "precision": 0.1, "target_precision": 1.0, "friendly_name": "", "icon": "", "entity_category": "None", "platform": "climate" }, { "id": "101", "state_on": "1", "friendly_name": "IDU Error", "icon": "", "entity_category": "diagnostic", "device_class": "problem", "platform": "binary_sensor" }, { "id": "102", "unit_of_measurement": "\u00b0", "scaling": 0.1, "friendly_name": "AIR Return", "icon": "mdi:air-filter", "entity_category": "diagnostic", "platform": "sensor" }, { "id": "103", "unit_of_measurement": "\u00b0", "scaling": 0.1, "friendly_name": "Coil Out", "icon": "mdi:heating-coil", "entity_category": "diagnostic", "platform": "sensor" }, { "id": "105", "friendly_name": "ODU Fan Speed", "icon": "mdi:fan", "entity_category": "None", "platform": "sensor" }, { "id": "107", "friendly_name": "Compressor", "icon": "", "entity_category": "None", "platform": "sensor" }, { "id": "108", "friendly_name": "Fout Way Valve", "icon": "", "entity_category": "None", "platform": "sensor" } ] }, "device_cloud_info": { "active_time": 1624532223, "biz_type": 18, "category": "kt", "create_time": 1624529631, "icon": "smart/icon/ay1533354078722Ys5ce/eb28942841cc3358fa4ea3853389fd74.png", "id": "...", "ip": "7...7", "lat": "...", "local_key": "...", "lon": "...", "model": "1.0", "name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9", "online": true, "owner_id": "28309820", "product_id": "...", "product_name": "\u05ea\u05d3\u05d9\u05e8\u05d0\u05df \u05de\u05d9\u05e0\u05d9 \u05de\u05e8\u05db\u05d6\u05d9", "status": [ { "code": "switch", "value": false }, { "code": "temp_set", "value": 26 }, { "code": "temp_current", "value": 245 }, { "code": "mode", "value": "hot" }, { "code": "fan_speed_enum", "value": "low" } ], "sub": false, "time_zone": "+03:00", "uid": "eu1581075264860cAQo6", "update_time": 1708787841, "uuid": "361786d0fa394a90", "dps_data": { "1": { "code": "switch", "custom_name": "", "dp_id": 1, "time": 1708795943250, "value": false, "type": "Boolean", "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}", "id": 1, "accessMode": "rw" }, "2": { "code": "temp_set", "custom_name": "", "dp_id": 2, "time": 1708787844196, "value": 26, "type": "Integer", "values": "{\"max\": 32, \"min\": 16, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 16, \"unit\": \"\u2103\"}", "id": 2, "accessMode": "rw" }, "3": { "code": "temp_current", "custom_name": "", "dp_id": 3, "time": 1708810004290, "value": 245, "id": 3, "accessMode": "ro", "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u2103\"}" }, "4": { "code": "mode", "custom_name": "", "dp_id": 4, "time": 1708787844196, "value": "heating", "type": "Enum", "values": "{\"range\": [\"cooling\", \"heating\", \"dehum\", \"fan\", \"auto\"], \"type\": \"enum\", \"typeDefaultValue\": \"cooling\"}", "id": 4, "accessMode": "rw" }, "5": { "code": "fan_speed_enum", "custom_name": "", "dp_id": 5, "time": 1708787844196, "value": "low", "type": "Enum", "values": "{\"range\": [\"auto\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"auto\"}", "id": 5, "accessMode": "rw" }, "101": { "code": "idu_error", "custom_name": "", "dp_id": 101, "time": 1708787844196, "value": 0, "id": 101, "accessMode": "ro", "values": "{\"max\": 8, \"min\": 0, \"scale\": 0, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": 0, \"unit\": \"\"}" }, "102": { "code": "air_return", "custom_name": "", "dp_id": 102, "time": 1708802694600, "value": 245, "id": 102, "accessMode": "ro", "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}" }, "103": { "code": "coil_out", "custom_name": "", "dp_id": 103, "time": 1708808563828, "value": 265, "id": 103, "accessMode": "ro", "values": "{\"max\": 20000, \"min\": -20000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -20000, \"unit\": \"\u00baC\"}" }, "104": { "code": "running_fan_speed", "custom_name": "", "dp_id": 104, "time": 1708795955214, "value": "stop", "id": 104, "accessMode": "ro", "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}" }, "105": { "code": "odu_fan_speed", "custom_name": "", "dp_id": 105, "time": 1708795949260, "value": "stop", "id": 105, "accessMode": "ro", "values": "{\"range\": [\"stop\", \"low\", \"middle\", \"high\"], \"type\": \"enum\", \"typeDefaultValue\": \"stop\"}" }, "106": { "code": "ambien", "custom_name": "", "dp_id": 106, "time": 1708787844196, "value": -300, "id": 106, "accessMode": "ro", "values": "{\"max\": 2000, \"min\": -2000, \"scale\": 1, \"step\": 1, \"type\": \"value\", \"typeDefaultValue\": -2000, \"unit\": \"\u00baC\"}" }, "107": { "code": "compressor_command", "custom_name": "", "dp_id": 107, "time": 1708795949260, "value": false, "id": 107, "accessMode": "ro", "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}" }, "108": { "code": "fout_way_valve", "custom_name": "", "dp_id": 108, "time": 1708796123254, "value": false, "id": 108, "accessMode": "ro", "values": "{\"type\": \"bool\", \"typeDefaultValue\": False}" } } } } }

xZetsubou commented 7 months ago

There most be a weird behavior that happened to the device in-order to debug that you will need to enable the debug for the device it self.

  1. Go to HA -> Devices -> LocalTuya -> Enable the debug.
  2. Click on the same LocalTuya page click "Configure" from main options choose "reconfigure existing device" choose the climate and check on enable the debug
  3. Use the device till the issue shows up.
  4. either you disable the debug from step "1" this will download log file, or go to HA -> Settings -> system -> logs -> search for "localtuya" click on show full logs and copy everything inside.

Some minor points to review

Yes these values are the raw values returned by the device it self.

Fannangir commented 7 months ago

During configuration, I was asked to enter the following: IMG_3640 What should be entered in each field?

xZetsubou commented 7 months ago

Oh this most be a bug in auto configure. Temperature step: is 1 Precision: 0.1 Target precision: 1

Fannangir commented 7 months ago

Done. Please clarify when you would like the log. According to my understanding, we are referring to the first issue, the change of states (which was required twice). The second issue when changing modes is happening each change, I believe this is not related to the log. Am I right?

xZetsubou commented 7 months ago

Yes, after you enable both debug for integration and the device, use the feature that caused the issue. You said the issue 2 is the one that still exists, which is when you switch the HVAC mode, it changes for a few seconds and then goes back. So after this weird behavior shows up, it goes to logs and copy the full logs.

Fannangir commented 7 months ago

OK, just wanted to verify that we are on the same page. logs below. The log from HA of the exact time I have switched HVAC to off: image

The relevant device is bfc...qy8 I believe.

logs

```log 2024-02-26 23:40:57.738 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 10 TuyaMessage(seqno=1, cmd=10, retcode=0, payload=b'\x90i\xd7?\xfb\xfd\x10\xae\xaa\x16\xc9\xcf\x16\xe2`\xb1Qq\xd7\xb5=L=\x8bO\xd3\xe6\xbf\xf4\x92\xd7\xe4/\xea\xf6\xd2B\xef{\x9ci\x01"\x93\xb2\xe3g\t\'\xd5Q\x98\xb0\x16\xc5\xc7\xd4\xe1\xa5\xd9\xa8\xean\xd7\xfe2\x01\x89"\x14\xd1H\x9a+\x97[\x06\xb0-\x08{\x12m\x8at\x80&\x11\xf2\xdf\xd2u\xb4.\x86\xf2(\x1f%\xfa\x13V\xea\x9b,\x9c\xf8Q\xa9\x06T\x94\xe1\xd1o\xe4 \x08`a\xd2\x0c\xed&JjF\xeb\xfe\x93\x895\xac\x7f\x9d\xd6\x95\x9fv\x8d1\xf5\xe7\x02', crc=4044998137, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:40:57.738 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"1":true,"2":26,"3":250,"4":"heating","5":"low","101":0,"102":275,"103":460,"104":"low","105":"high","106":-300,"107":true,"108":true}}' 2024-02-26 23:40:57.807 DEBUG (MainThread) [custom_components.localtuya.common] [bfc...qy8] Success: connected to 192.168.1.190 2024-02-26 23:40:57.855 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Started heartbeat loop 2024-02-26 23:40:57.855 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:40:57.856 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:40:57.856 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:40:57.922 DEBUG (MainThread) [custom_components.localtuya.common] [bf1...kpq] Success: connected to 192.168.1.176 2024-02-26 23:40:58.137 DEBUG (MainThread) [custom_components.localtuya.common] [bfd...unj] Success: connected to 192.168.1.100 2024-02-26 23:40:58.164 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...ssq] Success: connected to 192.168.1.4 2024-02-26 23:40:58.206 DEBUG (MainThread) [custom_components.localtuya.common] [404...698] Success: connected to 192.168.1.204 2024-02-26 23:40:58.208 DEBUG (MainThread) [custom_components.localtuya.common] [727...f28] Success: connected to 192.168.1.209 2024-02-26 23:40:58.279 DEBUG (MainThread) [custom_components.localtuya.common] [bff...mcr] Success: connected to 192.168.1.124 2024-02-26 23:40:58.557 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...yhd] Success: connected to 192.168.1.143 2024-02-26 23:40:58.657 DEBUG (MainThread) [custom_components.localtuya.common] [404...960] Success: connected to 192.168.1.8 2024-02-26 23:40:58.658 DEBUG (MainThread) [custom_components.localtuya.common] [bf4...ntj] Success: connected to 192.168.1.203 2024-02-26 23:40:59.091 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:40:59.091 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:40:59.182 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:40:59.205 DEBUG (MainThread) [custom_components.localtuya.common] [bfc...tme] Success: connected to 192.168.1.161 2024-02-26 23:40:59.236 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...dou] Success: connected to 192.168.1.78 2024-02-26 23:40:59.251 DEBUG (MainThread) [custom_components.localtuya.common] [bfd...inn] Success: connected to 192.168.1.12 2024-02-26 23:40:59.270 DEBUG (MainThread) [custom_components.localtuya.common] [bfa...jc3] Success: connected to 192.168.1.69 2024-02-26 23:40:59.281 DEBUG (MainThread) [custom_components.localtuya.common] [bf6...ih8] Success: connected to 192.168.1.240 2024-02-26 23:40:59.281 DEBUG (MainThread) [custom_components.localtuya.common] [bfa...i5d] Success: connected to 192.168.1.34 2024-02-26 23:40:59.282 DEBUG (MainThread) [custom_components.localtuya.common] [117...542] Success: connected to 192.168.1.135 2024-02-26 23:40:59.948 DEBUG (MainThread) [custom_components.localtuya.common] [bf7...fk7] Success: connected to 192.168.1.162 2024-02-26 23:40:59.954 DEBUG (MainThread) [custom_components.localtuya.common] [bf6...fga] Success: connected to 192.168.1.178 2024-02-26 23:40:59.981 DEBUG (MainThread) [custom_components.localtuya.common] [bf1...opf] Success: connected to 192.168.1.221 2024-02-26 23:40:59.991 DEBUG (MainThread) [custom_components.localtuya.common] [bf7...onu] Success: connected to 192.168.1.171 2024-02-26 23:40:59.996 DEBUG (MainThread) [custom_components.localtuya.common] [bfd...hht] Success: connected to 192.168.1.247 2024-02-26 23:41:00.000 DEBUG (MainThread) [custom_components.localtuya.common] [bf8...yx3] Success: connected to 192.168.1.58 2024-02-26 23:41:00.003 DEBUG (MainThread) [custom_components.localtuya.common] [bf6...vel] Success: connected to 192.168.1.99 2024-02-26 23:41:00.408 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...cne] Success: connected to 192.168.1.56 2024-02-26 23:41:00.425 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5+\x00\x00\x00\x01\xadL\xb4'\x0c\xc3\xb6\xdf:\xd8\xc8\x86c\x15\x9c\xf4\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\x04\xd8\xb4\xa4$QAK\xa0\x14\x84\xcaR?\x16\xfa", crc=2322579222, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:00.425 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:00.426 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":465,"3":250},"t":1708983658}' 2024-02-26 23:41:00.570 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...ssv] Success: connected to 192.168.1.92 2024-02-26 23:41:00.571 DEBUG (MainThread) [custom_components.localtuya.common] [bfe...pnx] Success: connected to 192.168.1.139 2024-02-26 23:41:00.572 DEBUG (MainThread) [custom_components.localtuya.common] [bf4...jpy] Success: connected to 192.168.1.212 2024-02-26 23:41:00.574 DEBUG (MainThread) [custom_components.localtuya.common] [bf4...txr] Success: connected to 192.168.1.227 2024-02-26 23:41:00.577 DEBUG (MainThread) [custom_components.localtuya.common] [bf2...bj1] Success: connected to 192.168.1.79 2024-02-26 23:41:00.578 DEBUG (MainThread) [custom_components.localtuya.common] [bf6...lev] Success: connected to 192.168.1.149 2024-02-26 23:41:00.579 DEBUG (MainThread) [custom_components.localtuya.common] [bf7...j52] Success: connected to 192.168.1.109 2024-02-26 23:41:00.582 DEBUG (MainThread) [custom_components.localtuya.common] [bf7...obx] Success: connected to 192.168.1.83 2024-02-26 23:41:00.710 DEBUG (MainThread) [custom_components.localtuya.common] [bf9...rym] Success: connected to 192.168.1.19 2024-02-26 23:41:00.712 DEBUG (MainThread) [custom_components.localtuya.common] [bf3...6hz] Success: connected to 192.168.1.9 2024-02-26 23:41:00.717 DEBUG (MainThread) [custom_components.localtuya.common] [bf9...y6c] Success: connected to 192.168.1.16 2024-02-26 23:41:00.783 DEBUG (MainThread) [custom_components.localtuya.common] [bf0...zyu] Success: connected to 192.168.1.228 2024-02-26 23:41:00.784 DEBUG (MainThread) [custom_components.localtuya.common] [bfa...vym] Success: connected to 192.168.1.22 2024-02-26 23:41:05.405 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5,\x00\x00\x00\x01\xcaL\n\xfd\x19\x86HJ\xb6\x91\xa4\xf6\xc4\x86\xcc\x17\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\x8e\x0f\x9a\xc9\x13\x9a(7^\\MT\xf8\xf7x\xd0', crc=1504421848, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:05.405 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:05.407 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":470,"3":250},"t":1708983664}' 2024-02-26 23:41:09.184 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:09.184 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:09.184 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:09.412 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:09.412 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:09.412 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:41:11.373 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5-\x00\x00\x00\x011\xb3\x7f[ ,\x1d\x8d\x8a\x90\x98m}\x1f\x9a\xd4\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\x0bl$[\xaf\xfd\xc6\xf8\xd3\x8b\xea\x1f\xd4Y4\xf4', crc=3720401576, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:11.373 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:11.374 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":480,"3":250},"t":1708983670}' 2024-02-26 23:41:17.355 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5.\x00\x00\x00\x011\xb3\x7f[ ,\x1d\x8d\x8a\x90\x98m}\x1f\x9a\xd4\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7SU;\xbf\x8c\x93\xca\xd4\xfc\xfb\xd8H\n\xf5\xcb\x92', crc=786371314, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:17.356 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:17.356 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":485,"3":250},"t":1708983676}' 2024-02-26 23:41:19.412 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:19.412 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:19.413 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:19.632 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:19.632 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:19.632 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:41:23.337 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5/\x00\x00\x00\x01Xx\xc3Tt\xa6\xba^\x97\xa3\xe5.\xcb\xb5\x8e"\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+H\xd5~wL\x04\x18 B\xab\x98\xe7Mt$f', crc=4097685804, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:23.337 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:23.337 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":490,"3":250},"t":1708983682}' 2024-02-26 23:41:29.318 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd50\x00\x00\x00\x01Xx\xc3Tt\xa6\xba^\x97\xa3\xe5.\xcb\xb5\x8e"\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7C^\x0e\x8e\xe4]\xa8\x9d\xfa*sV\xb8T\xbe\xf3', crc=2330452354, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:29.318 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:29.318 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":495,"3":250},"t":1708983688}' 2024-02-26 23:41:29.633 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:29.633 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:29.634 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:29.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:29.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:29.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:41:35.320 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd51\x00\x00\x00\x01'\xd1\xebup\x85K\xd8\x89^\x9a\xf1\x90\xab\xa4\x00\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\x8e \x00\x85\x1f\xeac\xcd\xcb\xa0\xaeV%\xbb\x17>", crc=3247857377, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:35.320 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:35.320 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":500,"3":250},"t":1708983694}' 2024-02-26 23:41:39.669 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:39.669 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:39.670 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:39.695 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:39.695 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:39.696 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:41:41.280 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd52\x00\x00\x00\x01'\xd1\xebup\x85K\xd8\x89^\x9a\xf1\x90\xab\xa4\x00\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\xa6\xfe{+.\x88t\xcb\xb2D\x8a\xafy\x8ac[", crc=737140463, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:41.280 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:41.280 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":505,"3":250},"t":1708983700}' 2024-02-26 23:41:47.262 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd53\x00\x00\x00\x01\x81\xd1\x02K\x1d,\x7fP\xef\xc7la\xeb`\x99*\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+$\x1b\xd5\t\x14\x9eB\x01\x12\xf9\n\xda\x07\\C\x94', crc=1177730086, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:47.262 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:47.263 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":510,"3":250},"t":1708983706}' 2024-02-26 23:41:49.698 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:49.698 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:49.698 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:49.739 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:49.739 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:49.739 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:41:53.503 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd54\x00\x00\x00\x01\x81\xd1\x02K\x1d,\x7fP\xef\xc7la\xeb`\x99*7\x0f\xc7\x97\xcf\x17Jq\xb4\xa6\n\xdf8\xffC\x1eA\x97\xbe\xed.1$\xd6u\xcc\xb3D\x1b:\xc2\xa9\x10\xda\xf7\x89\x90\x17zGf\x82wJ\xc3Z\x07\xe2', crc=581371927, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:53.503 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:53.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":515,"3":250,"105":"low"},"t":1708983712}' 2024-02-26 23:41:59.484 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd55\x00\x00\x00\x01\x01\xd8\xf67!Z\xbb\xc9\xa2\xbef\xbc\xb0\xc3\x8aq\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\xf5\x0c?\xb16\xba\xda3n\xd6\xd0b\xe8m.\x01', crc=531637861, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:59.484 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:41:59.484 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":520,"3":250},"t":1708983718}' 2024-02-26 23:41:59.740 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:41:59.740 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:41:59.740 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:41:59.771 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:41:59.771 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:41:59.771 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:05.465 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd56\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xe7\xb8\x89\xe4\xe5"\xe4\x8b\x1030z\xe5\xa0v\xb0\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=1461773487, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:05.465 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:05.466 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983724}' 2024-02-26 23:42:09.772 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:42:09.772 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:42:09.773 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:42:09.805 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:09.805 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:42:09.805 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:11.455 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd57\x00\x00\x00\x01\x01\xd8\xf67!Z\xbb\xc9\xa2\xbef\xbc\xb0\xc3\x8aq\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\xfcd\xfd|\xfc\xb3\x8b\x8bg\xac\xd2/\xc4]\x9f<', crc=1818970174, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:11.455 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:11.456 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":525,"3":250},"t":1708983730}' 2024-02-26 23:42:17.428 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd58\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20[\x99\x15E\xa2p\xf6\x9d\r\r\x93\t\x86\x8c9\xa3\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3231955053, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:17.428 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:17.429 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983736}' 2024-02-26 23:42:19.806 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:42:19.806 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:42:19.807 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:42:19.960 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:19.960 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:42:19.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:23.435 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd59\x00\x00\x00\x01V\xa6\xca\xe6E\xfav+\xe8\x83B}V\xb2\xb6p\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+nM\xfdK)kK\xba\x08\x16\x881\xcf\xda\xb9\xe4', crc=3003184203, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:23.435 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:23.435 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":530,"3":250},"t":1708983742}' 2024-02-26 23:42:29.392 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5:\x00\x00\x00\x01V\xa6\xca\xe6E\xfav+\xe8\x83B}V\xb2\xb6p\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7:;\x86\x006/\x1b\xb0\x02\x9b\x13\x91\xafGuk', crc=2047452999, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:29.392 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:29.392 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":535,"3":250},"t":1708983748}' 2024-02-26 23:42:29.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:42:29.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:42:29.962 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:42:29.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:29.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:42:29.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:35.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5;\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xff\xea\xd6\xdd;>py\xf5\xf8\xda\x00\xfb\xcc\xd5\xe0\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2164455470, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:35.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:35.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983754}' 2024-02-26 23:42:40.000 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:42:40.000 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:42:40.001 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:42:40.123 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:40.123 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:42:40.123 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:41.354 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5<\x00\x00\x00\x01\x7ffS\xd1\n\x84\xac\xb8\xd5\xc8w~\xabO\x88\xb7\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+md\xa6"A$\x84\x80vs\xf4%=j\xb9z', crc=2599751475, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:41.354 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:41.354 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":540,"3":250},"t":1708983760}' 2024-02-26 23:42:47.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5=\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20t\x0c\rpg\xd7\xd8\xa9\xd0E\xde\x99\x9b8\x19\xe9\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3900559131, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:47.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:47.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983766}' 2024-02-26 23:42:50.124 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:42:50.125 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:42:50.125 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:42:50.162 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:50.162 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:42:50.162 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:42:53.380 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5>\x00\x00\x00\x01\xf27\x85\xfa\xf9\x19toF\x90\xb0\xe5\x81qF\x8d\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\x8d\x85\xa4\xfd~\x95\x8e\x1f\x96M\xad"O\xfa\xf8{', crc=362055056, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:53.380 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:53.381 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"102":280,"3":250},"t":1708983772}' 2024-02-26 23:42:59.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5?\x00\x00\x00\x01\x7ffS\xd1\n\x84\xac\xb8\xd5\xc8w~\xabO\x88\xb7\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe72\xf1\xec3\xd5\xeel\x9cF\xab\n\x99\x04\xed\x80l', crc=3098758190, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:42:59.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:42:59.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":545,"3":250},"t":1708983778}' 2024-02-26 23:43:00.162 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:00.163 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:00.163 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:00.251 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:00.251 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:00.251 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:05.281 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5@\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xc5{\x1fS\x87\n\xbe\xf6+,\x815\xf2_0\xf5\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=329739574, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:05.282 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:05.282 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983784}' 2024-02-26 23:43:10.252 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:10.252 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:10.253 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:10.455 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:10.455 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:10.455 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:11.523 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5A\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\x8cv\x93\rr\xe5\xa2\x14w\xa9\xdc\xf4\x83r\xabR\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=1509773445, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:11.523 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:11.523 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983790}' 2024-02-26 23:43:17.502 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5B\x00\x00\x00\x01\xe6\x867N\xc50\x83\x94\xa6\xea\x98o{\xe4n\xae\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+\xc4\xb6\xff\x8b\xd9\xf4\xf8\xea\x8cn\xb5\x7f\x0fe\xac\xa7', crc=663094863, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:17.502 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:17.503 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":550,"3":250},"t":1708983796}' 2024-02-26 23:43:20.456 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:20.456 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:20.456 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:20.576 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:20.576 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:20.576 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:23.483 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5C\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20t4S"\\\xaf\xab+\xa9\x85Qgb2+I\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3731602125, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:23.483 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:23.484 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983802}' 2024-02-26 23:43:29.474 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5D\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\x87i\x9b\xeb\xcc$\xdd\x92\xfc\xf8\x1b\xb1n\xe5}\xc0\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3262467848, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:29.474 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:29.475 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983808}' 2024-02-26 23:43:30.577 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:30.577 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:30.578 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:30.713 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:30.713 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:30.713 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:35.448 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5E\x00\x00\x00\x01\xe6\x867N\xc50\x83\x94\xa6\xea\x98o{\xe4n\xae\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\xa9!Q_\xc0m\x15\x95\xc3\xa3T\xe7\xdb\xd1.Y', crc=1549520573, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:35.448 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:35.448 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":555,"3":250},"t":1708983814}' 2024-02-26 23:43:40.715 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:40.715 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:40.716 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:40.984 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:40.984 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:40.984 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:41.427 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5F\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\x83\xae9\x16\xa7\xc4\x81\xff\x0c\x03E\xd4\xcd\xe1KC\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=1187811921, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:41.427 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:41.428 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983820}' 2024-02-26 23:43:47.409 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5G\x00\x00\x00\x01\xf27\x85\xfa\xf9\x19toF\x90\xb0\xe5\x81qF\x8d\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\xccm\xa8n\x84\xdbGf\xfe\x12\xf1\xad"\r!\x12', crc=3216789427, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:47.409 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:47.410 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"102":285,"3":250},"t":1708983826}' 2024-02-26 23:43:50.985 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:43:50.985 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:43:50.986 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:43:51.107 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:51.108 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:43:51.108 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:43:53.391 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5H\x00\x00\x00\x01$k\x91\x81\xb6\xedh\x96\x84w\n\xed}d\xcf\xa4*\xaa@n\x99`\xc1\x80\xbae\xce\xc0'o\xbeQO\xd2R\x10\xa9\x9eT|\xe6\xe3\x86\xb0\xf0\xe3L\x82WQ!N{\xda\x8c\xe6\xf3>\x96\x02\xc3\xack&", crc=861313301, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:53.391 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:53.391 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":560,"3":250,"105":"stop"},"t":1708983832}' 2024-02-26 23:43:59.374 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5I\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb209\x96+~\xd44\xe9\xb0\x1d\xa1Q1\x8b\xaf\x89\xb5\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3284325005, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:43:59.374 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:43:59.375 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983838}' 2024-02-26 23:44:01.108 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:01.108 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:01.109 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:01.243 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:01.243 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:01.243 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:05.352 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5J\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20r\x89J\xf4\xa1\xccFP\xc9rl\xb9d\x16t\xf8\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=299090187, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:05.353 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:05.353 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983844}' 2024-02-26 23:44:11.244 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:11.244 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:11.245 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:11.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5K\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\x8a+{\xa5\x08*\xbf~!q\xab\xe4L4\xf1\xc4\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3518379639, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:11.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:11.336 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983850}' 2024-02-26 23:44:11.367 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:11.368 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:11.368 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:17.321 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5L\x00\x00\x00\x01\xe6\x867N\xc50\x83\x94\xa6\xea\x98o{\xe4n\xae\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7h\xad\xd5\xc5\xb3\xedI\xc8\xe8oO`d\xe8\x1a\xb4', crc=3416061980, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:17.321 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:17.322 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":555,"3":250},"t":1708983856}' 2024-02-26 23:44:21.368 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:21.368 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:21.369 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:21.401 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:21.401 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:21.401 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:23.298 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5M\x00\x00\x00\x01\xe6\x867N\xc50\x83\x94\xa6\xea\x98o{\xe4n\xae\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+?\x06\x0ff\rg&n\xb81\x08\xeb\xe2u,\xb6', crc=1173669912, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:23.298 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:23.299 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":550,"3":250},"t":1708983862}' 2024-02-26 23:44:29.538 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5N\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\x92QF\xa1w\xd02\x8c\x05\x151\xc4\x92\xc1\xfce\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=257005098, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:29.538 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:29.539 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983868}' 2024-02-26 23:44:31.402 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:31.402 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:31.403 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:31.446 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:31.446 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:31.446 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:35.523 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5O\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20*\xf6\xcc\xa7.\xb7\xacc&\x19\x8a\xea\xcf\xfc\xb5\xbb\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=1886645348, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:35.523 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:35.524 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983874}' 2024-02-26 23:44:41.447 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:41.447 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:41.448 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:41.500 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5P\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20=`\xf6\xdf6/\xd0\xc7\x8bb\xc9{\x8c\xa4N\xc7\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=522542415, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:41.500 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:41.501 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983880}' 2024-02-26 23:44:41.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:41.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:41.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:47.482 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5Q\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xc2C\x1a\x07\xc0\xbd\xdf99r\xf5\xac\x87\xd7\x8b\x08\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2661202233, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:47.482 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:47.483 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983886}' 2024-02-26 23:44:51.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:44:51.505 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:44:51.505 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:44:51.613 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:51.613 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:44:51.614 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:44:53.463 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5R\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xabY\x16\xe3\xc6\xb3 \x82G$\x10$\x0b\xa9Jv\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=4189050461, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:44:53.463 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:44:53.463 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983892}' 2024-02-26 23:44:59.444 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5S\x00\x00\x00\x01\x9a5$+\xa7T\xe9\xd1\x08\xaa\xc3\xfa\x0e\x0c\xb20\xaf\x0c\x8c\x8c\xbbs"\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3671394955, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:45:29.355 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:45:29.356 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":250},"t":1708983928}' 2024-02-26 23:45:31.924 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:45:31.924 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:45:31.925 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:45:31.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:45:31.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:45:31.961 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:45:35.338 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5Y\x00\x00\x00\x01V\xa6\xca\xe6E\xfav+\xe8\x83B}V\xb2\xb6p\x02\x7f\xc7\x94\xf5q\xd4\xfe\xd0\x9d\\u}&\xf1\xe7\xae\xc9UX\x1a\xfb\x06/\x18oO\x0f\xaa\xb2\x96\xe4', crc=3396485913, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:45:35.338 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:45:35.338 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":535,"3":250},"t":1708983934}' 2024-02-26 23:45:41.313 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5Z\x00\x00\x00\x01V\xa6\xca\xe6E\xfav+\xe8\x83B}V\xb2\xb6p\x12P\x98\x9e\xba\xb6o\xa5\xfd\xc5e\xd18\x96p+OAd)b\x0e!\xde\xf3\x14P-1\x9d\x95i', crc=775723042, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:45:41.314 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:45:41.314 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":530,"3":250},"t":1708983940}' 2024-02-26 23:45:41.962 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:45:41.962 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:45:41.963 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:45:41.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:45:41.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:45:41.999 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:45:47.555 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5[\x00\x00\x00\x01\xb9:\x1a=\x9a\x19\x8dQ\xf1#z~T3\x83\xa7\r\x10\x1aX&z\xdb\t\x89\x92B\x1e\x03\xef\\\xc3\x03\xea\x13\x0eO\x1f\xc5\x03u\xf6\xf09I\x93}$C\xee.8\xfe}ae\x7f\xd6F\xe6+\x89\x87Z9\xea\x8c\x8e\x8c\x83I@\x9d\xed\x9c', crc=48702304, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:29.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:29.504 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"107":false,"103":550,"3":295},"t":1708984048}' 2024-02-26 23:47:32.781 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:47:32.782 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:47:32.782 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:47:32.908 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:32.908 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:47:32.908 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:47:35.478 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5m\x00\x00\x00\x01V\xa6\xca\xe6E\xfav+\xe8\x83B}V\xb2\xb6p\xf2X\x96tk\xe4\xed02\xadV\xf6\xac\xf5\xc9MO\xd2R\x10\xa9\x9eT|\xe6\xe3\x86\xb0\xf0\xe3L\x82\xd4\x11Qq\x01}8D\x0e\xb2j\x03s\x14\xb5-', crc=3674414819, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:35.479 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:35.479 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":530,"3":295,"104":"stop"},"t":1708984054}' 2024-02-26 23:47:41.461 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5n\x00\x00\x00\x01\x81\xd1\x02K\x1d,\x7fP\xef\xc7la\xeb`\x99*\x1e\x18\x1e\xde\xcc\x7fD\x14\x84z]\xfb \x13\x9f\x051\xb9\x8d\xf4\x8e(\x97\x84\x11y\xb4fl;\xac1', crc=4072694233, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:41.461 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:41.461 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":510,"3":295},"t":1708984060}' 2024-02-26 23:47:42.909 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:47:42.909 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:47:42.910 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:47:43.083 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:43.083 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:47:43.083 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:47:47.442 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5o\x00\x00\x00\x01Xx\xc3Tt\xa6\xba^\x97\xa3\xe5.\xcb\xb5\x8e"?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18\'+\x10\xcdI2BM\x860I\xb9\x8c\xbdI\xcc\x82\x93X\x89', crc=469664212, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:47.442 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:47.442 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":495,"3":295},"t":1708984066}' 2024-02-26 23:47:53.083 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:47:53.084 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:47:53.084 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:47:53.176 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:53.176 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:47:53.177 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:47:53.423 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5p\x00\x00\x00\x011\xb3\x7f[ ,\x1d\x8d\x8a\x90\x98m}\x1f\x9a\xd4\x1e\x18\x1e\xde\xcc\x7fD\x14\x84z]\xfb \x13\x9f\x05\xedX\xf6H+\xe2\xbd,\xf9v!\x0b\xec6\xd0\x02', crc=3857180020, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:53.423 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:53.423 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":480,"3":295},"t":1708984072}' 2024-02-26 23:47:59.406 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5q\x00\x00\x00\x01\xadL\xb4'\x0c\xc3\xb6\xdf:\xd8\xc8\x86c\x15\x9c\xf4?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18'+\x10\xcd\xea\xe8\tb\x02\xb6\x9ei\xa1\x0bf+8\x82\xf7\n", crc=3358556268, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:47:59.407 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:47:59.408 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":465,"3":295},"t":1708984078}' 2024-02-26 23:48:03.178 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:03.178 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:03.179 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:03.310 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:03.310 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:03.310 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:05.393 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5r\x00\x00\x00\x01\x19\x8c`\xe19>A5"H\xbc\xd0\x08\xbb\xdd\x8a\x1e\x18\x1e\xde\xcc\x7fD\x14\x84z]\xfb \x13\x9f\x05\xe9nLK\xd6\x08\xe9;\xf6t\xa7\x13[\r^\x1c', crc=2611831751, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:05.393 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:05.394 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":450,"3":295},"t":1708984084}' 2024-02-26 23:48:11.366 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5s\x00\x00\x00\x01]\x16\xfdGWM\xc6o3{Q\\\xd0\x92b\x91?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18'+\x10\xcd\x05E\x112U\x01\x9b\xdc\x80\xed&x(\xc2\xfa\x9b", crc=2265497629, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:11.366 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:11.367 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":435,"3":295},"t":1708984090}' 2024-02-26 23:48:13.311 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:13.311 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:13.312 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:13.344 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:13.344 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:13.344 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:17.348 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5t\x00\x00\x00\x010\x87m|6r\xff\x93\xa1\x96\xacbA\x99\xee??\xb4\xe41M\xb4\xad\xd6\x9c*2\x18'+\x10\xcd=\x06|\xbd]\x05\xaah\x85\xd7\xa9\xe7\xaa\x02\xdd\xbf", crc=3508458974, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:17.348 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:17.349 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":415,"3":295},"t":1708984096}' 2024-02-26 23:48:23.344 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:23.344 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:23.345 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:23.372 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:23.372 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:23.372 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:23.597 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5u\x00\x00\x00\x01A\xbaF\xc9\xf8\xd5\xef\x8b\xb0\xe0\x82\xef\x15\xb8\xb2\xf2?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18'+\x10\xcd)x\xcdC\x126\xf8E\xfa#\xc6\x05\x8e\x87m\xb9", crc=2857816169, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:23.597 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:23.598 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":405,"3":295},"t":1708984102}' 2024-02-26 23:48:29.571 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5v\x00\x00\x00\x01\x17_\x1e\xbcYU\x8b<;\x18\x03\xc9?\xd2\xcfZ\x1e\x18\x1e\xde\xcc\x7fD\x14\x84z]\xfb \x13\x9f\x05?\xcd\x9f|\xed6\xb2\xc1\xf4\x83i\xb7*\x06\x1c\x18', crc=2441448218, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:29.571 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:29.572 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":390,"3":295},"t":1708984108}' 2024-02-26 23:48:33.372 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:33.372 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:33.374 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:33.416 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:33.416 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:33.416 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:35.575 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5w\x00\x00\x00\x01\xe9\xc5\x99\xa0"A\xd4?\x1dK\x99G\xf5\tm\xaa?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18\'+\x10\xcd8\x90mR\xf4\x85\xf9\xbe\xef\x11\xbe\x05\x8d!t\x9c', crc=4272757520, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:35.575 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:35.575 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":385,"3":295},"t":1708984114}' 2024-02-26 23:48:41.533 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5x\x00\x00\x00\x01\x171\x1c;o\x9c\x8e\x9fr\x9b\x17(\xa4r\x98\xe9?\xb4\xe41M\xb4\xad\xd6\x9c*2\x18'+\x10\xcd\x0f\x05t\xe74\xfc\x10\xb49\x1f!_{k\x01\xeb", crc=1371505198, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:41.534 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:41.534 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":375,"3":295},"t":1708984120}' 2024-02-26 23:48:43.417 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:43.417 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:43.417 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:43.441 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:43.441 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:43.441 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:47.535 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5y\x00\x00\x00\x01\x171\x1c;o\x9c\x8e\x9fr\x9b\x17(\xa4r\x98\xe9\x1e\x18\x1e\xde\xcc\x7fD\x14\x84z]\xfb \x13\x9f\x05\xb9\xfb\xeb\x12\x110~&-\xb3r\x9aG{\x0b\xdf', crc=993073743, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:47.535 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:47.535 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"103":370,"3":295},"t":1708984126}' 2024-02-26 23:48:53.442 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:48:53.442 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:48:53.443 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:48:53.479 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:53.479 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:48:53.480 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:48:53.496 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5z\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\x0c\xe6\x83\xb0\x88|\x97\xceu\x9f\x10\xc8\xe0\xd0=\xee\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=1090083303, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:53.496 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:53.497 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984132}' 2024-02-26 23:48:59.481 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5{\x00\x00\x00\x01\x13S\x00\xc9\xb8\xa3c\xf4\xd6\xe1\xf5\x83\xfe\x1e\xf6\xe8\xf0\x9b\x9f7\x83;\x91\xcaS\xf6z\x99\xadFA)\xd1F\x08F\xf6\x02\xdd\xee\x1d\xe8\xaadE\xf6\xa6\x8a\\\x1e\xf9\x9c\xdf`\xa5E\xfb0\x1c\x0e\x80\xa5.,', crc=424632359, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:48:59.481 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:48:59.482 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"102":290,"103":365,"3":290},"t":1708984138}' 2024-02-26 23:49:03.480 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:03.480 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:03.480 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:03.511 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:03.512 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:03.512 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:05.476 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5|\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\x98NY>\x98\xe1F\x00\xfb=\xff\xcf\xe3\xb7<\x96\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2987505820, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:05.476 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:05.476 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984144}' 2024-02-26 23:49:11.443 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5}\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xbbx\xdf\x91\x92\xcd\x9d\x8cV\x05Q\x95!\xa1\xe7\x05\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=74382264, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:11.443 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:11.444 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984150}' 2024-02-26 23:49:13.513 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:13.513 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:13.513 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:13.556 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:13.557 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:13.557 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:17.422 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5~\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%a\x9cO+\xdeN\xcbsD\x9a\x9f\x18\xda\xc5\x98\xd3\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=329388202, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:17.422 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:17.422 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984156}' 2024-02-26 23:49:23.403 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x7f\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\tVv\x95\xf2$\xe3\xa9\xdf\xe9^RGO\xb9\xba\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2887937681, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:23.403 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:23.403 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984162}' 2024-02-26 23:49:23.558 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:23.558 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:23.558 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:23.587 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:23.587 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:23.587 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:29.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x80\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\x84\xae\xde\x18\x02\xbd\x87\xba\xef\x17\xa0\xc1\\\x8eIS\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3545659290, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:29.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:29.385 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984168}' 2024-02-26 23:49:33.588 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:33.588 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:33.589 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:33.628 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:33.629 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:33.629 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:35.398 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x81\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xdb\xf8\xf1\xa9\xe7\xff\xb5:>\x9a\xb5\x82\xa9\xe8HO\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=4087228079, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:35.398 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:35.399 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984174}' 2024-02-26 23:49:41.613 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x82\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%q\xb1\n\x93\x8c\x95\xef\x8cQ\x81T\x19.+r\xab\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=4041385371, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:41.613 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:41.614 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984180}' 2024-02-26 23:49:43.629 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:43.629 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:43.629 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:43.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:43.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:43.668 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:47.589 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x83\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xb4R\xd6d7\x87\x8e\xc0l\x171lf\r\xb5\xcc\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=3284795224, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:47.589 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:47.590 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984186}' 2024-02-26 23:49:53.598 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x84\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%u\xbb\xbf\x07\xac,N\x86J\xcf\x96\xd9+[\xbd2\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=168189531, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:53.598 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:53.599 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984192}' 2024-02-26 23:49:53.669 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:49:53.669 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:49:53.669 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:49:53.701 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:53.701 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:49:53.702 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:49:59.551 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x85\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xbfHz\xcbf\x1b\x80\xb7v\xe2\x7f\xa6\x03\x9a\xd4+\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=4017959631, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:49:59.551 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:49:59.552 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984198}' 2024-02-26 23:50:03.702 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:50:03.702 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:50:03.703 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:50:03.934 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:03.934 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:50:03.934 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:50:05.532 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x86\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\x19\xfc\xb7.\xf1\x9ce\xd60F\xb6*\xd3\x8d,\xf0\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=205439228, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:05.532 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:05.533 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984204}' 2024-02-26 23:50:11.513 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x87\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xd5}@\xf8\x0eU\xb8\xb8P>s/N\x9a\xff\x9f\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2568249116, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:11.513 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:11.514 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984210}' 2024-02-26 23:50:13.934 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:50:13.935 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:50:13.935 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:50:14.121 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:14.121 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:50:14.121 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:50:17.495 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b"3.3\x00\x00\x00\x00\x00\x00\xd5\x88\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%'\x1b\x01\xe8\x06]\xa3Fu\\\xa0\xc7\xce\xfd(\xb3\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10", crc=3121648319, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:17.496 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:17.496 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984216}' 2024-02-26 23:50:23.487 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x89\x00\x00\x00\x01\x7fS\xfc"\xf0I\xb3om\x046\x1c7\xea\xfa\xef#=\xa3\xfc.I\x96[=\x0f5f\xf9\x8d\xb7\xc7\x19\x86\xa3\xe7\xa2o\xa9\xf0W\x08|\xe5\x9c\xf2\x10\xd1', crc=3515650859, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:23.487 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:23.488 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"108":false,"3":290},"t":1708984222}' 2024-02-26 23:50:24.121 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:50:24.122 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:50:24.122 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:50:24.214 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:24.214 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:50:24.214 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:50:29.458 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x8a\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%\xed\x91R4gc\x00\x93\xed-\x91v\xae=(G\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=699430417, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:29.458 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:29.458 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984228}' 2024-02-26 23:50:34.215 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending command 9 (device type: type_0a) 2024-02-26 23:50:34.215 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Sending payload: b'{"gwId":"bfcdf9da405d297eddyqy8","devId":"bfcdf9da405d297eddyqy8"}' 2024-02-26 23:50:34.215 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Command 9 waiting for seq. number -100 2024-02-26 23:50:34.247 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 9 TuyaMessage(seqno=0, cmd=9, retcode=0, payload=b'', crc=2958142211, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:34.247 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got heartbeat response 2024-02-26 23:50:34.247 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] ACK received for command 9: ignoring it 2024-02-26 23:50:35.506 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Dispatching message CMD 8 TuyaMessage(seqno=0, cmd=8, retcode=0, payload=b'3.3\x00\x00\x00\x00\x00\x00\xd5\x8b\x00\x00\x00\x01\xc8\xe1\xe4&\xf0\xd2q\x13\xf9g\xfb<\x1d\xc1\xc3%R+w\xc6\x1d9u\xd10y\xf6i\x1e\xc7\xc0_\x1dmO\x00\x94\x9e\x7f\xc5R\xc6\x94\x7fg\x19\xb3\x10', crc=2083649184, crc_good=True, prefix=21930, iv=None) 2024-02-26 23:50:35.506 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Got status update 2024-02-26 23:50:35.506 DEBUG (MainThread) [custom_components.localtuya.core.pytuya] [bfc...qy8] Deciphered data = '{"dps":{"3":290},"t":1708984234}' ```

xZetsubou commented 7 months ago

So to clarify the reason this happens to you it because there is different DP reports it states before the states ON/OFF. Localtuya update via pushing so because "Current Temperature" updates it states before "on/off" state it caused this issue.

however this isn't a bug it may looks weird, I'll see if I can make around to handle this better

Fannangir commented 7 months ago

You are right, this is not critical, as it is mainly visual. The air conditioner operates correctly. Thank you very much for the effort.

Fannangir commented 7 months ago

Is there a chance you had the time to look into the topic? Thanks in advance for the effort.

xZetsubou commented 7 months ago

Which one?

Fannangir commented 7 months ago

This one: “So to clarify the reason this happens to you it because there is different DP reports it states before the states ON/OFF. Localtuya update via pushing so because "Current Temperature" updates it states before "on/off" state it caused this issue.

however this isn't a bug it may looks weird, I'll see if I can make around to handle this better”

xZetsubou commented 6 months ago

I forgot to ask does this always happen or does it happen often.

Fannangir commented 6 months ago

Always happens.

xZetsubou commented 6 months ago

After looking more into the logs it seems your device report the status every 6 seconds now matter the changes is. by usually it should reports instantly if any changes happen.

For now I don't have an idea how to handle this kinda of devices. I can say this issue is device bad behavior and not related to localtuya or home assistant.

However what if you changed the mode from "heating -> cool" does it behave the same?

note: the issue might get closed by the bot, it's fine since the last issue you has isn't bug. but still can comment here. If I can think of a workaround for this without causing any changes to normal climate devices I'll do it.

github-actions[bot] commented 6 months ago

This issue was closed because it was resolved on the release: 3.2.5

Fannangir commented 6 months ago

You are right, exactly the same behavior. The new mode is shown for a second, then switches to the current mode for a second or two, and then switches to the correct mode (which was just set).

Sorry for the delay, didn't have an ability to test till now.

Fannangir commented 6 months ago

@xZetsubou is there a chance you have looked into this point?

Fannangir commented 6 months ago

@xZetsubou Did you have a chance to review? Would it be better to create a new issue?

xZetsubou commented 6 months ago

I haven't find workaround for this, it not like I don't have an ideas but that will affect the normal device that's actually reports states normally which I won't do.

Would it be better to create a new issue?

Why? This isn't an issue related to the integration it's actually device behavior.