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,
"d": {
"fw": "v3.0.14",
"sh": "8198c564"
"sh": "0fa739cc"
}
}

View file

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

View file

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