Skip to content

Commit

Permalink
DDF for Greeble JZ-RGBW-Z01 light (#7465)
Browse files Browse the repository at this point in the history
Initial version with polling. The legacy code doesn't seem to like the light much.
  • Loading branch information
manup authored Dec 18, 2023
1 parent b835464 commit 67a1497
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions devices/greeble/jz-rgbw-z01.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}

0 comments on commit 67a1497

Please sign in to comment.