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.

    Basic configuration issues with compliments & calendar modules

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 2.4k Views 2 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.
    • M Offline
      mh77
      last edited by

      Hi all,

      Some very simple things don’t work, I’m guessing it’s me so thanks for your patience :) I’ve successfully installed MagicMirror and have been able to configure it to show my Google Calendar, as well as weather for my region. So far, so good.

      However, I could only get the compliments module to disappear by removing it from the config.js file. Adding disabled: true in the following manner (like it says here) does not seem to have any effect:

                      {
                              module: 'compliments',
                              position: 'lower_third',
                              disabled: 'true',
                              config: {
                                      }
                      },
      

      Then, when I configure the calendar, the maximumEntries seems to be respected but preventing fading or hiding the symbol before each entry does not work with this configuration:

                      {
                              module: 'calendar',
                              position: 'top_left',
                              header: 'Agenda',
                              config: {
                                      maximumEntries: '5',
                                      displaySymbol: 'false',
                                      fade: 'false',
                                      calendars: [
                                              {
                                                      url: 'https://URL.ics'
                                              }
                                      ]
                              }
                      },
      

      I hope anyone knows if I’m doing something wrong, and what?

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @mh77
        last edited by

        @mh77 you have to type booleans without quotes

        disabled: true , fade: false and displaySymbol: false

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 2
        • M Offline
          mh77
          last edited by

          Ah of course, that’s it. Thanks so much!

          I hadn’t thought of it, because when I used ‘onlyTemp’ in my currentweather module config, it worked when I entered ‘true’. But it also only shows the temperature when I enter ‘false’ there, so it somehow defaults to true if you enter it with any value between single quotes.

          Anyhow, thanks again!

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @mh77
            last edited by

            @mh77 a string in javascript is handled as true, so 'false' => true

            Please create a github issue if you need help, so I can keep track

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