MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_raspberry_mac

Method get_raspberry_mac

shared.py:893–913  ·  view source on GitHub ↗

Get the MAC address of the primary network interface (usually wlan0 or eth0).

(self)

Source from the content-addressed store, hash-verified

891 "ip_intel_enrich_incidents": True, # attribute public IPs in incidents
892 # Browser terminal (interactive shell over the web UI). OFF by
893 # default — it exposes a shell on the Pi (as the 'ragnar' user),
894 # gated by login. Enable in Settings only if you want it.
895 "terminal_enabled": False,
896
897 "network_device_retention_days": 14,
898
899 "__title_network_intelligence__": "Network Intelligence",
900 "network_resolution_timeout": 3600,
901 "network_confirmation_scans": 3,
902 "network_change_grace": 300,
903 "network_intelligence_enabled": True,
904 "network_auto_resolution": True,
905
906 "__title_ai__": "AI Integration (GPT-5.4 Nano)",
907 "ai_enabled": False,
908 "openai_api_token": "",
909 "ai_model": "gpt-5.4-nano",
910 # Self-hosted / OpenAI-compatible endpoint (issue #462). Leave blank
911 # for OpenAI's cloud. Set to e.g. http://192.168.1.50:11434/v1 to
912 # point at an Ollama/LocalAI/vLLM/LM Studio server; Ragnar then
913 # talks Chat Completions and the API key becomes optional.
914 "ai_base_url": "",
915 "ai_api_style": "auto", # auto | responses | chat
916 "ai_fallback_model": "", # cloud model used if a self-hosted endpoint drops (blank = gpt-5.4-nano)

Callers 1

update_mac_blacklistMethod · 0.95

Calls 3

warningMethod · 0.80
errorMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected