Open
Description
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!
>