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

Namron motion sensor #8045

Closed
1 task done
skysurfer2000 opened this issue Nov 27, 2024 · 6 comments
Closed
1 task done

Namron motion sensor #8045

skysurfer2000 opened this issue Nov 27, 2024 · 6 comments

Comments

@skysurfer2000
Copy link

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for my device

Product name

Namron Zigbee Motion Sensor

Manufacturer

Namron AS

Model identifier

4512763

Device type to add

Sensor

Node info

image

Endpoints and clusters

image

Basic

image

Further relevant clusters

Power Configuration

image

On/Off

Level Control

Color Control

Thermostat

Simple Metering

Electrical Measurement

Any other cluster of relevance/interest

@Smanar
Copy link
Collaborator

Smanar commented Nov 29, 2024

Hello can try this DDF

{
  "schema": "devcap1.schema.json",
  "manufacturername": "Namron AS",
  "modelid": "4512763",
  "vendor": "Namron",
  "product": "Motion sensor (4512763)",
  "sleeper": true,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_PRESENCE_SENSOR",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0500"
      ],
      "fingerprint": {
        "profile": "0x0104",
        "device": "0x0402",
        "endpoint": "0x01",
        "in": [
          "0x0000",
          "0x0001",
          "0x0500"
        ]
      },
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "config/battery",
          "awake": true,
          "refresh.interval": 86400,
          "read": {
            "at": "0x0021",
            "cl": "0x0001",
            "ep": 1,
            "fn": "zcl:attr"
          },
          "parse": {
            "at": "0x0021",
            "cl": "0x0001",
            "ep": 1,
            "fn": "zcl:attr",
            "eval": "Item.val = Attr.val / 2"
          }
        },
        {
          "name": "config/checkin"
        },
        {
          "name": "config/enrolled"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/pending"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/lastupdated"
        },
        {
          "name": "state/lowbattery"
        },
        {
          "name": "state/presence",
          "awake": true
        },
        {
          "name": "state/tampered",
          "awake": true
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0500"
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0001",
      "report": [
        {
          "at": "0x0021",
          "dt": "0x20",
          "min": 300,
          "max": 43200,
          "change": "0x00000001"
        }
      ]
    }
  ]
}

@skysurfer2000
Copy link
Author

skysurfer2000 commented Nov 30, 2024

I finally managed to import the DDF and it works perfectly! Thank you!

@Smanar
Copy link
Collaborator

Smanar commented Dec 1, 2024

Do you want to make the PR or want I make it ?

@skysurfer2000
Copy link
Author

Do you want to make the PR or want I make it ?

I don’t know how to make a PR, so please make it. Thanks.

@Smanar
Copy link
Collaborator

Smanar commented Dec 1, 2024

Done > #8049

Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants