MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Display different Roomtemperature on MagicMirror

    Scheduled Pinned Locked Moved General Discussion
    31 Posts 4 Posters 11.8k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • XilefX Offline
      Xilef @wishmaster270
      last edited by

      @wishmaster270 i connected an other sensor and it doesnt showed me the error message, i will try the sketch tomorrow, the MMM_Temperature module is installed and works, but doesnt show any data, im gona try to fix it tomorrow

      1 Reply Last reply Reply Quote 0
      • XilefX Offline
        Xilef @wishmaster270
        last edited by Xilef

        @wishmaster270 everything worked, you just forgot to add the “80” here:
        f9b2ea9b-634b-484f-86d7-cfd3e04248ca-image.png

        i just set up a second sensor and cloned the module
        if i go into my browser and type the two different IPs every sensor shows his own data, but the mirror displays 2times the data of sensor 2:
        a7b7719e-9a73-4c45-8a3e-239acb3611d5-image.png

        (sensor1: “test” | sensor2: “test2”)
        how do i fix that?

        wishmaster270W 1 Reply Last reply Reply Quote 0
        • wishmaster270W Offline
          wishmaster270 Module Developer @Xilef
          last edited by

          @Xilef Perfect. One step further.

          You only need one instance of the module. So your config will look something like:

          		{
          			module: "MMM-Temperature",
          			position: "middle_center",
          			config: {
          				sensors: [
          					{
          					    name: "test",
          					    script: "/bin/nc",
          					    args: "-w3 192.168.178.106 80"
                              			},
          					{
          					    name: "test2",
          					    script: "/bin/nc",
          					    args: "-w3 192.168.178.108 80"
                              			},
          				]
          			},
          		},
          
          XilefX 1 Reply Last reply Reply Quote 0
          • XilefX Offline
            Xilef @wishmaster270
            last edited by

            @wishmaster270 yes, it works

            and in the future i can experiment with the MMM-ValuesByNotification Module to customize the module, right?

            and a big thank you for the help and the quick reply

            wishmaster270W 1 Reply Last reply Reply Quote 0
            • wishmaster270W Offline
              wishmaster270 Module Developer @Xilef
              last edited by

              @Xilef Perfect.
              Yes, the ValuesByNotification module is very powerful but the configuration can be get complex very quickly. You will need my other module CommandToNotification, too.

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 4 / 4
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy