Management Commands
Management commands are thin wrappers that delegate to the service layer. Run them with uv run --no-sync python manage.py <command>.
micboard.management
micboard.management.commands
micboard.management.commands.archive_audit_logs
Management command to archive and prune audit logs.
Command
Bases: BaseCommand
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.audit_admin
Audit the live Django admin registry for configuration and query risks.
Command
Bases: BaseCommand
Expose the admin audit service through Django’s command interface.
add_arguments(parser: CommandParser) -> None
Register the supported audit filters and check selectors.
handle(*args: Any, **options: Any) -> None
Validate options, run the service, and render its typed report.
micboard.management.commands.audit_regulatory_coverage
Management command to audit regulatory coverage for all devices.
Checks every active WirelessChassis and RFChannel for:
- Assigned Regulatory Domain (via Location)
- Configured Band Plan
- Regulatory Coverage for Band Plan range
- Regulatory Coverage for operating frequencies
Usage: uv run –no-sync python manage.py audit_regulatory_coverage [–fix]
Command
Bases: BaseCommand
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
audit_chassis(fix_mode: Any) -> Any
Audit WirelessChassis band plans and regulatory domains.
audit_channels() -> Any
Audit active RFChannel frequencies.
micboard.management.commands.diagnostic_api_health_check
HealthChecker
Perform health checks on Shure System API.
check_connectivity() -> Any
check_devices() -> Any
check_discovery_ips() -> Any
check_api_endpoints() -> Any
check_client_config() -> Any
print_summary(full: bool = False) -> Any
run(full: bool = False) -> Any
Command
Bases: BaseCommand
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.discovery_add_devices
Submit validated IP addresses to a manufacturer’s discovery workflow.
Command
Bases: BaseCommand
Validate operator-supplied addresses and submit them through the service layer.
add_arguments(parser: Any) -> None
Register bounded discovery candidate options.
handle(*args: Any, **options: Any) -> None
Submit a bounded, canonical address list without direct network probing.
micboard.management.commands.import_devices
Management command to import Shure devices from System API into Django models.
Command
Bases: BaseCommand
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.import_efis_regulations
Management command to import EFIS regulatory data.
Imports frequency band data from the ECO Frequency Information System (EFIS). Can be run manually or scheduled via cron/tasks.
Command
Bases: BaseCommand
Import EFIS regulatory data.
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.init_settings
Management command to initialize settings registry with definitions.
Command
Bases: BaseCommand
Initialize settings definitions.
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.poll_devices
Management command to poll device APIs using the service layer.
Command
Bases: BaseCommand
Poll manufacturer APIs for device data and update models.
Uses the manufacturer inventory sync to coordinate between manufacturer plugins, model updates, and real-time broadcasts.
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.realtime_status
Management command to check and display real-time connection status.
Command
Bases: BaseCommand
add_arguments(parser: Any) -> None
handle(*args: Any, **options: Any) -> None
micboard.management.commands.realtime_subscribe
Start the bounded realtime subscription supervisor from the command line.
Command
Bases: BaseCommand
Thin foreground adapter for the realtime subscription runner.
add_arguments(parser: CommandParser) -> None
Register the manufacturer and optional single-device selectors.
handle(*args: Any, **options: Any) -> None
Resolve the manufacturer and run the singleton supervisor for its transport.
micboard.management.commands.seed_demo_data
Management command that seeds the demonstration dataset.
Command
Bases: BaseCommand
Create a small, self-consistent demonstration dataset.
add_arguments(parser: Any) -> None
Register the optional read-only account password.
handle(*_args: Any, **options: Any) -> None
Delegate to the seeding service and report what it produced.
micboard.management.commands.set_logging_mode
Management command to set audit logging verbosity mode.
Command
Bases: BaseCommand
add_arguments(parser: Any) -> Any
handle(*args: Any, **options: Any) -> None
micboard.management.commands.sync_discovery
Management command to synchronize discovery between Django and manufacturer APIs.
This command pushes DiscoveredDevice IPs from Django to manufacturer APIs (like Shure System API) and then pulls device data back to Django. Django Micboard is the “source of truth” for device IPs.
Command
Bases: BaseCommand
