Replies: 1 comment 5 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when i try to Initialize a EnergyEvseMode cluster attrubute SupportedModes,
Caused by: Validating node0.socket.energyEvseMode.state.supportedModes.0.modeTags.0.value: Value "0" is not defined in enum (135), i have no idea to deal it,
my code:
error infomation:
OnOffPlugInUnitAgent {}
2024-11-27 10:11:20.340 DEBUG Transaction Transaction initialize<node0.socket>#9 locked node0.socket.descriptor.state
2024-11-27 10:11:20.341 DEBUG Transaction Transaction reactor<node0.descriptor.#updatePartsList>#a locked node0.descriptor.state
2024-11-27 10:11:20.341 DEBUG Transaction Transaction reactor<node0.descriptor.#updatePartsList>#a committed and unlocked 1 resource
2024-11-27 10:11:20.342 ERROR Transaction Rolling back initialize<node0.socket>#9 due to error: Behaviors have errors
2024-11-27 10:11:20.342 DEBUG Transaction Transaction initialize<node0.socket>#9 rolled back and unlocked 6 resources
2024-11-27 10:11:20.344 FATAL Logger Unhandled error detected: Behaviors have errors
at (/home/xuliangwang/chipTools/matter.js/packages/node/src/endpoint/properties/Behaviors.ts:173:27)
at all (/home/xuliangwang/chipTools/matter.js/packages/general/src/util/Construction.ts:699:25)
at (/home/xuliangwang/chipTools/matter.js/packages/general/src/util/Construction.ts:689:17)
Cause #0: Error initializing node0.socket.energyEvseMode
at crash (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/internal/BehaviorBacking.ts:69:19)
at ClusterServerBacking.[construct] (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/internal/BehaviorBacking.ts:83:13)
at initializer (/home/xuliangwang/chipTools/matter.js/packages/general/src/util/Construction.ts:275:80)
at invokeInitializer (/home/xuliangwang/chipTools/matter.js/packages/general/src/util/Construction.ts:572:30)
at AsyncConstruction.start (/home/xuliangwang/chipTools/matter.js/packages/general/src/util/Construction.ts:276:17)
at Behaviors.#createBacking (/home/xuliangwang/chipTools/matter.js/packages/node/src/endpoint/properties/Behaviors.ts:536:30)
at Behaviors.activate (/home/xuliangwang/chipTools/matter.js/packages/node/src/endpoint/properties/Behaviors.ts:327:28)
at initializeBehaviors (/home/xuliangwang/chipTools/matter.js/packages/node/src/endpoint/properties/Behaviors.ts:159:26)
at actOffline (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/context/server/OfflineContext.ts:49:20)
at Transaction.act (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/transaction/Tx.ts:98:29)
Caused by: Validating node0.socket.energyEvseMode.state.supportedModes.0.modeTags.0.value: Value "0" is not defined in enum (135)
at (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:136:19)
at Object.value (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/conformance.ts:32:13)
at validateStruct (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:251:28)
at (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/conformance.ts:32:13)
at validateEntries (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:305:21)
at (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:318:9)
at Object.modeTags (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/conformance.ts:32:13)
at validateStruct (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:251:28)
at (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/conformance.ts:32:13)
at validateEntries (/home/xuliangwang/chipTools/matter.js/packages/node/src/behavior/state/validation/ValueValidator.ts:305:21)
/home/xuliangwang/chipTools/matter.js/packages/node/src/endpoint/properties/Behaviors.ts:173
causes => new EndpointBehaviorsError(causes),
Beta Was this translation helpful? Give feedback.
All reactions