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.

    birthdaylist

    Scheduled Pinned Locked Moved Solved Requests
    module
    41 Posts 3 Posters 35.0k Views 3 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.
    • S Offline
      sdetweil @MyMirror
      last edited by

      @MyMirror go to the module folder and do

      git pull

      to get underlined header just add the header to the config

      {
              module: "birthdaylist",
              position:'top_left',
              header:"birthday list header",
              config: {
      					language: "en",
      					dimmEntries:true,  // true: dims entries and the associated
      							     //       symbol when the date has expired.
      						             // false: dont display entries and the associated
      							     //        symbol when the date has expired.
      					initialLoadDelay: 0, // How many seconds to wait on a fresh start up.
      							     // This is to prevent collision with all other modules also
      							     // loading all at the same time. This only happens once,
      							     // when the mirror first starts up.
      					updateDelay: 5,      // How many seconds after midnight before a refresh
      							     // This is to prevent collision with other
      							     // modules refreshing at the same time.
      					currentMonthOnly: false,  // will show birthdays for the current month only if true
      					maxEntries: 0,	     // maximum entries to show, default is all
      					dateFormat: '',	     // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
      					ageFormat:'',	     // some format string for the persons age, '[ n ]'  n will be replace by age value
      					debug:false
                      }
      }
      

      for year end wrap around, set
      currentMonthOnly:false,

      Screenshot at 2023-12-29 09-32-41.png

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MyMirror @sdetweil
        last edited by

        @sdetweil

        It couldn’t look any better.
        Great - thank you very much!

        Jens

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MyMirror @MyMirror
          last edited by

          @sdetweil

          Hmm, if i set
          currentMonthOnly: false,
          and
          maxEntries: 10,

          i just get 3 lines.
          Can you check this?

          BR
          Jens

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MyMirror @MyMirror
            last edited by

            @sdetweil

            … and if i delete
            03/01/1940,aaa AAAAA
            06/01/1969,bbb BBBBB
            only Joan is left …
            Any idea?

            Jens

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @MyMirror
              last edited by sdetweil

              @MyMirror hm…

              {
                      module: "birthdaylist",
                      position:'top_left',
                      header:"birthday list header",
                      config: {
              					language: "en",
              					dimmEntries:true,  // true: dims entries and the associated
              							     //       symbol when the date has expired.
              						             // false: dont display entries and the associated
              							     //        symbol when the date has expired.
              					initialLoadDelay: 0, // How many seconds to wait on a fresh start up.
              							     // This is to prevent collision with all other modules also
              							     // loading all at the same time. This only happens once,
              							     // when the mirror first starts up.
              					updateDelay: 5,      // How many seconds after midnight before a refresh
              							     // This is to prevent collision with other
              							     // modules refreshing at the same time.
              					currentMonthOnly: false,  // will show birthdays for the current month only if true
              					maxEntries: 10,	     // maximum entries to show, default is all
              					dateFormat: '',	     // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
              					ageFormat:'',	     // some format string for the persons age, '[ n ]'  n will be replace by age value
              					debug:false
                              }
              }
              

              and I see 5 entries
              I added the time to the screen shot to show its new
              Screenshot at 2023-12-29 12-18-15.png

              can u paste your exact config?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MyMirror @sdetweil
                last edited by

                @sdetweil

                Sure …

                        {
                                module: "birthdaylist",
                                position:'top_left',
                                header:"Geburtstage",
                                config: {
                                language: "de",
                                dimmEntries: false,             // true: dims entries and the associated
                                                                //       symbol when the date has expired.
                                                                // false: dont display entries and the associated
                                                                //        symbol when the date has expired.
                                initialLoadDelay: 10,           // How many seconds to wait on a fresh start up.
                                                                // This is to prevent collision with all other modules also
                                                                // loading all at the same time. This only happens once,
                                                                // when the mirror first starts up.
                                updateDelay: 5,                 // How many seconds after midnight before a refresh
                                                                // This is to prevent collision with other
                                                                // modules refreshing at the same time.
                                currentMonthOnly: false,        // will show birthdays for the current month only if true
                                maxEntries: 10,                 // maximum entries to show, default is all
                                dateFormat: '',                 // date format for birthday (default is none), could be 'Do' for 'Sep 12th'
                                ageFormat:'',                   // some format string for the persons age, '[ n ]'  n will be replace by age value
                                debug:false
                                }
                        },
                
                10 maxEntries just for the test, if this works, i would go to 4.
                On my screen I get this:
                ![screenshot](https://my.hidrive.com/lnk/CBHojVsL)
                So ... only 3 entries and i took your example
                
                BR
                Jens
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @MyMirror
                  last edited by

                  @MyMirror you have to use the 3rd icon from the right above the editor to include images

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MyMirror @sdetweil
                    last edited by MyMirror

                    @sdetweil
                    Sorry :flushed_face:Birthday_screenshot_2.jpg

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @MyMirror
                      last edited by

                      @MyMirror

                      I see 4 entries, u have dimmEntries: false, so the bd on the dec 19th doesn’t show…

                      did u change the csv?

                      Screenshot at 2023-12-29 12-38-21.png

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @MyMirror
                        last edited by sdetweil

                        @MyMirror I added Suzie to the new bdl.csv but it was part of the git pull …

                        birth, name
                        15/01/1987,suzie
                        12/05/1951, Sam
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          MyMirror @sdetweil
                          last edited by

                          @sdetweil
                          No, i took your example after getting no output of mine.
                          So the only changes are in the config regarding the currentMonthOnly and the max Entries.
                          Hmmm :confused_face:

                          S 2 Replies Last reply Reply Quote 1
                          • S Offline
                            sdetweil @MyMirror
                            last edited by

                            @MyMirror can u edit the birthdaylist/data/bdl.csv

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            M 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @MyMirror
                              last edited by

                              @MyMirror the sample file is in

                              DD/MM/YYYY format

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                MyMirror @sdetweil
                                last edited by

                                @sdetweil

                                Yes, of course.
                                What should i try?
                                Add this:
                                15/01/1987,suzie
                                12/05/1951, Sam

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @MyMirror
                                  last edited by

                                  @MyMirror that second line shouldbe there already, do this

                                  cd ~/MagicMirror/modules/birthdaylist
                                  git checkout data/bdl.csv
                                  

                                  then look at the file again

                                  it should start like mine
                                  suzie on the second line

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MyMirror @sdetweil
                                    last edited by

                                    @sdetweil

                                    my bdl.csv:
                                    bdl_data.png

                                    my output:
                                    Birthday_screenshot_3.jpg

                                    4 lines

                                    M S 3 Replies Last reply Reply Quote 0
                                    • M Offline
                                      MyMirror @MyMirror
                                      last edited by

                                      @sdetweil

                                      is a blank needed before “Suzie”?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @MyMirror
                                        last edited by sdetweil

                                        @MyMirror correct

                                        the bd on Dec 19th is in the past, and u have

                                        dimmEntries: false

                                        so, past BD’s are not dispplayed

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @MyMirror
                                          last edited by

                                          @MyMirror said in birthdaylist:

                                          is a blank needed before “Suzie”?

                                          no, I trim off blanks… allow for sloppy editing/pasting

                                          all entries have to have the same date format

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @MyMirror
                                            last edited by

                                            @MyMirror the csv file format is

                                            the header row,

                                            birth  ,  name
                                            

                                            and then
                                            rows for each person

                                            birthday , name
                                            

                                            the birthday format can be in whatever format you like
                                            MM/DD/YYYY
                                            DD/MM/YYYY
                                            YYYY/DD/MM
                                            YYYY/MM/DD

                                            using whatever separator you choose

                                            the layout and separator have to be the same for all birthday rows

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            M 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 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