Skip to content

#3 Issue 3: [Cron] "Cut-Off" Enforcer #3

@elizabetheonoja-art

Description

@elizabetheonoja-art

Description:
If the contract says is_active = false, the backend must send the 'OFF' command to the physical device via MQTT.

Acceptance Criteria:

[ ] Poll contract state every minute.

[ ] Logic: If !isActive AND deviceState == ON -> Publish CMD_OFF.

[ ] Log enforcement actions.

Priority: Critical
Labels: automation, safety

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions