• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MagicMirror v2.1.0 Update error

Scheduled Pinned Locked Moved Solved Troubleshooting
31 Posts 12 Posters 24.7k Views 12 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.
  • L Offline
    lolobyte @PindaPower
    last edited by lolobyte Jan 1, 2017, 3:40 PM Jan 1, 2017, 3:39 PM

    @PindaPower

    Hi,

    at this position i must insert my ip from the notebook?

    ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “XXX.XXX.XXX.XXX”, “192.168.250.250”],

    And how to declare a range?

    1 Reply Last reply Reply Quote 0
    • L Offline
      lolobyte
      last edited by Jan 1, 2017, 10:08 PM

      nobody can help.

      I going to be crazy soon with this damn IP’s

      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”],

      Can somebody put a example of a running ip address with a virtual IP like 192.168.123.123 to give access to remote control module ?

      1 Reply Last reply Reply Quote 0
      • S Offline
        Snille Module Developer
        last edited by Jan 1, 2017, 11:55 PM

        This should do it. :)

        For a B-network (192.168.x.x)
        The last two “x”:es change.

        ipWhitelist: [
        	"127.0.0.1",
        	"::ffff:127.0.0.1",
        	"::1",
        	"::ffff:192.168.0.1/16" 
        ],
        

        Or for a C-network (192.168.123.x)
        Only the last “x” change.

        ipWhitelist: [
        	"127.0.0.1",
        	"::ffff:127.0.0.1",
        	"::1",
        	"::ffff:192.168.123.1/24" 
        ],
        

        Good luck. :)

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        1 Reply Last reply Reply Quote 0
        • S Offline
          Steff
          last edited by Jan 2, 2017, 5:43 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            schlachtkreuzer6 @yawns
            last edited by Jan 2, 2017, 6:25 PM

            @yawns so how do i change the comments if i should´t change the comments.js ? ^^

            Y 1 Reply Last reply Jan 2, 2017, 7:06 PM Reply Quote 0
            • Y Offline
              yawns Moderator @schlachtkreuzer6
              last edited by Jan 2, 2017, 7:06 PM

              @schlachtkreuzer6 said in MagicMirror v2.1.0 Update error:

              @yawns so how do i change the comments if i should´t change the comments.js ? ^^

              I guess you are talking about compliments.js ?
              The readme clearly states how to add own compliments: https://github.com/MichMich/MagicMirror/blob/master/modules/default/compliments/README.md

              S 1 Reply Last reply Jan 2, 2017, 7:36 PM Reply Quote 0
              • S Offline
                schlachtkreuzer6 @yawns
                last edited by Jan 2, 2017, 7:36 PM

                @yawns oh sorry i mean the compliments… i don´t know why i wrote comments (maybe i need more coffee!)

                but if i want the default compliments to be in german, what do i need to change? That the git pull is working?

                Y S 2 Replies Last reply Jan 2, 2017, 7:54 PM Reply Quote 0
                • Y Offline
                  yawns Moderator @schlachtkreuzer6
                  last edited by Jan 2, 2017, 7:54 PM

                  @schlachtkreuzer6
                  The same approach. Add whatever you want to add, but do not modify the JavaScript module files.
                  Create a compliments file or add them to your config file.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Steff @schlachtkreuzer6
                    last edited by Jan 2, 2017, 8:25 PM

                    @schlachtkreuzer6
                    After your question I understood what I personally had done wrong, so I lost my German compliments, still have to confess this to my 8 year old boy who wrote them. Please find here an example with German text how you could modify your local config.js to show German comments:

                                {
                                        module: 'compliments',
                                        position: 'lower_third',
                    
                                        config:
                                        {
                                        compliments:
                                           {
                                           "morning" : [
                                                "Du siehst aber gut aus heute !",
                                                "Gut geschlafen ?",
                                                "Moin, Moin...."
                                                ],
                                            "afternoon" : [
                                                "Ab Fussball spielen !",
                                                "Lass uns auf den Abend vorbereiten....",
                                                "Musik hören ?"
                                                ],
                                            "evening" : [
                                                "Einen Cocktail ?",
                                                "Wow, Du bist aber heiss heute...",
                                                "Wollen wir heute abend weggehen ?"
                                                ]
                                           }
                                        }
                                },
                    
                    B 1 Reply Last reply Jan 2, 2017, 8:31 PM Reply Quote 0
                    • B Offline
                      bhepler Module Developer @Steff
                      last edited by Jan 2, 2017, 8:31 PM

                      @Steff Remove the " from around the array names (morning, afternoon, evening).

                      compliments:
                                   {
                                   morning : [
                                        "Du siehst aber gut aus heute !",
                                        "Gut geschlafen ?",
                                        "Moin, Moin...."
                                         ],
                                    afternoon : [
                                       "Ab Fussball spielen !",
                                       "Lass uns auf den Abend vorbereiten....",
                                        "Musik hören ?"
                                        ],
                                    evening : [
                                        "Einen Cocktail ?",
                                        "Wow, Du bist aber heiss heute...",
                                        "Wollen wir heute abend weggehen ?"
                                        ]
                                   }
                                }
                      
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        10/31
                        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