Closed Heiko1977 closed 3 months ago
Hello, can try this DDF ?
{
"schema": "devcap1.schema.json",
"manufacturername": "Third Reality, Inc",
"modelid": "3RDS17BZ",
"product": "Door sensor",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_OPEN_CLOSE_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",
"parse": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"eval": "Item.val = Attr.val / 2"
},
"default": 0
},
{
"name": "config/enrolled",
"public": false
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery"
},
{
"name": "state/tampered"
},
{
"name": "state/open"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 7200,
"max": 14400,
"change":"0x00000002"
}
]
}
]
}
Perfect, works fine.
Thank you very much !!!
No issue ? Do you want to make the PR to submit the device or want I make it ?
I’ve added 4 of them into deconz. Phoscon added them without a problem. States are fine.
if you like, you can submit it.
Thanks for your work.
if you like, you can submit it.
I prefer, to have it under you name, I can explain how to do it if needed ...
if you like, you can submit it.
I prefer, to have it under you name, I can explain how to do it if needed ...
That would be very nice. I’ve never done it before.
Easy:
You PR will appear here https://github.com/dresden-elektronik/deconz-rest-plugin/issues
After that all change you will make on your fork, will be synchronised on this page, so if there is problem, no need to restart all.
Edit: Have just see this page https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/How-to-create-a-pull-request-to-submit-a-new-Device-Description-File
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.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
Is there already an existing issue for this?
Product name
Third Reality, Inc
Manufacturer
Third Reality, Inc
Model identifier
3RDS17BZ
Device type to add
Sensor
Node info
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest