Settings System - Quick Reference Card
π Quick Start (Copy & Bookmark This)
Access Settings
1. Go to: http://your-domain/admin/2. Look for: "Micboard" section3. Click: "Settings" or "Setting Definitions"π Most Common Tasks
Task 1: Set Battery Thresholds for Shure
Admin β Micboard β Settings β Add Settingββ Definition: "Battery Good Level (%)" β Value: 90ββ Definition: "Battery Low Level (%)" β Value: 22ββ Definition: "Battery Critical Level (%)" β Value: 5Scope: Manufacturer β Shure β SaveTask 2: Set Polling Interval for Organization
Admin β Micboard β Settings β Add Settingββ Definition: "Polling Interval (seconds)"ββ Scope: Organization β [Your Company]ββ Value: 300β SaveTask 3: Quick Setup for New Manufacturer
Admin β Settings β Bulk Configurationββ Scope: Manufacturerββ Select: [Your Manufacturer]ββ Fill in values (or leave blank to skip)ββ Saveπ― Common Values
Battery Levels (per manufacturer)
| Level | Typical | Range |
|---|---|---|
| Good | 90% | 80-95% |
| Low | 22% | 15-30% |
| Critical | 5% | 0-10% |
API Configuration
| Setting | Typical | Min-Max |
|---|---|---|
| Timeout | 30 sec | 5-60s |
| Max/Call | 100 | 10-500 |
Polling
| Setting | Typical | Min-Max |
|---|---|---|
| Interval | 300 sec | 10-3600s |
| Batch | 50 | 10-500 |
βοΈ Setting Types
| Type | Enter As | Examples |
|---|---|---|
| Number | 42 |
300, 90 |
| Yes/No | true or false |
true, false |
| Text | "text" |
"my-value" |
| JSON | {...} |
{"key":"val"} |
π Exact Scope
Every setting definition declares one scope: manufacturer, site, organization, or global. Runtime lookup checks only that scope and never falls through to a different tenant scope. If no row exists, host/package/definition defaults apply.
π Troubleshooting
| Problem | What To Do |
|---|---|
| Setting shows wrong value | Check scope (org/site/mfg) |
| Changes donβt take effect | Wait 5 min (cache expires) |
| Canβt find setting def | Go to βSetting Definitionsβ β Search |
| Form rejects my value | Check data type (number vs text) |
| Canβt save setting | Check required fields filled |
π‘ Tips
β Use Bulk Configuration for fast setup of many settings β Search by setting name in Settings admin β Click setting name to see what it does β Use scope filters to see only relevant settings β Check the description before entering value
π« Common Mistakes
β DONβT put text in a number field β Use β300β not β3 secondsβ
β DONβT forget to select scope β Will save to wrong place
β DONβT expect instant changes β 5-min cache, or refresh admin
β DONβT use quotes in values β Enter true, not "true"
π Getting Help
- Quick Questions? See: Settings Admin Guide
- What does this setting do? See: Setting Definition description
- How do I integrate? See: Settings Integration (developers)
- System not working? See: Settings Management
π Understanding Scopes
Manufacturer Scope
- When: Specific brand of devices (Shure, Sennheiser, etc.)
- Example: Shure battery threshold = 22%
- Effect: Only applies to that brand
Organization Scope
- When: Your company (MSP or tenant)
- Example: Polling interval = 5 minutes
- Effect: All your devices, all brands
Site Scope
- When: Office location (NYC, CA, etc.)
- Example: API timeout = 60 seconds (slow network)
- Effect: All devices at that location
Global Scope
- When: System-wide default
- Example: Cache duration = 5 minutes
- Effect: Everything, everywhere
π Settings Provided
Battery (Manufacturer)
- battery_good_level
- battery_low_level
- battery_critical_level
API (Manufacturer)
- api_timeout
- device_max_requests_per_call
- health_check_interval
Features (Manufacturer)
- supports_discovery_ips
- supports_health_check
Organization
- discovery_enabled
- polling_enabled
- polling_interval_seconds
- polling_batch_size
- log_api_calls
Global
- cache_device_specs_minutes
- cache_settings_minutes
β Setup Checklist (First Time Admin)
- Access
/admin/in browser - Find βMicboardβ section
- Click βSettings Definitionsβ (should see 17 items)
- Click βSettingsβ (should be mostly empty)
- Click β+ Addβ next to Settings
- Try adding a test setting and save
- See success message β
Done! Youβre ready to configure.
π Change Management
| Change | Time to Take Effect |
|---|---|
| Via admin UI | Instant |
| Via bulk form | Instant |
| After cache expires | 5 minutes max |
Note: System caches settings for 5 minutes for speed. Changes via admin UI are instant, but programmatic users may need to wait 5 minutes.
π± Mobile Friendly?
β Not optimized for mobile β Works fine on tablet β Best on desktop (admin interface)
For mobile: Use laptop/desktop for admin tasks.
π Permissions
β Only Django admins can access settings β Standard Django permissions apply β No special group setup needed β Contact your system admin to add users to admin group
π Pinned References
Most Used Setting: polling_interval_seconds
- Where: Organization scope
- Purpose: How often to check device status
- Default: 300 seconds (5 minutes)
- Range: 10-3600 seconds
Most Critical Setting: battery_low_level
- Where: Manufacturer scope
- Purpose: Alert threshold for low battery
- Default: 20-25% (varies by brand)
- Impact: Affects all device health alerts
π― One-Liner Links
| What | Where |
|---|---|
| Add new setting | /admin/micboard/setting/add/ |
| View all settings | /admin/micboard/setting/ |
| Configure manufacturer | /settings/manufacturer/ |
| Settings overview | /settings/ |
| Bulk configure | /settings/bulk/ |
Version: 1.0 Last Updated: January 28, 2026 Print This: Yes, keep on desk Update Frequency: Rarely (only when new settings added)
