test: re-record protocol 2 fixtures with the command ops

The schema now lists the ops 16-25 and shadeCommanded. Scrubbed as
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
cjkas 2026-10-24 12:02:38 +02:00
parent 0b54264ee3
commit 598d708b12
3 changed files with 105 additions and 22 deletions

View file

@ -3,6 +3,6 @@
"t": 1, "t": 1,
"d": { "d": {
"fw": "v3.0.14", "fw": "v3.0.14",
"sh": "8198c564" "sh": "0fa739cc"
} }
} }

View file

@ -1,5 +1,5 @@
{ {
"hash": "8198c564", "hash": "0fa739cc",
"types": { "types": {
"1": "hello", "1": "hello",
"2": "reply", "2": "reply",
@ -8,6 +8,16 @@
"5": "syncEnd", "5": "syncEnd",
"6": "subscribe", "6": "subscribe",
"7": "unsubscribe", "7": "unsubscribe",
"16": "shadeCommand",
"17": "groupCommand",
"18": "tiltCommand",
"19": "repeatCommand",
"20": "setPositions",
"21": "setSensor",
"22": "setMyPosition",
"23": "unpairShade",
"24": "setRollingCode",
"25": "sendRemoteCommand",
"128": "shadeState", "128": "shadeState",
"129": "shade", "129": "shade",
"130": "shadeRemoved", "130": "shadeRemoved",
@ -19,7 +29,7 @@
"136": "roomOrder", "136": "roomOrder",
"137": "shadeOrder", "137": "shadeOrder",
"138": "groupOrder", "138": "groupOrder",
"139": "shadeCommand", "139": "shadeCommanded",
"140": "memory", "140": "memory",
"141": "wifi", "141": "wifi",
"142": "ethernet", "142": "ethernet",
@ -333,6 +343,11 @@
"kind": "i", "kind": "i",
"default": 0 "default": 0
}, },
"re": {
"name": "repeat",
"kind": "i",
"default": 0
},
"rp": { "rp": {
"name": "repeats", "name": "repeats",
"kind": "i", "kind": "i",
@ -383,6 +398,11 @@
"kind": "b", "kind": "b",
"default": 0 "default": 0
}, },
"sn": {
"name": "sunny",
"kind": "b",
"default": 0
},
"so": { "so": {
"name": "source", "name": "source",
"kind": "s", "kind": "s",
@ -453,6 +473,11 @@
"kind": "i", "kind": "i",
"default": 0 "default": 0
}, },
"wn": {
"name": "windy",
"kind": "b",
"default": 0
},
"x": { "x": {
"name": "desc", "name": "desc",
"kind": "s", "kind": "s",

View file

@ -32,6 +32,46 @@
7, 7,
"unsubscribe" "unsubscribe"
], ],
[
16,
"shadeCommand"
],
[
17,
"groupCommand"
],
[
18,
"tiltCommand"
],
[
19,
"repeatCommand"
],
[
20,
"setPositions"
],
[
21,
"setSensor"
],
[
22,
"setMyPosition"
],
[
23,
"unpairShade"
],
[
24,
"setRollingCode"
],
[
25,
"sendRemoteCommand"
],
[ [
128, 128,
"shadeState" "shadeState"
@ -78,7 +118,7 @@
], ],
[ [
139, 139,
"shadeCommand" "shadeCommanded"
], ],
[ [
140, 140,
@ -454,6 +494,24 @@
"i", "i",
0 0
], ],
[
"re",
"repeat",
"i",
0
],
[
"sn",
"sunny",
"b",
0
],
[
"wn",
"windy",
"b",
0
],
[ [
"xr", "xr",
"maxRooms", "maxRooms",
@ -845,9 +903,19 @@
"c": 1048614 "c": 1048614
} }
] ]
}, }
]
}
},
{
"v": 2,
"t": 4,
"d": {
"S": [
{ {
"s": 6, "s": 6,
"p": 100,
"t": 100,
"c": 1048615, "c": 1048615,
"n": "name 40", "n": "name 40",
"a": 1048617, "a": 1048617,
@ -895,15 +963,7 @@
"c": 1048628 "c": 1048628
} }
] ]
} },
]
}
},
{
"v": 2,
"t": 4,
"d": {
"S": [
{ {
"s": 8, "s": 8,
"c": 1048629, "c": 1048629,
@ -1020,15 +1080,13 @@
} }
], ],
"Z": { "Z": {
"fr": 94956, "fr": 106640,
"mx": 53236, "mx": 49140,
"mn": 45904, "mn": 61988,
"to": 266884, "to": 266820,
"up": 672549, "up": 29406,
"lp": 998,
"lx": 13409,
"sd": "ssid 80", "sd": "ssid 80",
"sg": -68, "sg": -69,
"ch": 6 "ch": 6
} }
} }