make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.01k stars 405 forks source link

Pool Invert GardenPac (gardenpac_heatpump.yaml) it's not working fully for a while #1903

Closed paazevedo closed 3 weeks ago

paazevedo commented 3 weeks ago

Describe the bug This custom_integration was able to show all the DP's of my Pool Inverter(GardenPac), unfortunately for a while it doesn't show much information unless on\off.

To Reproduce After adding the device, it only shows a climate entity with on\off, which leads to think the DP's codes have changed; Expected behavior Being able to see all the major settings of the device like I was before (mode (silence\smart), temperature set, on\off) pretty much all DP available at https://github.com/make-all/tuya-local/issues/11 Additional context I'm able to interact with the invert via Tuya application without any problems, so I believe it's a quesiton of DPs ID's.

If the bug involves a device, then please include device diagnostics from Settings / Devices & Services / Tuya Local (your device) / "1 device"

 "data": {
    "name": "HeatPump",
    "type": "gardenpac_heatpump",
    "device_id": "**REDACTED**",
    "local_key": "**REDACTED**",
    "host": "**REDACTED**",
    "protocol_version": "auto",
    "api_version_set": 3.3,
    "api_version_used": 3.3,
    "api_working": true,
    "status": {},
    "cached_state": {
      "updated_at": 0
    },
    "pending_state": {},
    "connected": true,
    "home_assistant": {
      "name": "HeatPump",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": [
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "diagnostic",
          "device_class": null,
          "original_device_class": "power_factor",
          "icon": null,
          "unit_of_measurement": "%",
          "state": {
            "entity_id": "sensor.heatpump_power_level",
            "state": "unavailable",
            "attributes": {
              "state_class": "measurement",
              "unit_of_measurement": "%",
              "device_class": "power_factor",
              "icon": "mdi:signal",
              "friendly_name": "HeatPump Power level"
            },
            "last_changed": "2024-05-08T14:01:12.621412+00:00",
            "last_reported": "2024-05-08T14:01:12.621412+00:00",
            "last_updated": "2024-05-08T14:01:12.621412+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": "diagnostic",
          "device_class": null,
          "original_device_class": "problem",
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "binary_sensor.heatpump_water_flow",
            "state": "unavailable",
            "attributes": {
              "device_class": "problem",
              "friendly_name": "HeatPump Water flow"
            },
            "last_changed": "2024-05-08T14:01:12.575393+00:00",
            "last_reported": "2024-05-08T14:01:12.575393+00:00",
            "last_updated": "2024-05-08T14:01:12.575393+00:00"
          }
        },
        {
          "disabled": false,
          "disabled_by": null,
          "entity_category": null,
          "device_class": null,
          "original_device_class": null,
          "icon": null,
          "unit_of_measurement": null,
          "state": {
            "entity_id": "climate.heatpump",
            "state": "unavailable",
            "attributes": {
              "hvac_modes": [
                "heat",
                "off"
              ],
              "min_temp": null,
              "max_temp": null,
              "target_temp_step": 1.0,
              "preset_modes": [
                "Silent",
                "Smart"
              ],
              "friendly_name": "HeatPump",
              "supported_features": 401
            },
            "last_changed": "2024-05-08T14:01:12.536459+00:00",
            "last_reported": "2024-05-08T14:01:12.536459+00:00",
            "last_updated": "2024-05-08T14:01:12.536459+00:00"
          }
        }
      ]
    }
  }
}

However, if I explore the device under the Tuya Developer site and check the device log, I can see the different DP's available to choose and filter them. Below just a simple exemple of the preset_modes:

image

make-all commented 3 weeks ago

There are no DPS being returned in the diagnostics, though the connection has been successfully made. It seems your device may have had a firmware update that broke the local protocol.