Reset Hardware
Description
The reset command resets the Accordion hardware system, returning it to its initial state. This includes resetting channels, clearing configurations, and reloading defaults.
Syntax
reset
Options
This command has no options.
Examples
reset
Output Format
Resetting..
Reset done, took 234.56 ms
Output Colors
-
Default: "Resetting.." message
-
Blue: Completion message with timing
Behavior
-
Sends reset command to hardware
-
Waits for reset to complete
-
Refreshes channel list
-
Reports completion time
What Gets Reset
-
All channels return to default states
-
Modules remain loaded
-
Connection remains active
-
Configuration files remain loaded
-
Custom channel configurations are cleared
Use Cases
Recovery from Error State
# Hardware in error state
reset
# System recovered
Start Fresh
# Clear all custom configurations
init --host 192.168.1.100
module --module "MyModule"
set --channel "CONFIG" --value "custom"
# ... testing ...
reset # Return to defaults
Before Test Sequence
# Ensure clean state
reset
wait --channel "READY" --value "1" --timeout 5000
# Begin testing
Timing
Typical reset times:
-
Simple systems: 100-200 ms
-
Complex systems: 200-500 ms
-
Systems with many modules: 500-1000 ms
Notes
-
Requires an active connection (use
initfirst) -
Does NOT disconnect from hardware
-
Does NOT unload modules
-
Does NOT clear alias files
-
Blocking operation (waits for completion)
Warnings
⚠️ Important: Reset clears custom channel configurations but keeps:
-
Loaded modules
-
Active connection
-
Alias/configuration files
Error Handling
Common errors:
-
Not connected: Run
initcommand first -
Timeout: Hardware not responding (may need power cycle)
Best Practices
-
Use before tests: Ensure clean starting state
-
Document timing: Note if reset times are abnormal
-
Wait after reset: Allow system to stabilize
-
Verify state: Check critical channels after reset
Recovery Procedures
If reset fails:
# 1. Try disconnecting and reconnecting
exit
# Restart AccordionShell
init --host 192.168.1.100
# 2. If still failing, contact hardware support