diff --git a/devices/greeble/jz-rgbw-z01.json b/devices/greeble/jz-rgbw-z01.json new file mode 100644 index 0000000000..fe47134066 --- /dev/null +++ b/devices/greeble/jz-rgbw-z01.json @@ -0,0 +1,127 @@ +{ + "schema": "devcap1.schema.json", + "manufacturername": "GREEBLE", + "modelid": "JZ-RGBW-Z01", + "product": "JZ-RGBW-Z01", + "sleeper": false, + "status": "Gold", + "subdevices": [ + { + "type": "$TYPE_EXTENDED_COLOR_LIGHT", + "restapi": "/lights", + "uuid": [ + "$address.ext", + "0x02" + ], + "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": "cap/color/capabilities", + "refresh.interval": 86400 + }, + { + "name": "cap/color/ct/max", + "refresh.interval": 86400, + "default": "0xfeff" + }, + { + "name": "cap/color/ct/min", + "refresh.interval": 86400, + "default": 0 + }, + { + "name": "cap/color/xy/blue_x", + "static": 0 + }, + { + "name": "cap/color/xy/blue_y", + "static": 0 + }, + { + "name": "cap/color/xy/green_x", + "static": 0 + }, + { + "name": "cap/color/xy/green_y", + "static": 65279 + }, + { + "name": "cap/color/xy/red_x", + "static": 65279 + }, + { + "name": "cap/color/xy/red_y", + "static": 0 + }, + { + "name": "state/alert", + "default": "none" + }, + { + "name": "state/bri", + "refresh.interval": 5 + }, + { + "name": "state/colormode", + "refresh.interval": 300 + }, + { + "name": "state/ct", + "refresh.interval": 5 + }, + { + "name": "state/effect", + "refresh.interval": 300, + "default": "none" + }, + { + "name": "state/hue" + }, + { + "name": "state/on", + "refresh.interval": 5 + }, + { + "name": "state/reachable" + }, + { + "name": "state/sat", + "refresh.interval": 5 + }, + { + "name": "state/x", + "refresh.interval": 5 + }, + { + "name": "state/y" + } + ] + } + ] +}