Perfekt. Danke.
Mein Vorschlag für das Profil der Qualität.
Man muss aber dazu sagen, dass es derzeit nur mit dieser DDF funktioniert, die von mir manuell erstellt wurde. Von DeconZ gibt es derzeit KEINE Beschreibung. Wenn die also was ändern, wird man möglicherweise auch am Modul was ändern müssen.
Hier meine aktuelle DDF
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_IKEA",
"modelid": "STARKVIND Air purifier table",
"product": "STARKVIND Air purifier table",
"sleeper": false,
"status": "Gold",
"path": "/devices/starkvind_air_purifier_table_neu.json",
"subdevices": [
{
"type": "$TYPE_AIR_QUALITY_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0xfc7d"
],
"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/controlsequence",
"parse": {
"at": "0x0006",
"cl": "0xfc7d",
"ep": 255,
"eval": "Item.val = Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "config/fanmode",
"parse": {
"at": "0x0000",
"cl": "0x0202",
"ep": 255,
"eval": "Item.val = Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "config/ledindication",
"parse": {
"at": "0x0003",
"cl": "0xfc7d",
"ep": 255,
"eval": "Item.val = !Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "config/locked",
"parse": {
"at": "0x0005",
"cl": "0xfc7d",
"ep": 255,
"eval": "Item.val = Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/airqualityppb",
"parse": {
"at": "0x0004",
"cl": "0xfc7d",
"ep": 255,
"eval": "Item.val = Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "state/alarm",
"description": "Replace Filter",
"parse": {
"at": "0x0001",
"cl": "0xfc7d",
"ep": 1,
"eval": "Item.val = Attr.val",
"fn": "zcl",
"mf": "0x117c"
}
},
{
"name": "state/lastupdated"
},
{
"name": "state/speed",
"parse": {
"at": "0x0007",
"cl": "0xfc7d",
"ep": 255,
"eval": "Item.val = Attr.val / 10",
"fn": "zcl",
"mf": "0x117c"
}
}
]
}
]
}