Skip to content

IA7 config settings file

hplato edited this page Jul 5, 2017 · 6 revisions

With Version 1.0.600 IA7 there is support for settings at a per object level. The file is called

ia7_config.json

Currently the following configuration settings are available.

NOTE: the file needs to be formatted correctly. Missing a bracket or comma will result in an incorrect configuration. Fortunately, MH will log if the file is incorrect.

{ 
"prefs" : {
     "header_button" : "yes",            // Display the 'checking' button on the master header
     "state_log_show" : "yes",           // Display an object state log on the state modal dialog box
     "state_log_entries" : "4",          // Number of log entries to display
     "always_double_buttons" : "yes",    // Make all buttons the same size as the collection buttons
     "fp_icon_size" : "32",              // Default size for floorplan icons (32,48,64)
     "fp_state_popovers" : "yes",        // Floorplan Use 'popovers' for icon states instead of the modal dialog
     "substate_percentages" : "20",      // For items with 1-100%, what level to show on the modal dialog
     "disable_current_state" : "yes",    // By default, the current state is disabled on the modal dialog
     "notifications" : "yes",            // 4.2, enable notification system
     "speech_default" : "audio,banner",  // 4.2, what default notifications should be enabled
     "audio_controls" : "no",            // 4.2, show audio controls
     "floorplan_baseimg_dir" : "/ia7fp", // 4.3, location where floorplan base images are stores
     "brightness_slider" : "yes",        // 4.3, use a slider for brightness controlls
     "static_tagline" : "no",            // 4.3, dynamically update
     "stat_refresh" : "120",             // 4.3, update tagline and uptime every 120 seconds
     "rrd_refresh" : "30",               // 4.3, update the rrd graphs every 30 seconds
     "tooltips" : "yes"                  // 4.3, show tooltips on buttons that has truncated text
     },
"state_colors" : {                       // 4.2, color override
     "male" : "default",
     "test" : "blue"
     },
"objects" : {
     "example_object" : {
  	 "disable_current_state" : "no"  // Allow the current state to be selected on the object
         }  	
    },
"clients" : {                         
     "127.0.0.1" : {
  	 "notifications" : "yes"         // 4.2, override settings on a client per IP basis
         }
     }
}
Clone this wiki locally