Documentation
    Preparing search index...

    Variable energyManagementParamsSchemaConst

    energyManagementParamsSchema: ZodObject<
        {
            bpPowerSoc: ZodNumber;
            isConfig: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
            minChgSoc: ZodNumber;
            minDsgSoc: ZodNumber;
        },
        "strip",
        ZodTypeAny,
        {
            bpPowerSoc: number;
            isConfig: 0
            | 1;
            minChgSoc: number;
            minDsgSoc: number;
        },
        {
            bpPowerSoc: number;
            isConfig: 0
            | 1;
            minChgSoc: number;
            minDsgSoc: number;
        },
    > = ...

    Set energy management

    • isConfig: energy management configuration, 0: disabled, 1: enabled
    • bpPowerSoc: backup reserve level;
    • minDsgSoc: discharge limit (not in use);
    • minChgSoc: charge limit (not in use))

    @todo: from the docs it is totally unclear whether this command should be used at all, minDsgSoc/minChgSoc -> not in use ? -> as of now this type is just defined for documentation purposes but not exposed to be used.

    {
    "id":123456789,
    "version":"1.0",
    "moduleType":1,
    "operateType": "watthConfig",
    "params": {
    "isConfig":1,
    "bpPowerSoc":95,
    "minDsgSoc":255,
    "minChgSoc":255
    }
    }