Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

support for PIR motion sensor #501

Open
curios24 opened this issue Sep 26, 2024 · 0 comments
Open

support for PIR motion sensor #501

curios24 opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@curios24
Copy link

Device Infomation JSON File

[
  {
    "active_time": 1727352163,
    "biz_type": 18,
    "category": "dj",
    "create_time": 1727328171,
    "icon": "smart/icon/ay1535356536379kshGf/5758e4cd86fbfc38347b6b8234e1947b.png",
    "id": "8423685570039f7d3cf2",
    "ip": "",
    "lat": "",
    "local_key": "",
    "lon": "",
    "model": "E17調光2色 スマートLED電球(調光・調色)",
    "name": "電球(調光・調色)",
    "online": true,
    "owner_id": "215008586",
    "product_id": "3tp69a0vzbjy98c0",
    "product_name": "電球(調光・調色)E17",
    "status": [
      {
        "code": "bright_value",
        "value": 255
      },
      {
        "code": "switch_led",
        "value": false
      },
            {
        "code": "temp_value",
        "value": 158
      }
    ],
    "sub": false,
    "time_zone": "+09:00",
    "uid": "",
    "update_time": 1727352169,
    "uuid": "",
    "schema": [
      {
        "code": "bright_value",
        "mode": "rw",
        "type": "Integer",
        "property": {
          "min": 25,
          "scale": 0,
          "unit": "",
          "max": 255,
          "step": 1
        }
      },
      {
              "code": "switch_led",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "temp_value",
        "mode": "rw",
        "type": "Integer",
        "property": {
          "min": 0,
          "scale": 0,
          "unit": "",
          "max": 255,
          "step": 1
        }
      }
    ]
  },
  {
    "active_time": 1727352066,
    "biz_type": 18,
    "category": "pir",
    "create_time": 1727327186,
    "icon": "smart/icon/ay1535356536379kshGf/0c976ea37023b8288a13cacff892241e.png",
    "id": "ebf78a3627ce32684dcfab",
    "ip": "",
    "lat": "",
    "local_key": "",
    "lon": "",
    "model": "",
    "name": "Motion Sensor",
    "online": true,
    "owner_id": "215008586",
    "product_id": "mdazdfd7dgpg0wmb",
    "product_name": "スマートセンサー(人感)",
    "status": [],
    "sub": false,
    "time_zone": "+09:00",
    "uid": "",
    "update_time": 1727352069,
    "uuid": "",
    "schema": []
  }
]

Detail Informations

Hi,

I recently installed a Smart Life smart LED and PIR motion sensor. Both were recognized by the SmartLife iOS app but when adding it to homebridge using your plugin (v1.7.0-beta.54), only the LED worked. The PIR motion sensor was labeled “not supported”.

Attached are the device information for both the working LED (product_id: "3tp69a0vzbjy98c0) and not supported motion sensor (product_id: mdazdfd7dgpg0wmb).

Can you add support for this PIR sensor?
Attached is the log file (@0x5e_homebridge-tuya-platform.log(1).txt)

Thanks in advance.
@0x5e_homebridge-tuya-platform.log.txt

@curios24 curios24 added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant