Skip to content

Settings System - Quick Reference Card

πŸš€ Quick Start (Copy & Bookmark This)

Access Settings

1. Go to: http://your-domain/admin/
2. Look for: "Micboard" section
3. 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: 5
Scope: Manufacturer β†’ Shure β†’ Save

Task 2: Set Polling Interval for Organization

Admin β†’ Micboard β†’ Settings β†’ Add Setting
β”œβ”€ Definition: "Polling Interval (seconds)"
β”œβ”€ Scope: Organization β†’ [Your Company]
└─ Value: 300
β†’ Save

Task 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


πŸŽ“ 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

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)