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

Method apply_display_profile

shared.py:833–859  ·  view source on GitHub ↗

Align reference dimensions (and optional orientation) with the chosen EPD profile.

(self, epd_type=None, set_orientation_if_missing=False, persist=False)

Source from the content-addressed store, hash-verified

831 "rusense_alert_days": [0, 1, 2, 3, 4, 5, 6],
832 "rusense_alert_start": 0, # window start hour (local)
833 "rusense_alert_end": 0, # window end hour (local)
834 "rusense_geofence_enabled": True,
835 "rusense_node_positions": {}, # {node_id: {"x":.., "y":.., "z":..}}
836 "rusense_node_names": {}, # {node_id: "friendly name"} (used in alerts)
837 "rusense_geofence_window": 30, # RSSI samples/node (~30s @ 1Hz poll)
838 # Show the RuSense tab in the top navigation. Stored server-side so
839 # the choice is shared across every browser/device, like the rest of
840 # the settings here (the toggle lives in Config -> WiFi Sensing).
841 "rusense_tab_visible": False,
842 # Visual/scene settings for the 3D Observatory (rendering, wireframe,
843 # scene, room size, node map). Mirrored here from the browser so they
844 # persist for everyone; shape: {"version": <str>, "settings": {...}}.
845 "rusense_observatory_settings": {},
846
847 "__title_pwnagotchi__": "Pwnagotchi Integration",
848 "pwnagotchi_installed": False,
849 "pwnagotchi_mode": "ragnar",
850 "pwnagotchi_manual_mode": False,
851 "pwnagotchi_last_switch": "",
852 "pwnagotchi_last_status": "Not installed",
853
854 "__title_wardriving__": "Wardriving",
855 "wardriving_enabled": False,
856 "wardriving_display": False,
857 "wardriving_scan_interval": 2,
858 "wardriving_gps_port": "auto",
859 "wardriving_gps_baudrate": 9600,
860 "wardriving_interfaces": [],
861 "wardriving_auto_export": True,
862 "wardriving_wigle_include_zigbee": False,

Callers 3

__init__Method · 0.95
update_configFunction · 0.80

Calls 3

save_configMethod · 0.95
warningMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected