Skip to content

Support config-state check #36

Open
@jjcarrier

Description

@jjcarrier

Using the "devices" JSON config setting add a hash-key or other mechanism to allow a user to lock in a configured state.
This would be accompanied by a settings file that would list:

  • 0-9 Preset configurations
  • OVP, OCP, OPP, OTP, RPP, Auto-ON

The general idea would be to offer a way to warn the user if the device's configured state does not match expectations.
This would help avoid cases where a user controls the device via say vicon --preset 5 --on expecting the output voltage to be 5V but the preset has been configured to some other state.

This mechanism may be a switch such as --check, --safe, --validate.

Example of failing the check

> vicon --check --preset 5 --on
ERROR: Configured state has been modified!
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions