@kusinta/iot-schema 0.2.0-beta.2 → 0.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +54 -6
- package/src/kusinta/iot/connector/v1/connector_pb.js +1 -1
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +25 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
- package/src/kusinta/iot/device/v1/device_pb.d.ts +29 -1
- package/src/kusinta/iot/device/v1/device_pb.js +1 -1
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +145 -12
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +21 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +24 -2
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +4 -3
- package/src/kusinta/iot/webrtc/v1/command_pb.js +2 -1
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kusinta/iot-schema",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": ["src"],
|
|
@@ -27,7 +27,11 @@
|
|
|
27
27
|
"./connector/service": "./src/kusinta/iot/connector/v1/connector_service_pb.js",
|
|
28
28
|
"./webrtc": "./src/kusinta/iot/webrtc/v1/envelope_pb.js",
|
|
29
29
|
"./webrtc/app-token": "./src/kusinta/iot/webrtc/v1/app_token_pb.js",
|
|
30
|
+
"./webrtc/command": "./src/kusinta/iot/webrtc/v1/command_pb.js",
|
|
31
|
+
"./webrtc/device-state": "./src/kusinta/iot/webrtc/v1/device_state_pb.js",
|
|
30
32
|
"./webrtc/management": "./src/kusinta/iot/webrtc/v1/management_pb.js",
|
|
33
|
+
"./webrtc/permission-push": "./src/kusinta/iot/webrtc/v1/permission_push_pb.js",
|
|
34
|
+
"./webrtc/setpoint-mode": "./src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js",
|
|
31
35
|
"./registration": "./src/kusinta/iot/registration/v1/registration_pb.js",
|
|
32
36
|
"./registration/service": "./src/kusinta/iot/registration/v1/registration_service_pb.js",
|
|
33
37
|
"./signaling": "./src/kusinta/iot/signaling/v1/signaling_pb.js",
|
|
@@ -8,9 +8,9 @@ import type { ConnectorId, DeviceId, GatewayId } from "../../identity/v1/identit
|
|
|
8
8
|
import type { ConnectorTransport } from "../../common/v1/types_pb.js";
|
|
9
9
|
import type { Device } from "../../device/v1/device_pb.js";
|
|
10
10
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import type { AttributeWriteRequest, CommandError, DeviceCommand } from "../../webrtc/v1/command_pb.js";
|
|
11
12
|
import type { PropertyUpdateBatch } from "../../device/v1/property_update_pb.js";
|
|
12
13
|
import type { DeviceEventBatch } from "../../device/v1/device_event_pb.js";
|
|
13
|
-
import type { AttributeWriteRequest, DeviceCommand } from "../../webrtc/v1/command_pb.js";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
@@ -196,6 +196,15 @@ export declare type UnsubscribeDevice = Message<"kusinta.iot.connector.v1.Unsubs
|
|
|
196
196
|
export declare const UnsubscribeDeviceSchema: GenMessage<UnsubscribeDevice>;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
+
* Session-level error, gateway → connector. NOT how a command or a write fails: that is
|
|
200
|
+
* an ordinary ConnectorCommandResult with success = false and a typed CommandError, and
|
|
201
|
+
* one operation failing says nothing about the session, which continues.
|
|
202
|
+
*
|
|
203
|
+
* code stays a free-form string here, unlike webrtc.v1.GatewayError's closed
|
|
204
|
+
* GatewayErrorCode and unlike the CommandError below. A connector is versioned on its own
|
|
205
|
+
* schedule and one may be a third party's, so the set of things that can go wrong between
|
|
206
|
+
* a gateway and a connector is not closed the way the app leg's is.
|
|
207
|
+
*
|
|
199
208
|
* @generated from message kusinta.iot.connector.v1.GatewayError
|
|
200
209
|
*/
|
|
201
210
|
export declare type GatewayError = Message<"kusinta.iot.connector.v1.GatewayError"> & {
|
|
@@ -210,7 +219,7 @@ export declare type GatewayError = Message<"kusinta.iot.connector.v1.GatewayErro
|
|
|
210
219
|
message: string;
|
|
211
220
|
|
|
212
221
|
/**
|
|
213
|
-
* non-empty if the error
|
|
222
|
+
* non-empty if the error refers to a specific request
|
|
214
223
|
*
|
|
215
224
|
* @generated from field: string request_id = 3;
|
|
216
225
|
*/
|
|
@@ -245,14 +254,53 @@ export declare type ConnectorCommandResult = Message<"kusinta.iot.connector.v1.C
|
|
|
245
254
|
success: boolean;
|
|
246
255
|
|
|
247
256
|
/**
|
|
248
|
-
* @generated from field:
|
|
257
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 4;
|
|
249
258
|
*/
|
|
250
|
-
|
|
259
|
+
completedAt?: Timestamp | undefined;
|
|
251
260
|
|
|
252
261
|
/**
|
|
253
|
-
*
|
|
262
|
+
* Why it failed, in the same closed vocabulary the app is eventually given. The gateway
|
|
263
|
+
* forwards this into webrtc.v1.CommandResult.error unchanged; it does not translate.
|
|
264
|
+
*
|
|
265
|
+
* Shared rather than mirrored on purpose. The free-form string this replaces left every
|
|
266
|
+
* connector to invent its own spellings ("TIMEOUT", "UNSUPPORTED_MODE") and the gateway
|
|
267
|
+
* to keep a mapping table that silently fell behind whenever a connector coined a new
|
|
268
|
+
* one — which is the drift a closed vocabulary exists to prevent.
|
|
269
|
+
*
|
|
270
|
+
* A connector produces the subset it can actually observe: REJECTED_BY_DEVICE,
|
|
271
|
+
* UNREACHABLE, TIMEOUT, INVALID_COMMAND, INTERNAL. NOT_ENTITLED and
|
|
272
|
+
* CONSTRAINT_VIOLATED are the gateway's, decided before a command is forwarded at all;
|
|
273
|
+
* a connector never sees the caller's permissions and must not claim to.
|
|
274
|
+
*
|
|
275
|
+
* Rollout note: a connector whose schema predates this sends nothing on field 5 and the
|
|
276
|
+
* gateway reads UNSPECIFIED. Set success = false with no code and the meaning is "it
|
|
277
|
+
* failed, reason unstated" — which is what the string codes amounted to anyway.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: kusinta.iot.webrtc.v1.CommandError error = 5;
|
|
254
280
|
*/
|
|
255
|
-
|
|
281
|
+
error?: CommandError | undefined;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* When this connector's own optimistic window closes: by this time the value has either
|
|
285
|
+
* been confirmed by the device or restored, and either way the connector will have
|
|
286
|
+
* published a PropertyUpdate saying so.
|
|
287
|
+
*
|
|
288
|
+
* Set it when the connector applied the value optimistically and runs a rollback timer
|
|
289
|
+
* of its own — a downstream device with a known, device-specific timeout. The gateway
|
|
290
|
+
* carries it into webrtc.v1.CommandResult.settles_by instead of applying a fixed guess:
|
|
291
|
+
* the connector is the only party that knows the timer, and a gateway-side constant
|
|
292
|
+
* chasing it is the same hardcoded-window problem one level up.
|
|
293
|
+
*
|
|
294
|
+
* Absent means no claim — either the connector confirms synchronously, or it cannot
|
|
295
|
+
* state a bound. Absent is NOT "settles immediately", and the gateway is free to fall
|
|
296
|
+
* back to a deadline of its own when nothing is stated here.
|
|
297
|
+
*
|
|
298
|
+
* This bounds the wait; it does not label the values that arrive. Which update was the
|
|
299
|
+
* optimistic one is device.v1.PropertyUpdate.provenance.
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: optional google.protobuf.Timestamp settles_by = 6;
|
|
302
|
+
*/
|
|
303
|
+
settlesBy?: Timestamp | undefined;
|
|
256
304
|
};
|
|
257
305
|
|
|
258
306
|
/**
|
|
@@ -15,7 +15,7 @@ import { file_kusinta_iot_webrtc_v1_command } from "../../webrtc/v1/command_pb.j
|
|
|
15
15
|
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi5QEKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNIoEBChJDb25uZWN0b3JIYW5kc2hha2USNQoEaW5mbxgBIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5Db25uZWN0b3JJbmZvEjQKDWtub3duX2RldmljZXMYAiADKAsyHS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlImgKDEhhbmRzaGFrZUFjaxIQCghhY2NlcHRlZBgBIAEoCBIOCgZyZWFzb24YAiABKAkSNgoKZ2F0ZXdheV9pZBgDIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZCJVChJEZXZpY2VBbm5vdW5jZW1lbnQSLQoGZGV2aWNlGAIgASgLMh0ua3VzaW50YS5pb3QuZGV2aWNlLnYxLkRld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YXlsb2FkSgQIBBAFQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_device_v1_device, file_kusinta_iot_device_v1_device_event, file_kusinta_iot_device_v1_property_update, file_kusinta_iot_webrtc_v1_command]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
@@ -228,6 +228,31 @@ export declare type ClusterState = Message<"kusinta.iot.device.v1.ClusterState">
|
|
|
228
228
|
* @generated from field: repeated uint32 accepted_command_ids = 5;
|
|
229
229
|
*/
|
|
230
230
|
acceptedCommandIds: number[];
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Matter's AttributeList (0xFFFB): which attributes this cluster instance actually
|
|
234
|
+
* implements HERE, on this endpoint of this device.
|
|
235
|
+
*
|
|
236
|
+
* It answers the question presence cannot. A typed field that is absent means "never
|
|
237
|
+
* reported" — and a device that will never report it, because it does not have the
|
|
238
|
+
* hardware, looks exactly the same. A wall thermostat drives no valve, so it has no
|
|
239
|
+
* PIHeatingDemand; a radiator valve has one it has not sent yet. Listed here with no
|
|
240
|
+
* value in the properties message = implemented, not yet reported. Absent from this
|
|
241
|
+
* list = the device does not have it.
|
|
242
|
+
*
|
|
243
|
+
* Distinct from feature_map, which is per-feature rather than per-attribute, and from
|
|
244
|
+
* (matter_attribute_capabilities), which says what the attribute IS — readable,
|
|
245
|
+
* writable, reportable — uniformly for every device, at compile time. Neither
|
|
246
|
+
* substitutes for the other: an app needs both to decide whether to draw a control,
|
|
247
|
+
* draw a value, or draw nothing.
|
|
248
|
+
*
|
|
249
|
+
* An empty list is "not stated", not "implements nothing". A producer that does not
|
|
250
|
+
* know its device's attribute list leaves it empty; one that does SHOULD fill it at
|
|
251
|
+
* announcement, where it costs nothing per update.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: repeated uint32 attribute_ids = 6;
|
|
254
|
+
*/
|
|
255
|
+
attributeIds: number[];
|
|
231
256
|
};
|
|
232
257
|
|
|
233
258
|
/**
|
|
@@ -8,7 +8,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
8
8
|
* Describes the file kusinta/iot/device/v1/cluster_state.proto.
|
|
9
9
|
*/
|
|
10
10
|
export const file_kusinta_iot_device_v1_cluster_state = /*@__PURE__*/
|
|
11
|
-
fileDesc("
|
|
11
|
+
fileDesc("CilrdXNpbnRhL2lvdC9kZXZpY2UvdjEvY2x1c3Rlcl9zdGF0ZS5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIgsKCU51bGxWYWx1ZSLfAgoOQXR0cmlidXRlVmFsdWUSFAoKYm9vbF92YWx1ZRgBIAEoCEgAEhMKCWludF92YWx1ZRgCIAEoEkgAEhQKCnVpbnRfdmFsdWUYAyABKARIABIWCgxkb3VibGVfdmFsdWUYBCABKAFIABIWCgxzdHJpbmdfdmFsdWUYBSABKAlIABIVCgtieXRlc192YWx1ZRgGIAEoDEgAEj8KCmxpc3RfdmFsdWUYByABKAsyKS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlVmFsdWVMaXN0SAASQwoMc3RydWN0X3ZhbHVlGAggASgLMisua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlU3RydWN0SAASNgoKbnVsbF92YWx1ZRgJIAEoCzIgLmt1c2ludGEuaW90LmRldmljZS52MS5OdWxsVmFsdWVIAEIHCgV2YWx1ZSJLChJBdHRyaWJ1dGVWYWx1ZUxpc3QSNQoGdmFsdWVzGAEgAygLMiUua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlIrUBChRBdHRyaWJ1dGVWYWx1ZVN0cnVjdBJHCgZmaWVsZHMYASADKAsyNy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlVmFsdWVTdHJ1Y3QuRmllbGRzRW50cnkaVAoLRmllbGRzRW50cnkSCwoDa2V5GAEgASgNEjQKBXZhbHVlGAIgASgLMiUua3VzaW50YS5pb3QuZGV2aWNlLnYxLkF0dHJpYnV0ZVZhbHVlOgI4ASJcCg5BdHRyaWJ1dGVTdGF0ZRIUCgxhdHRyaWJ1dGVfaWQYASABKA0SNAoFdmFsdWUYAiABKAsyJS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlVmFsdWUi8AEKDENsdXN0ZXJTdGF0ZRISCgpjbHVzdGVyX2lkGAEgASgNEh0KEGNsdXN0ZXJfcmV2aXNpb24YAiABKA1IAIgBARIYCgtmZWF0dXJlX21hcBgDIAEoDUgBiAEBEjkKCmF0dHJpYnV0ZXMYBCADKAsyJS5rdXNpbnRhLmlvdC5kZXZpY2UudjEuQXR0cmlidXRlU3RhdGUSHAoUYWNjZXB0ZWRfY29tbWFuZF9pZHMYBSADKA0SFQoNYXR0cmlidXRlX2lkcxgGIAMoDUITChFfY2x1c3Rlcl9yZXZpc2lvbkIOCgxfZmVhdHVyZV9tYXBCAkgBYgZwcm90bzM");
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message kusinta.iot.device.v1.NullValue.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { ColorTemperatureLightProperties, ContactSensorProperties, DimmableLightProperties, DoorLockProperties, EnergySensorProperties, HumiditySensorProperties, OccupancySensorProperties, OnOffLightProperties, PowerSourceProperties, PressureSensorProperties, TemperatureSensorProperties, ThermostatProperties, WindowCoveringProperties } from "./properties_pb.js";
|
|
8
|
-
import type { HmThermostatProps } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
8
|
+
import type { HmMaintenanceProps, HmThermostatProps } from "../../vendor/homematic/v1/homematic_pb.js";
|
|
9
9
|
import type { ClusterState } from "./cluster_state_pb.js";
|
|
10
10
|
import type { DeviceDescriptor } from "./descriptor_pb.js";
|
|
11
11
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -173,6 +173,12 @@ export declare type Endpoint = Message<"kusinta.iot.device.v1.Endpoint"> & {
|
|
|
173
173
|
*/
|
|
174
174
|
value: HmThermostatProps;
|
|
175
175
|
case: "hmThermostat";
|
|
176
|
+
} | {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: kusinta.iot.vendor.homematic.v1.HmMaintenanceProps hm_maintenance = 51;
|
|
179
|
+
*/
|
|
180
|
+
value: HmMaintenanceProps;
|
|
181
|
+
case: "hmMaintenance";
|
|
176
182
|
} | { case: undefined; value?: undefined };
|
|
177
183
|
|
|
178
184
|
/**
|
|
@@ -187,6 +193,28 @@ export declare type Endpoint = Message<"kusinta.iot.device.v1.Endpoint"> & {
|
|
|
187
193
|
* @generated from field: repeated kusinta.iot.device.v1.ClusterState clusters = 16;
|
|
188
194
|
*/
|
|
189
195
|
clusters: ClusterState[];
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Which vendor parameters this endpoint's vendor extension actually implements, in the
|
|
199
|
+
* vendor's own spelling — "SABOTAGE", matching (vendor_attribute) byte for byte.
|
|
200
|
+
*
|
|
201
|
+
* The vendor mirror of ClusterState.attribute_ids, and it needs its own field because a
|
|
202
|
+
* vendor parameter has no cluster and so no ClusterState to be listed in. A name list
|
|
203
|
+
* rather than an id list because the vendor branch addresses by name, and a bare list
|
|
204
|
+
* rather than a per-extension map because an endpoint carries at most one vendor
|
|
205
|
+
* extension.
|
|
206
|
+
*
|
|
207
|
+
* Same reading as the Matter side: named here with no value = implemented, not yet
|
|
208
|
+
* reported. Absent from the list = this device does not have it. Empty = not stated,
|
|
209
|
+
* which is not a claim that the device implements nothing.
|
|
210
|
+
*
|
|
211
|
+
* This is what separates "no tamper detected" from "cannot detect tamper" — presence
|
|
212
|
+
* alone cannot, and for SABOTAGE the difference is a safety claim. A connector fills it
|
|
213
|
+
* at announcement from the parameter description its upstream system already holds.
|
|
214
|
+
*
|
|
215
|
+
* @generated from field: repeated string vendor_attribute_names = 17;
|
|
216
|
+
*/
|
|
217
|
+
vendorAttributeNames: string[];
|
|
190
218
|
};
|
|
191
219
|
|
|
192
220
|
/**
|
|
@@ -13,7 +13,7 @@ import { file_kusinta_iot_vendor_homematic_v1_homematic } from "../../vendor/hom
|
|
|
13
13
|
* Describes the file kusinta/iot/device/v1/device.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_kusinta_iot_device_v1_device = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("CiJrdXNpbnRhL2lvdC9kZXZpY2UvdjEvZGV2aWNlLnByb3RvEhVrdXNpbnRhLmlvdC5kZXZpY2UudjEinQoKCEVuZHBvaW50EhMKC2VuZHBvaW50X2lkGAEgASgNEh0KFW1hdHRlcl9kZXZpY2VfdHlwZV9pZBgCIAEoDRJBCgp0aGVybW9zdGF0GAMgASgLMisua3VzaW50YS5pb3QuZGV2aWNlLnYxLlRoZXJtb3N0YXRQcm9wZXJ0aWVzSAASUAoSdGVtcGVyYXR1cmVfc2Vuc29yGAQgASgLMjIua3VzaW50YS5pb3QuZGV2aWNlLnYxLlRlbXBlcmF0dXJlU2Vuc29yUHJvcGVydGllc0gAEkoKD2h1bWlkaXR5X3NlbnNvchgFIAEoCzIvLmt1c2ludGEuaW90LmRldmljZS52MS5IdW1pZGl0eVNlbnNvclByb3BlcnRpZXNIABJMChBvY2N1cGFuY3lfc2Vuc29yGAYgASgLMjAua3VzaW50YS5pb3QuZGV2aWNlLnYxLk9jY3VwYW5jeVNlbnNvclByb3BlcnRpZXNIABJICg5jb250YWN0X3NlbnNvchgHIAEoCzIuLmt1c2ludGEuaW90LmRldmljZS52MS5Db250YWN0U2Vuc29yUHJvcGVydGllc0gAEkoKD3dpbmRvd19jb3ZlcmluZxgIIAEoCzIvLmt1c2ludGEuaW90LmRldmljZS52MS5XaW5kb3dDb3ZlcmluZ1Byb3Bl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ADCgZEZXZpY2USOwoKZGVzY3JpcHRvchgBIAEoCzInLmt1c2ludGEuaW90LmRldmljZS52MS5EZXZpY2VEZXNjcmlwdG9yEjIKCWVuZHBvaW50cxgOIAMoCzIfLmt1c2ludGEuaW90LmRldmljZS52MS5FbmRwb2ludBItCglsYXN0X3NlZW4YFCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDGxhc3RfdXBkYXRlZBgVIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBKBAgCEA5KBAgyEDNSCnRoZXJtb3N0YXRSEnRlbXBlcmF0dXJlX3NlbnNvclIPaHVtaWRpdHlfc2Vuc29yUhBvY2N1cGFuY3lfc2Vuc29yUg5jb250YWN0X3NlbnNvclIPd2luZG93X2NvdmVyaW5nUglkb29yX2xvY2tSDG9uX29mZl9saWdodFIOZGltbWFibGVfbGlnaHRSEGNvbG9yX3RlbXBfbGlnaHRSDWVuZXJneV9zZW5zb3JSD3ByZXNzdXJlX3NlbnNvclIJaG9tZW1hdGljQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_device_v1_cluster_state, file_kusinta_iot_device_v1_descriptor, file_kusinta_iot_device_v1_properties, file_kusinta_iot_vendor_homematic_v1_homematic]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Describes the message kusinta.iot.device.v1.Endpoint.
|
|
@@ -46,6 +46,32 @@ export declare const matter_attribute: GenExtension<FieldOptions, string>;
|
|
|
46
46
|
*/
|
|
47
47
|
export declare const matter_attribute_id: GenExtension<FieldOptions, number>;
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* What the Matter specification says this attribute supports, as a bitmask:
|
|
51
|
+
* READ = 1, WRITE = 2, REPORT = 4. So a read-only reportable attribute is 5, a
|
|
52
|
+
* writable one 7, a write-only one 2.
|
|
53
|
+
*
|
|
54
|
+
* Two things this is NOT.
|
|
55
|
+
*
|
|
56
|
+
* It is not PERMISSION. access/v1/acl.proto's PermissionAction and allowed_actions
|
|
57
|
+
* say what a given user may do; this says what the attribute is capable of. They are
|
|
58
|
+
* orthogonal — a user can hold WRITE on an attribute no device will ever accept a
|
|
59
|
+
* write for, and the schema would be lying if either could be read off the other.
|
|
60
|
+
*
|
|
61
|
+
* It is not the IMPLEMENTED SET either. This is uniform for every device that reports
|
|
62
|
+
* the attribute, because it comes from the specification. Whether one particular
|
|
63
|
+
* device implements it at all is a runtime fact, carried per endpoint by
|
|
64
|
+
* ClusterState.attribute_ids — Matter's own AttributeList. A device may implement
|
|
65
|
+
* less than the specification allows; it may not implement more.
|
|
66
|
+
*
|
|
67
|
+
* Bit 4 is Matter's subscribable/reportable quality. Named REPORT rather than EVENT
|
|
68
|
+
* because Matter spends "event" on a separate concept; the vendor branch's
|
|
69
|
+
* equivalent bit means the same thing under its own name.
|
|
70
|
+
*
|
|
71
|
+
* @generated from extension: uint32 matter_attribute_capabilities = 50009;
|
|
72
|
+
*/
|
|
73
|
+
export declare const matter_attribute_capabilities: GenExtension<FieldOptions, number>;
|
|
74
|
+
|
|
49
75
|
/**
|
|
50
76
|
* The Matter device type IDs this properties message models, e.g. 0x0301 for
|
|
51
77
|
* Thermostat. Repeated because one shape of properties can serve several device
|
|
@@ -9,7 +9,7 @@ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
|
9
9
|
* Describes the file kusinta/iot/device/v1/matter_options.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_device_v1_matter_options = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CiprdXNpbnRhL2lvdC9kZXZpY2UvdjEvbWF0dGVyX29wdGlvbnMucHJvdG8SFWt1c2ludGEuaW90LmRldmljZS52MTpLChFtYXR0ZXJfY2x1c3Rlcl9pZBIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY0YYDIAEoDVIPbWF0dGVyQ2x1c3RlcklkOkoKEG1hdHRlcl9hdHRyaWJ1dGUSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNKGAyABKAlSD21hdHRlckF0dHJpYnV0ZTpPChNtYXR0ZXJfYXR0cmlidXRlX2lkEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjWhgMgASgNUhFtYXR0ZXJBdHRyaWJ1dGVJZDpjCh1tYXR0ZXJfYXR0cmlidXRlX2NhcGFiaWxpdGllcxIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMY2YYDIAEoDVIbbWF0dGVyQXR0cmlidXRlQ2FwYWJpbGl0aWVzOk8KEm1hdHRlcl9kZXZpY2VfdHlwZRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxjThgMgAygNUhBtYXR0ZXJEZXZpY2VUeXBlOlcKFm1hdHRlcl9jb21tYW5kX2NsdXN0ZXISHy5nb29nbGUucHJvdG9idWYuTWVzc2FnZU9wdGlvbnMY14YDIAEoDVIUbWF0dGVyQ29tbWFuZENsdXN0ZXI6UAoRbWF0dGVyX2NvbW1hbmRfaWQSHy5nb29nbGUucHJvdG9idWYuTWVzc2FnZU9wdGlvbnMY2IYDIAEoDVIPbWF0dGVyQ29tbWFuZElkiAEBQgJIAWIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* The Matter cluster this attribute belongs to, e.g. 0x0201 for Thermostat.
|
|
@@ -50,6 +50,33 @@ export const matter_attribute = /*@__PURE__*/
|
|
|
50
50
|
export const matter_attribute_id = /*@__PURE__*/
|
|
51
51
|
extDesc(file_kusinta_iot_device_v1_matter_options, 2);
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* What the Matter specification says this attribute supports, as a bitmask:
|
|
55
|
+
* READ = 1, WRITE = 2, REPORT = 4. So a read-only reportable attribute is 5, a
|
|
56
|
+
* writable one 7, a write-only one 2.
|
|
57
|
+
*
|
|
58
|
+
* Two things this is NOT.
|
|
59
|
+
*
|
|
60
|
+
* It is not PERMISSION. access/v1/acl.proto's PermissionAction and allowed_actions
|
|
61
|
+
* say what a given user may do; this says what the attribute is capable of. They are
|
|
62
|
+
* orthogonal — a user can hold WRITE on an attribute no device will ever accept a
|
|
63
|
+
* write for, and the schema would be lying if either could be read off the other.
|
|
64
|
+
*
|
|
65
|
+
* It is not the IMPLEMENTED SET either. This is uniform for every device that reports
|
|
66
|
+
* the attribute, because it comes from the specification. Whether one particular
|
|
67
|
+
* device implements it at all is a runtime fact, carried per endpoint by
|
|
68
|
+
* ClusterState.attribute_ids — Matter's own AttributeList. A device may implement
|
|
69
|
+
* less than the specification allows; it may not implement more.
|
|
70
|
+
*
|
|
71
|
+
* Bit 4 is Matter's subscribable/reportable quality. Named REPORT rather than EVENT
|
|
72
|
+
* because Matter spends "event" on a separate concept; the vendor branch's
|
|
73
|
+
* equivalent bit means the same thing under its own name.
|
|
74
|
+
*
|
|
75
|
+
* @generated from extension: uint32 matter_attribute_capabilities = 50009;
|
|
76
|
+
*/
|
|
77
|
+
export const matter_attribute_capabilities = /*@__PURE__*/
|
|
78
|
+
extDesc(file_kusinta_iot_device_v1_matter_options, 3);
|
|
79
|
+
|
|
53
80
|
/**
|
|
54
81
|
* The Matter device type IDs this properties message models, e.g. 0x0301 for
|
|
55
82
|
* Thermostat. Repeated because one shape of properties can serve several device
|
|
@@ -62,7 +89,7 @@ export const matter_attribute_id = /*@__PURE__*/
|
|
|
62
89
|
* @generated from extension: repeated uint32 matter_device_type = 50003;
|
|
63
90
|
*/
|
|
64
91
|
export const matter_device_type = /*@__PURE__*/
|
|
65
|
-
extDesc(file_kusinta_iot_device_v1_matter_options,
|
|
92
|
+
extDesc(file_kusinta_iot_device_v1_matter_options, 4);
|
|
66
93
|
|
|
67
94
|
/**
|
|
68
95
|
* The Matter cluster a command-parameters message belongs to, e.g. 0x0006 for On/Off.
|
|
@@ -71,7 +98,7 @@ export const matter_device_type = /*@__PURE__*/
|
|
|
71
98
|
* @generated from extension: uint32 matter_command_cluster = 50007;
|
|
72
99
|
*/
|
|
73
100
|
export const matter_command_cluster = /*@__PURE__*/
|
|
74
|
-
extDesc(file_kusinta_iot_device_v1_matter_options,
|
|
101
|
+
extDesc(file_kusinta_iot_device_v1_matter_options, 5);
|
|
75
102
|
|
|
76
103
|
/**
|
|
77
104
|
* The Matter command ID this parameters message carries arguments for, e.g. 0x00 for
|
|
@@ -87,5 +114,5 @@ export const matter_command_cluster = /*@__PURE__*/
|
|
|
87
114
|
* @generated from extension: optional uint32 matter_command_id = 50008;
|
|
88
115
|
*/
|
|
89
116
|
export const matter_command_id = /*@__PURE__*/
|
|
90
|
-
extDesc(file_kusinta_iot_device_v1_matter_options,
|
|
117
|
+
extDesc(file_kusinta_iot_device_v1_matter_options, 6);
|
|
91
118
|
|
|
@@ -71,6 +71,16 @@ export declare type ThermostatProperties = Message<"kusinta.iot.device.v1.Thermo
|
|
|
71
71
|
* @generated from field: optional uint32 thermostat_running_mode = 10;
|
|
72
72
|
*/
|
|
73
73
|
thermostatRunningMode?: number | undefined;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Heating demanded by the control loop, 0-100 %, which is the percentage the valve is
|
|
77
|
+
* open. A radiator valve's own position belongs here and not in a vendor extension: the
|
|
78
|
+
* Matter attribute is specified as exactly this quantity. A thermostat that drives no
|
|
79
|
+
* valve of its own does not implement it — see ClusterState.attribute_ids.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: optional uint32 pi_heating_demand = 11;
|
|
82
|
+
*/
|
|
83
|
+
piHeatingDemand?: number | undefined;
|
|
74
84
|
};
|
|
75
85
|
|
|
76
86
|
/**
|
|
@@ -389,6 +399,10 @@ export declare type DimmableLightProperties = Message<"kusinta.iot.device.v1.Dim
|
|
|
389
399
|
startUpCurrentLevel?: number | undefined;
|
|
390
400
|
|
|
391
401
|
/**
|
|
402
|
+
* READ only: the Matter data model marks RemainingTime changes-omitted, so it is
|
|
403
|
+
* readable but never reported — it counts down continuously and reporting it would be
|
|
404
|
+
* a subscription storm.
|
|
405
|
+
*
|
|
392
406
|
* @generated from field: optional uint32 remaining_time = 7;
|
|
393
407
|
*/
|
|
394
408
|
remainingTime?: number | undefined;
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_device_v1_matter_options } from "./matter_options_pb.j
|
|
|
9
9
|
* Describes the file kusinta/iot/device/v1/properties.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_device_v1_properties = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CiZrdXNpbnRhL2lvdC9kZXZpY2UvdjEvcHJvcGVydGllcy5wcm90bxIVa3VzaW50YS5pb3QuZGV2aWNlLnYxIv8IChRUaGVybW9zdGF0UHJvcGVydGllcxJBChFsb2NhbF90ZW1wZXJhdHVyZRgBIAEoEUIhiLUYgQSStRgQTG9jYWxUZW1wZXJhdHVyZbC1GADItRgFSACIAQESUAoZb2NjdXBpZWRfaGVhdGluZ19zZXRwb2ludBgCIAEoEUIoiLUYgQSStRgXT2NjdXBpZWRIZWF0aW5nU2V0cG9pbnSwtRgSyLUYB0gBiAEBElAKGW9jY3VwaWVkX2Nvb2xpbmdfc2V0cG9pbnQYAyABKBFCKIi1GIEEkrUYF09jY3VwaWVkQ29vbGluZ1NldHBvaW50sLUYEci1GAdIAogBARJLChdtaW5faGVhdF9zZXRwb2ludF9saW1pdBgEIAEoEUIliLUYgQSStRgUTWluSGVhdFNldHBvaW50TGltaXSwtRgVyLUYB0gDiAEBEksKF21heF9oZWF0X3NldHBvaW50X2xpbWl0GAUgASgRQiWItRiBBJK1GBRNYXhIZWF0U2V0cG9pbnRMaW1pdLC1GBbItRgHSASIAQESSwoXbWluX2Nvb2xfc2V0cG9pbnRfbGltaXQYBiABKBFCJYi1GIEEkrUYFE1pbkNvb2xTZXRwb2ludExpbWl0sLUYF8i1GAdIBYgBARJLChdtYXhfY29vbF9zZXRwb2ludF9saW1pdBgHIAEoEUIliLU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AVIAogBARIyCgl0b2xlcmFuY2UYBCABKA1CGoi1GIMIkrUYCVRvbGVyYW5jZbC1GAPItRgFSAOIAQE6Bpq1GAKFBkIRCg9fbWVhc3VyZWRfdmFsdWVCFQoTX21pbl9tZWFzdXJlZF92YWx1ZUIVChNfbWF4X21lYXN1cmVkX3ZhbHVlQgwKCl90b2xlcmFuY2UiuQMKFVBvd2VyU291cmNlUHJvcGVydGllcxJHChViYXRfcGVyY2VudF9yZW1haW5pbmcYASABKA1CI4i1GC+StRgTQmF0UGVyY2VudFJlbWFpbmluZ7C1GAzItRgFSACIAQESPQoQYmF0X2NoYXJnZV9sZXZlbBgCIAEoDUIeiLUYL5K1GA5CYXRDaGFyZ2VMZXZlbLC1GA7ItRgFSAGIAQESSQoWYmF0X3JlcGxhY2VtZW50X25lZWRlZBgDIAEoCEIkiLUYL5K1GBRCYXRSZXBsYWNlbWVudE5lZWRlZLC1GA/ItRgFSAKIAQESNAoLYmF0X3ZvbHRhZ2UYBCABKA1CGoi1GC+StRgKQmF0Vm9sdGFnZbC1GAvItRgFSAOIAQESKwoGc3RhdHVzGAUgASgNQhaItRgvkrUYBlN0YXR1c7C1GADItRgFSASIAQE6BZq1GAERQhgKFl9iYXRfcGVyY2VudF9yZW1haW5pbmdCEwoRX2JhdF9jaGFyZ2VfbGV2ZWxCGQoXX2JhdF9yZXBsYWNlbWVudF9uZWVkZWRCDgoMX2JhdF92b2x0YWdlQgkKB19zdGF0dXNCAkgBYgZwcm90bzM", [file_kusinta_iot_device_v1_matter_options]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message kusinta.iot.device.v1.ThermostatProperties.
|
|
@@ -43,6 +43,11 @@ export declare const HomematicDeviceIdentitySchema: GenMessage<HomematicDeviceId
|
|
|
43
43
|
* HomeMatic thermostat parameters with no Matter equivalent, carried on the same endpoint
|
|
44
44
|
* as that thermostat's Matter properties rather than instead of them.
|
|
45
45
|
*
|
|
46
|
+
* "No Matter equivalent" is the entry test, and it is the one to apply before adding a
|
|
47
|
+
* field here. Valve position failed it: LEVEL is Thermostat/PIHeatingDemand, and it lived
|
|
48
|
+
* here for a while under the claim that Matter had nothing for it. It is now
|
|
49
|
+
* device.v1.ThermostatProperties.pi_heating_demand, and field 6 is burned.
|
|
50
|
+
*
|
|
46
51
|
* Battery state is deliberately NOT here. LOW_BAT and OPERATING_VOLTAGE are Matter's
|
|
47
52
|
* PowerSource cluster, which every battery device from every technology needs, so they
|
|
48
53
|
* belong on a Power Source endpoint. See device/v1/properties.proto.
|
|
@@ -52,6 +57,9 @@ export declare const HomematicDeviceIdentitySchema: GenMessage<HomematicDeviceId
|
|
|
52
57
|
* false means not boosting, control_mode 0 is an HmIP ControlMode value. Absent means never
|
|
53
58
|
* reported; present means a reading, including zero.
|
|
54
59
|
*
|
|
60
|
+
* Enum parameters cross the wire as the CCU's own index, not as a type this schema defines,
|
|
61
|
+
* so each one lists its values in its comment. The order is the CCU's; do not renumber it.
|
|
62
|
+
*
|
|
55
63
|
* Add new fields at the next available number — never reuse a removed one.
|
|
56
64
|
*
|
|
57
65
|
* @generated from message kusinta.iot.vendor.homematic.v1.HmThermostatProps
|
|
@@ -63,13 +71,17 @@ export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1
|
|
|
63
71
|
boostMode?: boolean | undefined;
|
|
64
72
|
|
|
65
73
|
/**
|
|
66
|
-
*
|
|
74
|
+
* Minutes remaining, 0-2048. Integer on the CCU — it counts whole minutes.
|
|
67
75
|
*
|
|
68
|
-
* @generated from field: optional
|
|
76
|
+
* @generated from field: optional uint32 boost_time_period = 2;
|
|
69
77
|
*/
|
|
70
78
|
boostTimePeriod?: number | undefined;
|
|
71
79
|
|
|
72
80
|
/**
|
|
81
|
+
* Write-only on the CCU: it accepts a ControlMode and never reports one back. Carried
|
|
82
|
+
* here for a future write path, not as a reading — a connector that emits it as a
|
|
83
|
+
* PropertyUpdate is sending a value the device never gave. 0-3.
|
|
84
|
+
*
|
|
73
85
|
* @generated from field: optional uint32 control_mode = 3;
|
|
74
86
|
*/
|
|
75
87
|
controlMode?: number | undefined;
|
|
@@ -80,28 +92,58 @@ export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1
|
|
|
80
92
|
frostProtection?: boolean | undefined;
|
|
81
93
|
|
|
82
94
|
/**
|
|
83
|
-
*
|
|
84
|
-
*/
|
|
85
|
-
currentProfilePeriod?: number | undefined;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Valve position, 0.0-1.0 — how far the radiator valve is actually open. The reading
|
|
89
|
-
* this extension exists for: it has no Matter equivalent, and it is what an automatic
|
|
90
|
-
* or learned control strategy needs.
|
|
95
|
+
* Party mode active. A boolean, whatever the old field name suggested.
|
|
91
96
|
*
|
|
92
|
-
* @generated from field: optional
|
|
97
|
+
* @generated from field: optional bool party_mode = 5;
|
|
93
98
|
*/
|
|
94
|
-
|
|
99
|
+
partyMode?: boolean | undefined;
|
|
95
100
|
|
|
96
101
|
/**
|
|
102
|
+
* CLOSED = 0, OPEN = 1
|
|
103
|
+
*
|
|
97
104
|
* @generated from field: optional uint32 window_state = 7;
|
|
98
105
|
*/
|
|
99
106
|
windowState?: number | undefined;
|
|
100
107
|
|
|
101
108
|
/**
|
|
109
|
+
* Valve fault and adaption state, nine CCU-defined values. Radiator valves only — a wall
|
|
110
|
+
* thermostat drives no valve and never reports it.
|
|
111
|
+
*
|
|
102
112
|
* @generated from field: optional uint32 valve_state = 8;
|
|
103
113
|
*/
|
|
104
114
|
valveState?: number | undefined;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Which schedule the thermostat is following: AUTO = 0, MANU = 1, AWAY = 2, plus a
|
|
118
|
+
* fourth CCU value. NOT webrtc.v1.SetpointAdjustMode, which names which setpoint a
|
|
119
|
+
* command targets — a different enum over a different set of concepts.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: optional uint32 set_point_mode = 9;
|
|
122
|
+
*/
|
|
123
|
+
setPointMode?: number | undefined;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The active weekly profile: 1-3 on a radiator valve, 1-6 on a wall thermostat. The
|
|
127
|
+
* upper bound is the device's, not the protocol's.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: optional uint32 active_profile = 10;
|
|
130
|
+
*/
|
|
131
|
+
activeProfile?: number | undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Whether the measured temperature is usable: NORMAL = 0, UNKNOWN = 1, OVERFLOW = 2,
|
|
135
|
+
* UNDERFLOW = 3. A reading beside ACTUAL_TEMPERATURE, not a substitute for it.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: optional uint32 actual_temperature_status = 11;
|
|
138
|
+
*/
|
|
139
|
+
actualTemperatureStatus?: number | undefined;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Valve adaption run: writing true starts the valve's stroke calibration.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: optional bool valve_adaption = 12;
|
|
145
|
+
*/
|
|
146
|
+
valveAdaption?: boolean | undefined;
|
|
105
147
|
};
|
|
106
148
|
|
|
107
149
|
/**
|
|
@@ -110,3 +152,94 @@ export declare type HmThermostatProps = Message<"kusinta.iot.vendor.homematic.v1
|
|
|
110
152
|
*/
|
|
111
153
|
export declare const HmThermostatPropsSchema: GenMessage<HmThermostatProps>;
|
|
112
154
|
|
|
155
|
+
/**
|
|
156
|
+
* The maintenance channel every HomeMatic device carries — device health and radio state,
|
|
157
|
+
* not what the device measures or controls.
|
|
158
|
+
*
|
|
159
|
+
* It is device-agnostic: a radiator valve, a wall thermostat and a switch actuator all
|
|
160
|
+
* report the same core set on the same channel, which is why this is one message rather
|
|
161
|
+
* than a per-device-type one. Which of these a given device actually has is model-
|
|
162
|
+
* dependent, and stated per device in device.v1.Endpoint.vendor_attribute_names — SABOTAGE
|
|
163
|
+
* especially, where "no tamper detected" and "cannot detect tamper" must not render alike.
|
|
164
|
+
*
|
|
165
|
+
* Not a Matter endpoint of its own: the maintenance channel is channel 0 upstream, and
|
|
166
|
+
* Matter reserves endpoint 0 for the root node. A connector puts these readings on the
|
|
167
|
+
* endpoint whose Matter properties they belong beside — the Power Source endpoint, whose
|
|
168
|
+
* battery attributes are derived from this same channel's LOW_BAT and OPERATING_VOLTAGE.
|
|
169
|
+
*
|
|
170
|
+
* LOW_BAT, OPERATING_VOLTAGE and OPERATING_VOLTAGE_LEVEL are deliberately absent: they are
|
|
171
|
+
* Matter's PowerSource cluster, and PowerSourceProperties carries them. Only the derived
|
|
172
|
+
* Matter value has a home there, so the raw OPERATING_VOLTAGE_STATUS enum is kept here.
|
|
173
|
+
*
|
|
174
|
+
* Every field is `optional`, for the reason HmThermostatProps gives: ERROR_CODE 0 is "no
|
|
175
|
+
* error", a reading, and SABOTAGE false is a safety claim.
|
|
176
|
+
*
|
|
177
|
+
* @generated from message kusinta.iot.vendor.homematic.v1.HmMaintenanceProps
|
|
178
|
+
*/
|
|
179
|
+
export declare type HmMaintenanceProps = Message<"kusinta.iot.vendor.homematic.v1.HmMaintenanceProps"> & {
|
|
180
|
+
/**
|
|
181
|
+
* Device-defined fault code, 0-255, where 0 is no error. Present only on models that
|
|
182
|
+
* have one.
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: optional uint32 error_code = 1;
|
|
185
|
+
*/
|
|
186
|
+
errorCode?: number | undefined;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Tamper detection: true means the device reports having been removed or opened. Present
|
|
190
|
+
* only on models with the hardware for it.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: optional bool sabotage = 2;
|
|
193
|
+
*/
|
|
194
|
+
sabotage?: boolean | undefined;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Received signal strength in dBm, -128 to 127, as this device measures it.
|
|
198
|
+
*
|
|
199
|
+
* sint32, not uint32: these are negative in normal operation, and an unsigned field would
|
|
200
|
+
* carry -72 dBm as 4294967224.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: optional sint32 rssi_device = 3;
|
|
203
|
+
*/
|
|
204
|
+
rssiDevice?: number | undefined;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* The same measurement made at the other end of the link, as reported back.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: optional sint32 rssi_peer = 4;
|
|
210
|
+
*/
|
|
211
|
+
rssiPeer?: number | undefined;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Supply state as the CCU reports it: NORMAL = 0, UNKNOWN = 1, OVERFLOW = 2,
|
|
215
|
+
* EXTERNAL = 3. The raw enum; PowerSourceProperties.status carries the Matter
|
|
216
|
+
* PowerSourceStatusEnum value derived from it, and the two are not interchangeable.
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: optional uint32 operating_voltage_status = 5;
|
|
219
|
+
*/
|
|
220
|
+
operatingVoltageStatus?: number | undefined;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* True when the gateway has lost contact with the device. Reachability as the upstream
|
|
224
|
+
* system sees it, which is not the same claim as device.v1.Device.last_seen — that is
|
|
225
|
+
* when the gateway last had evidence of the device, observed one hop further out.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: optional bool unreach = 6;
|
|
228
|
+
*/
|
|
229
|
+
unreach?: boolean | undefined;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* True while a configuration change is queued for a device that has not yet woken to
|
|
233
|
+
* take it. A battery device can sit here for its whole report interval.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: optional bool config_pending = 7;
|
|
236
|
+
*/
|
|
237
|
+
configPending?: boolean | undefined;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmMaintenanceProps.
|
|
242
|
+
* Use `create(HmMaintenancePropsSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const HmMaintenancePropsSchema: GenMessage<HmMaintenanceProps>;
|
|
245
|
+
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_vendor_v1_vendor_options } from "../../v1/vendor_optio
|
|
|
9
9
|
* Describes the file kusinta/iot/vendor/homematic/v1/homematic.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_vendor_homematic_v1_homematic = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("Ci9rdXNpbnRhL2lvdC92ZW5kb3IvaG9tZW1hdGljL3YxL2hvbWVtYXRpYy5wcm90bxIfa3VzaW50YS5pb3QudmVuZG9yLmhvbWVtYXRpYy52MSI4ChdIb21lbWF0aWNEZXZpY2VJZGVudGl0eRIPCgdhZGRyZXNzGAEgASgJEgwKBHR5cGUYAiABKAki5gYKEUhtVGhlcm1vc3RhdFByb3BzEisKCmJvb3N0X21vZGUYASABKAhCEqK1GApCT09TVF9NT0RF0LUYBkgAiAEBEjIKEWJvb3N0X3RpbWVfcGVyaW9kGAIgASgNQhKitRgKQk9PU1RfVElNRdC1GAVIAYgBARIvCgxjb250cm9sX21vZGUYAyABKA1CFKK1GAxDT05UUk9MX01PREXQtRgCSAKIAQESNwoQZnJvc3RfcHJvdGVjdGlvbhgEIAEoCEIYorUYEEZST1NUX1BST1RFQ1RJT07QtRgFSAOIAQESKwoKcGFydHlfbW9kZRgFIAEoCEISorUYClBBUlRZX01PREXQtRgFSASIAQESLwoMd2luZG93X3N0YXRlGAcgASgNQhSitRgMV0lORE9XX1NUQVRF0LUYB0gFiAEBEi0KC3ZhbHZlX3N0YXRlGAggASgNQhOitRgLVkFMVkVfU1RBVEXQtRgFSAaIAQESMwoOc2V0X3BvaW50X21vZGUYCSABKA1CFqK1GA5TRVRfUE9JTlRfTU9ERdC1GAdIB4gBARIzCg5hY3RpdmVfcHJvZmlsZRgKIAEoDUIWorUYDkFDVElWRV9QUk9GSUxF0LUYB0gIiAEBEkkKGWFjdHVhbF90ZW1wZXJhdHVyZV9zdGF0dXMYCyABKA1CIaK1GBlBQ1RVQUxfVEVNUEVS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BlcmF0aW5nX3ZvbHRhZ2Vfc3RhdHVzQgoKCF91bnJlYWNoQhEKD19jb25maWdfcGVuZGluZ0ICSAFiBnByb3RvMw", [file_kusinta_iot_vendor_v1_vendor_options]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message kusinta.iot.vendor.homematic.v1.HomematicDeviceIdentity.
|
|
@@ -25,3 +25,10 @@ export const HomematicDeviceIdentitySchema = /*@__PURE__*/
|
|
|
25
25
|
export const HmThermostatPropsSchema = /*@__PURE__*/
|
|
26
26
|
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 1);
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message kusinta.iot.vendor.homematic.v1.HmMaintenanceProps.
|
|
30
|
+
* Use `create(HmMaintenancePropsSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const HmMaintenancePropsSchema = /*@__PURE__*/
|
|
33
|
+
messageDesc(file_kusinta_iot_vendor_homematic_v1_homematic, 2);
|
|
34
|
+
|
|
@@ -26,6 +26,27 @@ export declare const file_kusinta_iot_vendor_v1_vendor_options: GenFile;
|
|
|
26
26
|
*/
|
|
27
27
|
export declare const vendor_attribute: GenExtension<FieldOptions, string>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* What this vendor parameter supports, as the same bitmask device/v1/matter_options.proto
|
|
31
|
+
* defines: READ = 1, WRITE = 2, REPORT = 4.
|
|
32
|
+
*
|
|
33
|
+
* One mask across both branches on purpose. Bit 4 is Matter's reportable quality and, for
|
|
34
|
+
* HomeMatic, the parameter's EVENT bit — the same fact under two names, so a consumer
|
|
35
|
+
* deciding whether to draw a control or a reading asks one question either way.
|
|
36
|
+
*
|
|
37
|
+
* Where the value comes from is the difference. The Matter side reads its mask off the
|
|
38
|
+
* specification; a vendor parameter has no spec to defer to, so this is the upstream
|
|
39
|
+
* system's own answer about its own parameter — for HomeMatic, the OPERATIONS value the
|
|
40
|
+
* CCU reports in getParamsetDescription().
|
|
41
|
+
*
|
|
42
|
+
* Not permission, and not the implemented set: see matter_attribute_capabilities for both
|
|
43
|
+
* distinctions. The vendor mirror of the implemented set is
|
|
44
|
+
* device.v1.Endpoint.vendor_attribute_names.
|
|
45
|
+
*
|
|
46
|
+
* @generated from extension: uint32 vendor_attribute_capabilities = 50010;
|
|
47
|
+
*/
|
|
48
|
+
export declare const vendor_attribute_capabilities: GenExtension<FieldOptions, number>;
|
|
49
|
+
|
|
29
50
|
/**
|
|
30
51
|
* The stable key identifying a vendor extension message, e.g. "homematic.thermostat".
|
|
31
52
|
* Matches device.v1.PropertyUpdate.vendor_extension byte for byte, and is what selects
|
|
@@ -9,7 +9,7 @@ import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
|
9
9
|
* Describes the file kusinta/iot/vendor/v1/vendor_options.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_vendor_v1_vendor_options = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CiprdXNpbnRhL2lvdC92ZW5kb3IvdjEvdmVuZG9yX29wdGlvbnMucHJvdG8SFWt1c2ludGEuaW90LnZlbmRvci52MTpKChB2ZW5kb3JfYXR0cmlidXRlEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjUhgMgASgJUg92ZW5kb3JBdHRyaWJ1dGU6YwoddmVuZG9yX2F0dHJpYnV0ZV9jYXBhYmlsaXRpZXMSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGNqGAyABKA1SG3ZlbmRvckF0dHJpYnV0ZUNhcGFiaWxpdGllczpMChB2ZW5kb3JfZXh0ZW5zaW9uEh8uZ29vZ2xlLnByb3RvYnVmLk1lc3NhZ2VPcHRpb25zGNWGAyABKAlSD3ZlbmRvckV4dGVuc2lvbmIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* The vendor parameter this field carries, in the vendor's own spelling — e.g.
|
|
@@ -28,6 +28,28 @@ export const file_kusinta_iot_vendor_v1_vendor_options = /*@__PURE__*/
|
|
|
28
28
|
export const vendor_attribute = /*@__PURE__*/
|
|
29
29
|
extDesc(file_kusinta_iot_vendor_v1_vendor_options, 0);
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* What this vendor parameter supports, as the same bitmask device/v1/matter_options.proto
|
|
33
|
+
* defines: READ = 1, WRITE = 2, REPORT = 4.
|
|
34
|
+
*
|
|
35
|
+
* One mask across both branches on purpose. Bit 4 is Matter's reportable quality and, for
|
|
36
|
+
* HomeMatic, the parameter's EVENT bit — the same fact under two names, so a consumer
|
|
37
|
+
* deciding whether to draw a control or a reading asks one question either way.
|
|
38
|
+
*
|
|
39
|
+
* Where the value comes from is the difference. The Matter side reads its mask off the
|
|
40
|
+
* specification; a vendor parameter has no spec to defer to, so this is the upstream
|
|
41
|
+
* system's own answer about its own parameter — for HomeMatic, the OPERATIONS value the
|
|
42
|
+
* CCU reports in getParamsetDescription().
|
|
43
|
+
*
|
|
44
|
+
* Not permission, and not the implemented set: see matter_attribute_capabilities for both
|
|
45
|
+
* distinctions. The vendor mirror of the implemented set is
|
|
46
|
+
* device.v1.Endpoint.vendor_attribute_names.
|
|
47
|
+
*
|
|
48
|
+
* @generated from extension: uint32 vendor_attribute_capabilities = 50010;
|
|
49
|
+
*/
|
|
50
|
+
export const vendor_attribute_capabilities = /*@__PURE__*/
|
|
51
|
+
extDesc(file_kusinta_iot_vendor_v1_vendor_options, 1);
|
|
52
|
+
|
|
31
53
|
/**
|
|
32
54
|
* The stable key identifying a vendor extension message, e.g. "homematic.thermostat".
|
|
33
55
|
* Matches device.v1.PropertyUpdate.vendor_extension byte for byte, and is what selects
|
|
@@ -49,5 +71,5 @@ export const vendor_attribute = /*@__PURE__*/
|
|
|
49
71
|
* @generated from extension: string vendor_extension = 50005;
|
|
50
72
|
*/
|
|
51
73
|
export const vendor_extension = /*@__PURE__*/
|
|
52
|
-
extDesc(file_kusinta_iot_vendor_v1_vendor_options,
|
|
74
|
+
extDesc(file_kusinta_iot_vendor_v1_vendor_options, 2);
|
|
53
75
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { SetpointAdjustMode } from "./setpoint_mode_pb.js";
|
|
7
8
|
import type { DeviceId } from "../../identity/v1/identity_pb.js";
|
|
8
9
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
10
|
import type { AttributeRef } from "../../access/v1/acl_pb.js";
|
|
@@ -28,11 +29,11 @@ export declare const file_kusinta_iot_webrtc_v1_command: GenFile;
|
|
|
28
29
|
*/
|
|
29
30
|
export declare type ThermostatSetpointParams = Message<"kusinta.iot.webrtc.v1.ThermostatSetpointParams"> & {
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* absent = the producer stated no mode
|
|
32
33
|
*
|
|
33
|
-
* @generated from field: optional
|
|
34
|
+
* @generated from field: optional kusinta.iot.webrtc.v1.SetpointAdjustMode mode = 1;
|
|
34
35
|
*/
|
|
35
|
-
mode?:
|
|
36
|
+
mode?: SetpointAdjustMode | undefined;
|
|
36
37
|
|
|
37
38
|
/**
|
|
38
39
|
* centidegrees delta
|
|
@@ -8,12 +8,13 @@ import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
|
|
|
8
8
|
import { file_kusinta_iot_device_v1_cluster_state } from "../../device/v1/cluster_state_pb.js";
|
|
9
9
|
import { file_kusinta_iot_device_v1_matter_options } from "../../device/v1/matter_options_pb.js";
|
|
10
10
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
11
|
+
import { file_kusinta_iot_webrtc_v1_setpoint_mode } from "./setpoint_mode_pb.js";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* Describes the file kusinta/iot/webrtc/v1/command.proto.
|
|
14
15
|
*/
|
|
15
16
|
export const file_kusinta_iot_webrtc_v1_command = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
17
|
+
fileDesc("CiNrdXNpbnRhL2lvdC93ZWJydGMvdjEvY29tbWFuZC5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxInwKGFRoZXJtb3N0YXRTZXRwb2ludFBhcmFtcxI8CgRtb2RlGAEgASgOMikua3VzaW50YS5pb3Qud2VicnRjLnYxLlNldHBvaW50QWRqdXN0TW9kZUgAiAEBEg4KBmFtb3VudBgCIAEoEToJuLUYgQTAtRgAQgcKBV9tb2RlIkYKEkxldmVsQ29udHJvbFBhcmFtcxINCgVsZXZlbBgBIAEoDRIXCg90cmFuc2l0aW9uX3RpbWUYAiABKA06CLi1GAjAtRgAIisKC09uT2ZmUGFyYW1zOgS4tRgGSgQIARACSgQIAhADUgJvblIGdG9nZ2xlIkEKGFdpbmRvd0NvdmVyaW5nTGlmdFBhcmFtcxIaChJsaWZ0X3BlcmNlbnQxMDB0aHMYASABKA06Cbi1GIICwLUYBSI7Cg5Eb29yTG9ja1BhcmFtcxIQCghwaW5fY29kZRgCIAEoCToFuLUYgQJKBAgBEAJSCmxvY2tfc3RhdGUikgUKDURldmljZUNvbW1hbmQSEgoKcmVxdWVzdF9pZBgBIAEoCRI0CglkZXZpY2VfaWQYAiABKAsyIS5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5EZXZpY2VJZBIUCgxjb21tYW5kX25hbWUYBCABKAkSEgoKY2x1c3Rlcl9pZBgMIAEoDRIeChFtYXR0ZXJfY29tbWFuZF9pZBgNIAEoDUgBiAEBEhgKC2VuZHBvaW50X2lkGAsgASgNSAKIAQESTgoTdGhlcm1vc3RhdF9zZXRwb2ludBgFIAEoCzIvLmt1c2ludGEuaW90LndlYnJ0Yy52MS5UaGVybW9zdGF0U2V0cG9pbnRQYXJhbXNIABJCCg1sZXZlbF9jb250cm9sGAYgASgLMikua3V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Mua3VzaW50YS5pb3QuYWNjZXNzLnYxLkF0dHJpYnV0ZVJlZhI0CgV2YWx1ZRgEIAEoCzIlLmt1c2ludGEuaW90LmRldmljZS52MS5BdHRyaWJ1dGVWYWx1ZSq/AgoQQ29tbWFuZEVycm9yQ29kZRIiCh5DT01NQU5EX0VSUk9SX0NPREVfVU5TUEVDSUZJRUQQABIjCh9DT01NQU5EX0VSUk9SX0NPREVfTk9UX0VOVElUTEVEEAESKgomQ09NTUFORF9FUlJPUl9DT0RFX0NPTlNUUkFJTlRfVklPTEFURUQQAhImCiJDT01NQU5EX0VSUk9SX0NPREVfSU5WQUxJRF9DT01NQU5EEAMSIgoeQ09NTUFORF9FUlJPUl9DT0RFX1VOUkVBQ0hBQkxFEAQSHgoaQ09NTUFORF9FUlJPUl9DT0RFX1RJTUVPVVQQBRIpCiVDT01NQU5EX0VSUk9SX0NPREVfUkVKRUNURURfQllfREVWSUNFEAYSHwobQ09NTUFORF9FUlJPUl9DT0RFX0lOVEVSTkFMEAdCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_acl, file_kusinta_iot_device_v1_cluster_state, file_kusinta_iot_device_v1_matter_options, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_webrtc_v1_setpoint_mode]);
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* Describes the message kusinta.iot.webrtc.v1.ThermostatSetpointParams.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/webrtc/v1/setpoint_mode.proto (package kusinta.iot.webrtc.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/webrtc/v1/setpoint_mode.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_kusinta_iot_webrtc_v1_setpoint_mode: GenFile;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* SetpointAdjustMode selects which setpoint a thermostat command targets. It is
|
|
14
|
+
* Matter's SetpointRaiseLowerModeEnum (Thermostat cluster 0x0201) and carries Matter's
|
|
15
|
+
* own numbering.
|
|
16
|
+
*
|
|
17
|
+
* A real type rather than a numbering written down in a comment. The mode field on
|
|
18
|
+
* ThermostatSetpointParams was a bare uint32 with this numbering stated beside it, so a
|
|
19
|
+
* consumer carrying forward an older Heat=1/Cool=2/Both=3 convention compiled cleanly and
|
|
20
|
+
* silently reversed which physical behavior a command produced.
|
|
21
|
+
*
|
|
22
|
+
* Zero is a real mode, not a "not set" sentinel — which is why there is no
|
|
23
|
+
* SETPOINT_ADJUST_MODE_UNSPECIFIED, and why every field carrying this value has explicit
|
|
24
|
+
* presence: absent = the producer stated no mode, present = the mode it named, Heat
|
|
25
|
+
* included. This is the same rule properties.proto applies to readings, for the same
|
|
26
|
+
* reason — a bare proto3 scalar makes "meant Heat" and "never set it" identical on the
|
|
27
|
+
* wire. Renumbering to free zero is not available: the wire value IS Matter's value.
|
|
28
|
+
*
|
|
29
|
+
* SetpointAdjustMode is NOT ThermostatProperties.system_mode. system_mode is Matter's
|
|
30
|
+
* SystemModeEnum (Off=0, Auto=1, Cool=3, Heat=4), a different enum over a different set
|
|
31
|
+
* of concepts. Cool is 1 here and 3 there; the two must never be substituted for each
|
|
32
|
+
* other or read through the same mapping table.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum kusinta.iot.webrtc.v1.SetpointAdjustMode
|
|
35
|
+
*/
|
|
36
|
+
export enum SetpointAdjustMode {
|
|
37
|
+
/**
|
|
38
|
+
* Targets ThermostatProperties.occupied_heating_setpoint.
|
|
39
|
+
*
|
|
40
|
+
* @generated from enum value: SETPOINT_ADJUST_MODE_HEAT = 0;
|
|
41
|
+
*/
|
|
42
|
+
HEAT = 0,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Targets ThermostatProperties.occupied_cooling_setpoint.
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum value: SETPOINT_ADJUST_MODE_COOL = 1;
|
|
48
|
+
*/
|
|
49
|
+
COOL = 1,
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Targets both setpoints.
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum value: SETPOINT_ADJUST_MODE_BOTH = 2;
|
|
55
|
+
*/
|
|
56
|
+
BOTH = 2,
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the enum kusinta.iot.webrtc.v1.SetpointAdjustMode.
|
|
61
|
+
*/
|
|
62
|
+
export declare const SetpointAdjustModeSchema: GenEnum<SetpointAdjustMode>;
|
|
63
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/webrtc/v1/setpoint_mode.proto (package kusinta.iot.webrtc.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file kusinta/iot/webrtc/v1/setpoint_mode.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_webrtc_v1_setpoint_mode = /*@__PURE__*/
|
|
11
|
+
fileDesc("CilrdXNpbnRhL2lvdC93ZWJydGMvdjEvc2V0cG9pbnRfbW9kZS5wcm90bxIVa3VzaW50YS5pb3Qud2VicnRjLnYxKnEKElNldHBvaW50QWRqdXN0TW9kZRIdChlTRVRQT0lOVF9BREpVU1RfTU9ERV9IRUFUEAASHQoZU0VUUE9JTlRfQURKVVNUX01PREVfQ09PTBABEh0KGVNFVFBPSU5UX0FESlVTVF9NT0RFX0JPVEgQAkICSAFiBnByb3RvMw");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the enum kusinta.iot.webrtc.v1.SetpointAdjustMode.
|
|
15
|
+
*/
|
|
16
|
+
export const SetpointAdjustModeSchema = /*@__PURE__*/
|
|
17
|
+
enumDesc(file_kusinta_iot_webrtc_v1_setpoint_mode, 0);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* SetpointAdjustMode selects which setpoint a thermostat command targets. It is
|
|
21
|
+
* Matter's SetpointRaiseLowerModeEnum (Thermostat cluster 0x0201) and carries Matter's
|
|
22
|
+
* own numbering.
|
|
23
|
+
*
|
|
24
|
+
* A real type rather than a numbering written down in a comment. The mode field on
|
|
25
|
+
* ThermostatSetpointParams was a bare uint32 with this numbering stated beside it, so a
|
|
26
|
+
* consumer carrying forward an older Heat=1/Cool=2/Both=3 convention compiled cleanly and
|
|
27
|
+
* silently reversed which physical behavior a command produced.
|
|
28
|
+
*
|
|
29
|
+
* Zero is a real mode, not a "not set" sentinel — which is why there is no
|
|
30
|
+
* SETPOINT_ADJUST_MODE_UNSPECIFIED, and why every field carrying this value has explicit
|
|
31
|
+
* presence: absent = the producer stated no mode, present = the mode it named, Heat
|
|
32
|
+
* included. This is the same rule properties.proto applies to readings, for the same
|
|
33
|
+
* reason — a bare proto3 scalar makes "meant Heat" and "never set it" identical on the
|
|
34
|
+
* wire. Renumbering to free zero is not available: the wire value IS Matter's value.
|
|
35
|
+
*
|
|
36
|
+
* SetpointAdjustMode is NOT ThermostatProperties.system_mode. system_mode is Matter's
|
|
37
|
+
* SystemModeEnum (Off=0, Auto=1, Cool=3, Heat=4), a different enum over a different set
|
|
38
|
+
* of concepts. Cool is 1 here and 3 there; the two must never be substituted for each
|
|
39
|
+
* other or read through the same mapping table.
|
|
40
|
+
*
|
|
41
|
+
* @generated from enum kusinta.iot.webrtc.v1.SetpointAdjustMode
|
|
42
|
+
*/
|
|
43
|
+
export const SetpointAdjustMode = /*@__PURE__*/
|
|
44
|
+
tsEnum(SetpointAdjustModeSchema);
|
|
45
|
+
|