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.

    How can I add more time periods for MMM-compliments?

    Scheduled Pinned Locked Moved Solved Requests
    20 Posts 4 Posters 7.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.
    • DæmonEyesD Offline
      DæmonEyes @sdetweil
      last edited by DæmonEyes

      @sdetweil Here are all the changes I tried: https://imgur.com/a/wbYQclq
      alt text

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @DæmonEyes
        last edited by

        @dæmoneyes start the mirror with

        npm start dev
        

        and in the white developers window, select the console tab,
        scroll up/down to find any errors (red text)…

        I can’t see all your code, but its probably a missing quote, paren or brace

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        DæmonEyesD 1 Reply Last reply Reply Quote 1
        • DæmonEyesD Offline
          DæmonEyes @sdetweil
          last edited by

          @sdetweil Did that, found some red related to compliments and also to openweather
          Here is the full console tab: https://imgur.com/a/Lrn8kVH

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @DæmonEyes
            last edited by

            @dæmoneyes compliments.js:48 syntax error

            that means on line 48 of the complements.js file the compiler found an error…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            DæmonEyesD 1 Reply Last reply Reply Quote 1
            • DæmonEyesD Offline
              DæmonEyes @sdetweil
              last edited by DæmonEyes

              @sdetweil Once again, I owe you my thanks sdetweil! It works now!

              What should I do about the red related to the openweathermap?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @DæmonEyes
                last edited by

                @dæmoneyes openweathermap… I do not know… sorry…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                DæmonEyesD 1 Reply Last reply Reply Quote 0
                • DæmonEyesD Offline
                  DæmonEyes @sdetweil
                  last edited by

                  @sdetweil hey no problem, it seems to be working fine, so I guess I shouldn’t worry about it.

                  If I may ask one more question, should I do anything about the yellow warning ‘Electron Security Warning’?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @DæmonEyes
                    last edited by

                    @dæmoneyes if your mirror was open to the internet, then I would say yes

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    DæmonEyesD 1 Reply Last reply Reply Quote -1
                    • DæmonEyesD Offline
                      DæmonEyes @sdetweil
                      last edited by

                      @sdetweil Hmm ok, besides weather and quote of the day, I’m not really connecting to the net for anything so I guess that’s fine.
                      Thanks again for helping me solve this!

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SaschaSP
                        last edited by

                        @DæmonEyes you only make changes in
                        MagicMirror/modules/default/compliments/MMM-Compliments.js
                        and of corse in the
                        MagicMirror/config/config.js?

                        Can your Post your changes here in the Forum?
                        Here is a nice “HowTo” post a code into the Forum for better reading https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

                        Thank you

                        DæmonEyesD 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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