Snille/MMM-Modulebar

How to determine the IDNUM parameter

mmycjguo opened this issue · 2 comments

I used multiple modules of the same, I only want to control one of them, how to determine the IDNUM parameter

		module: "MMM-Modulebar",
		position: "right_bottom", // This can be any of the regions.
		header: "", // Optional
		classes: "default everyone", // Optional
		config: {
						// See 'Configuration options' for more information.
			       direction: "row-reverse",
						buttons: {
				// A number (uniqe for each button).
				"1": {
				  // A button with only text
				  module: "all",
				  symbol: "fas fa-power-off",
				},
				"2": {
				  
				  module: "MMM-iFrame",
				  idnum: ???,
				  symbol: "far fa-calendar-alt",

				}, 

Open the "mirror" in Chrome, press F12 (debug mode) and expand the body-tag down to the module you are looking for. The ID number is displayed in the "id-string" of the module, see picture.... :)
image

PS: The number of the module will change every time you add/remove a module "above" (in the config). All modules after the change vill then get new numbers...