Add support for SNZB-02D SonOff multisensor
* Add support for SNZB-02D SonOff multisensor
Add support forSNZB-02D SonOff multisensor. See PR
* Update snzb-02-multisensor.json
* Update snzb-02-multisensor.json
Adjusting battery interval to avoid flooding
* Update snzb-02-multisensor.json
Ajust swversion refresh interval to a complete day
{
"schema": "devcap1.schema.json",
- "manufacturername": "eWeLink",
- "modelid": "TH01",
+ "manufacturername": ["eWeLink","SONOFF"],
+ "modelid": ["TH01","SNZB-02D"],
"vendor": "SONOFF",
- "product": "SNZB-02",
+ "product": "SNZB-02 multisensor",
"sleeper": true,
"status": "Gold",
"subdevices": [
},
{
"name": "attr/swversion",
- "refresh.interval": 84000,
+ "refresh.interval": 86400,
"read": {
"at": "0x0006",
"cl": "0x0000",
{
"name": "config/battery",
"awake": true,
+ "refresh.interval": 3600,
"read": {
"at": "0x0021",
"cl": "0x0001",
},
{
"name": "attr/swversion",
- "refresh.interval": 84000,
+ "refresh.interval": 86400,
"read": {
"at": "0x0006",
"cl": "0x0000",
{
"name": "config/battery",
"awake": true,
+ "refresh.interval": 3600,
"read": {
"at": "0x0021",
"cl": "0x0001",
]
}
],
- "bindings": [
- {
+ "bindings": [{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0001",
- "report": [
- {
+ "report": [{
"at": "0x0021",
"dt": "0x20",
- "min": 60,
- "max": 3600,
- "change": "0x00000001"
- }
- ]
- },
- {
+ "min": 3600,
+ "max": 7200,
+ "change": "0x00000002"
+ }]
+ }, {
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0405",
- "report": [
- {
+ "report": [{
"at": "0x0000",
"dt": "0x21",
- "min": 300,
+ "min": 5,
"max": 1800,
- "change": "0x000001F4"
- }
- ]
- },
- {
+ "change": "0x00000064"
+ }]
+ }, {
"bind": "unicast",
"src.ep": 1,
"cl": "0x0402",
- "report": [
- {
+ "report": [{
"at": "0x0000",
"dt": "0x29",
- "min": 300,
+ "min": 5,
"max": 1800,
- "change": "0x00000064"
- }
- ]
- }
- ]
+ "change": "0x0000000A"
+ }]
+ }]
}
