Skip to content

Multiply configs #51

Open
Open
@TimerWolf

Description

@TimerWolf

It seems like it not possible to have multiply configs, when i have everything in one it seems to work fine, but when i have it separated it seems to be harder for it to work.

And that's a bit fun, as the other starts works as well when everything is in the first one, anyways i could be good whit more then only "one" headline" for the differtent things you will check...

I have try to do it like this

{
      module: 'MMM-NetworkScanner',
      position: 'top_left',
      header: "Network",

      config: {
        devices: [
          {
            macAddress: "1a:1b:1c:1a:1b:1c",
            name: "Desktop",
            icon: "desktop"
          },
          {
            macAddress: "2a:2b:2c:2a:2b:2c",
            name: "Server",
            icon: "server"
          },
        ],

        showUnknown: false,
        showOffline: true,
        showLastSeen: true,
        showLastSeenWhenOffline: true,
        keepAlive: 300,
        updateInterval: 5
      }
    },

    {
      module: 'MMM-NetworkScanner',
      position: 'top_left',
      header: "Phones",

      config: {
        devices: [
          {
            macAddress: "3a:3b:3c:3a:3b:3c",
            name: "Me",
            icon: "mobile"
          },
          {
            macAddress: "4a:4b:4c:4a:4b:4c",
            name: "Other",
            icon: "mobile"
          },
        ],

        showUnknown: false,
        showOffline: true,
        showLastSeen: true,
        showLastSeenWhenOffline: true,
        keepAlive: 300,
        updateInterval: 5,
        sort: false
      }
    },

And if i change the two mac-adresses from the "Phones" to the "Network", both starts to work just fine....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions