Skip to content

Commit

Permalink
Sets the attributes to store the values in NVM to keep them after reb…
Browse files Browse the repository at this point in the history
…ooting.
  • Loading branch information
JohnWangCH committed Jan 16, 2024
1 parent 11466dc commit ede327b
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2615,10 +2615,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -2851,10 +2851,10 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"defaultValue": "0xFE",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3345,7 +3345,7 @@
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00FA",
Expand All @@ -3361,7 +3361,7 @@
"side": "server",
"type": "enum8",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x02",
Expand Down Expand Up @@ -3903,4 +3903,4 @@
"networkId": 0
}
]
}
}
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2975,10 +2975,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3085,4 +3085,4 @@
"networkId": 0
}
]
}
}
10 changes: 5 additions & 5 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2837,10 +2837,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3073,10 +3073,10 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
"defaultValue": "0xFE",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3517,4 +3517,4 @@
"networkId": 0
}
]
}
}
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
Original file line number Diff line number Diff line change
Expand Up @@ -3057,7 +3057,7 @@
"side": "server",
"type": "DlLockState",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
Expand Down Expand Up @@ -3414,4 +3414,4 @@
"networkId": 0
}
]
}
}
18 changes: 9 additions & 9 deletions examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2805,10 +2805,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3041,10 +3041,10 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
"defaultValue": "0xFE",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3577,7 +3577,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand All @@ -3593,7 +3593,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down Expand Up @@ -3657,7 +3657,7 @@
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00FA",
Expand All @@ -3673,7 +3673,7 @@
"side": "server",
"type": "enum8",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -4007,4 +4007,4 @@
"networkId": 0
}
]
}
}
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0xA",
Expand Down Expand Up @@ -2987,4 +2987,4 @@
"networkId": 0
}
]
}
}
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x11d0",
Expand Down Expand Up @@ -2987,4 +2987,4 @@
"networkId": 0
}
]
}
}
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2797,7 +2797,7 @@
"side": "server",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0xC351",
Expand Down Expand Up @@ -2955,4 +2955,4 @@
"networkId": 0
}
]
}
}
7 changes: 4 additions & 3 deletions examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{
"fileFormat": 2,
"featureLevel": 99,
Expand Down Expand Up @@ -2829,10 +2830,10 @@
"side": "server",
"type": "OccupancyBitmap",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -2971,4 +2972,4 @@
"networkId": 0
}
]
}
}
10 changes: 5 additions & 5 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2805,10 +2805,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3041,10 +3041,10 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
"defaultValue": "0xFE",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3427,4 +3427,4 @@
"networkId": 0
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2857,10 +2857,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3147,4 +3147,4 @@
"networkId": 0
}
]
}
}
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2805,10 +2805,10 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -3175,4 +3175,4 @@
"networkId": 0
}
]
}
}
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2855,7 +2855,7 @@
"side": "server",
"type": "int16s",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0xA",
Expand Down Expand Up @@ -2997,4 +2997,4 @@
"networkId": 0
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,7 @@
"side": "server",
"type": "int16s",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2350",
Expand Down Expand Up @@ -2971,4 +2971,4 @@
"networkId": 0
}
]
}
}
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2985,7 +2985,7 @@
"side": "server",
"type": "int16s",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2000",
Expand Down Expand Up @@ -3337,7 +3337,7 @@
"side": "server",
"type": "enum8",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -3802,4 +3802,4 @@
"networkId": 0
}
]
}
}
Loading

0 comments on commit ede327b

Please sign in to comment.