tuya/tuya-home-assistant

Support Request: PetLux Smart Cat Litter Robot

Open

#903 opened on 2023年1月24日

GitHub で見る
 (14 comments) (1 reaction) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

説明

Device normal info

  • PetLux
  • Smart Cat Litter Robot

Device info (please complete the following information, which can be found in log): like this:

{
  "home_assistant": {
    "installation_type": "Home Assistant Core",
    "version": "2023.1.7",
    "dev": false,
    "hassio": false,
    "virtualenv": true,
    "python_version": "3.10.8",
    "docker": false,
    "arch": "arm64",
    "timezone": "Europe/Brussels",
    "os_name": "Darwin",
    "os_version": "13.1",
    "run_as_root": false
  },
  "custom_components": {
    "spotcast": {
      "version": "v3.6.30",
      "requirements": []
    },
    "mass": {
      "version": "2022.12.1",
      "requirements": [
        "music-assistant==1.8.7.2",
        "git+https://github.com/music-assistant/databases@fix-breaking-sqlalchemy-cursor-changes#databases==0.6.3"
      ]
    },
    "sonoff": {
      "version": "3.3.1",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    },
    "mczmaestro": {
      "version": "0.1.0",
      "requirements": [
        "websocket-client==0.57.0"
      ]
    },
    "better_thermostat": {
      "version": "1.0.0",
      "requirements": []
    },
    "xiaomi_miot": {
      "version": "0.4.16",
      "requirements": [
        "construct==2.10.56",
        "python-miio>=0.5.6",
        "micloud>=0.3"
      ]
    },
    "afvalbeheer": {
      "version": "5.0.10",
      "requirements": [
        "rsa",
        "pycryptodome"
      ]
    },
    "neerslag": {
      "version": "2022.07.07.1",
      "requirements": []
    },
    "watchman": {
      "version": "0.5.1",
      "requirements": [
        "prettytable==3.0.0"
      ]
    },
    "miwifi": {
      "version": "2.9.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.30.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "xiaomi_cloud_map_extractor": {
      "version": "v2.2.0",
      "requirements": [
        "pillow",
        "pybase64",
        "python-miio",
        "requests",
        "pycryptodome"
      ]
    }
  },
  "integration_manifest": {
    "domain": "tuya",
    "name": "Tuya",
    "documentation": "https://www.home-assistant.io/integrations/tuya",
    "requirements": [
      "tuya-iot-py-sdk==0.6.6"
    ],
    "dependencies": [
      "ffmpeg"
    ],
    "codeowners": [
      "@Tuya",
      "@zlinoliver",
      "@frenck"
    ],
    "config_flow": true,
    "iot_class": "cloud_push",
    "dhcp": [
      {
        "macaddress": "105A17*"
      },
      {
        "macaddress": "10D561*"
      },
      {
        "macaddress": "1869D8*"
      },
      {
        "macaddress": "381F8D*"
      },
      {
        "macaddress": "508A06*"
      },
      {
        "macaddress": "68572D*"
      },
      {
        "macaddress": "708976*"
      },
      {
        "macaddress": "7CF666*"
      },
      {
        "macaddress": "84E342*"
      },
      {
        "macaddress": "D4A651*"
      },
      {
        "macaddress": "D81F12*"
      }
    ],
    "integration_type": "hub",
    "loggers": [
      "tuya_iot"
    ],
    "is_built_in": true
  },
  "data": {
    "endpoint": "https://openapi.tuyaeu.com",
    "auth_type": 0,
    "country_code": "32",
    "app_type": "tuyaSmart",
    "mqtt_connected": true,
    "disabled_by": null,
    "disabled_polling": false,
    "name": "Automatic Cat Litter Box",
    "model": "\u5ba0\u7269\u732b\u7802\u76c6",
    "category": "msp",
    "product_id": "5t7esmqqh92ssbe5",
    "product_name": "Automatic Cat Litter Box",
    "online": true,
    "sub": false,
    "time_zone": "+01:00",
    "active_time": "2023-01-24T11:33:07+00:00",
    "create_time": "2023-01-24T11:33:07+00:00",
    "update_time": "2023-01-24T11:33:10+00:00",
    "function": {
      "deodorization": {
        "type": "Boolean",
        "value": {}
      }
    },
    "status_range": {
      "cat_weight": {
        "type": "Integer",
        "value": {
          "unit": "g",
          "min": 600,
          "max": 10000,
          "scale": 0,
          "step": 1
        }
      },
      "excretion_times_day": {
        "type": "Integer",
        "value": {
          "unit": "times",
          "min": 0,
          "max": 60,
          "scale": 0,
          "step": 1
        }
      },
      "excretion_time_day": {
        "type": "Integer",
        "value": {
          "unit": "s",
          "min": 0,
          "max": 1800,
          "scale": 0,
          "step": 1
        }
      },
      "deodorization": {
        "type": "Boolean",
        "value": {}
      },
      "fault": {
        "type": "Bitmap",
        "value": {
          "label": [
            "motor_fault",
            "program_fault",
            "g_sensor_fault"
          ],
          "maxlen": 3
        }
      }
    },
    "status": {
      "cat_weight": 600,
      "excretion_times_day": 0,
      "excretion_time_day": 0,
      "deodorization": false,
      "fault": 0
    },
    "home_assistant": {
      "name": "Automatic Cat Litter Box",
      "name_by_user": null,
      "disabled": false,
      "disabled_by": null,
      "entities": []
    }
  }
}

Nothing shows up in the logs as requested so I've added the devices diagnostics info. It connected perfectly but it shows up as unsupported so no sensors/switches are available. If you'd need more info to implement this, feel free to contact me.

Thanks in advance!

コントリビューターガイド