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 - discontinued ?

    Scheduled Pinned Locked Moved Solved Requests
    63 Posts 2 Posters 16.3k 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.
    • S Offline
      sdetweil @rkorell
      last edited by sdetweil

      @rkorell I don’t see the error… can you show me the bdlist config

      also, that line of code would only happen is there WAS a birthday to display
      and your list doesn’t have one for tomorrow or later (in this month)
      are for next month…

      still don’t see the error…
      my code strips off the extra leading space on the name field.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rkorell @sdetweil
        last edited by

        @sdetweil indeed - should have done this at the begin, sorry:

        // Geburtstagsliste 
        // Gelesen wird: ~/MagicMirror/modules/birthdaylist/data/bdl.csv
        
        		{ 
        	        
        	        module: "birthdaylist",
        	        disabled: false,
        	        position:'top_right',  
        	        config: {
        						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: 0, // How many seconds to wait on a fresh start up.
        						updateDelay: 5,      // How many seconds after midnight before a refresh
        						currentMonthOnly: false,  // will show birthdays for the current month only if true
        						maxEntries: 3,	     // 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
        						withMonth: true ,    // then true, add the month display as part of the date field, 
        						debug:true,
        	                }
        		},
        
        
        

        warmest regards,
        Ralf

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rkorell @rkorell
          last edited by

          Stefan, Jürgen and Chrizzy are shown - which is correct, as far as I understand the parameters.

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

            @rkorell correct, same as what i see. no fault tho

            the init message appears to be an MagicMirror bug
            i opened https://github.com/MagicMirrorOrg/MagicMirror/issues/3708

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rkorell @sdetweil
              last edited by rkorell

              @sdetweil OK; thanks.
              this is regarding the init error.
              Yesterday night birthdaylist disappeared again.
              And my initial finding is at least reproducable:
              Birthdaylist disappears from physical screen (connected via HDMI) and from VNC remote session.
              BUT: In webbrowser it disappears NOT:

              If I do a reload in Webbrowser - instantly the birthdaylist appears on screen as well as in VNC session.

              console log shows:
              birthdaylist received a system notification: MODULE_DOM_UPDATED

              I had assumed that I can find all of the console logs in the logfiles in $HOME/.pm2/logs but this is not true.

              Any idea regarding this discrepancy?

              Thanks again a LOT for your kind and great support!
              Warmest regards,
              Ralf

              (sorry for the rubbish Browser - rendering but I’m not able (or too stupid) to scale this correctly)

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

                @rkorell ok, that message comes in response to a module updating its content. but I see a bug in my code i cant get to today

                to work around it add another config parm for the module

                debugging:true,
                

                you will get additional messages during setup and nightly refresh (5 seconds after midnight by default)

                maybe its not a bug, but a document error

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rkorell @sdetweil
                  last edited by

                  @sdetweil OK; cool.“workaround” is OK for me :-)

                  so

                  debug: true,
                  
                  AND
                  debugging:true,
                  

                  both in your module?

                  Again: Thanks a LOT.
                  Ralf

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

                    @rkorell yes, both

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      rkorell @sdetweil
                      last edited by

                      @sdetweil OK, thanks.
                      Have done.

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

                        @rkorell you should have a couple days on redraw now, does it still disappear?

                        Can you show the new debug info

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • R Offline
                          rkorell @sdetweil
                          last edited by

                          Dear Sam , @sdetweil - tahns for following up!!!

                          @rkorell you should have a couple days on redraw now, does it still disappear?
                          No. With the “debugging” switch I did not see a disappearing again .

                          Can you show the new debug info

                          Yes, for sure, I can see nothing “spectacular”…
                          debuginfobirthdaylist.png

                          Can you derive something from this information?

                          Warmest regads,
                          Ralf

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

                            @rkorell I don’t see the update just after midnight

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            R 1 Reply Last reply Reply Quote 0
                            • R Offline
                              rkorell @sdetweil
                              last edited by

                              @sdetweil OK; sorry, misunderstood.
                              In the log file is nothing interesting - As far as I’m able to interpret this right:

                              [2025-02-01 23:52:48.499] [INFO]  Newsfeed-Fetcher: Broadcasting 1 items. 
                              [2025-02-01 23:52:48.920] [INFO]  Newsfeed-Fetcher: Broadcasting 7 items. 
                              [2025-02-01 23:52:51.572] [INFO]  Newsfeed-Fetcher: Broadcasting 24 items. 
                              [2025-02-01 23:57:44.968] [LOG]   2025-02-01T23:57:44 <log> MMM-Strava: "Getting data for module_15_MMM-Strava" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-01 23:57:44.973] [LOG]   2025-02-01T23:57:44 <log> MMM-Strava: "Getting athlete activities for module_15_MMM-Strava after 2025-01-01" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-01 23:57:45.407] [LOG]   2025-02-01T23:57:45 <log> MMM-Strava: "listActivities api returned 4 activities in page 1 using 200 per page." (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-01 23:57:45.582] [LOG]   2025-02-01T23:57:45 <log> MMM-Strava: "Summarising athlete activities for module_15_MMM-Strava" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-01 23:57:47.063] [LOG]   2025-02-01T23:57:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-01 23:57:47.069] [LOG]   2025-02-01T23:57:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-01 23:57:47.300] [LOG]   2025-02-01T23:57:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-01 23:57:48.629] [INFO]  Newsfeed-Fetcher: Broadcasting 1 items. 
                              [2025-02-01 23:57:49.043] [INFO]  Newsfeed-Fetcher: Broadcasting 7 items. 
                              [2025-02-01 23:57:51.842] [INFO]  Newsfeed-Fetcher: Broadcasting 24 items. 
                              [2025-02-02 00:02:48.764] [INFO]  Newsfeed-Fetcher: Broadcasting 1 items. 
                              [2025-02-02 00:02:49.155] [INFO]  Newsfeed-Fetcher: Broadcasting 7 items. 
                              [2025-02-02 00:02:52.110] [INFO]  Newsfeed-Fetcher: Broadcasting 24 items. 
                              [2025-02-02 00:07:45.030] [LOG]   2025-02-02T00:07:45 <log> MMM-Strava: "Getting data for module_15_MMM-Strava" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-02 00:07:45.036] [LOG]   2025-02-02T00:07:45 <log> MMM-Strava: "Getting athlete activities for module_15_MMM-Strava after 2025-01-01" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-02 00:07:45.496] [LOG]   2025-02-02T00:07:45 <log> MMM-Strava: "listActivities api returned 4 activities in page 1 using 200 per page." (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-02 00:07:45.670] [LOG]   2025-02-02T00:07:45 <log> MMM-Strava: "Summarising athlete activities for module_15_MMM-Strava" (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:477 Class.log) 
                              [2025-02-02 00:07:47.243] [LOG]   2025-02-02T00:07:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-02 00:07:47.248] [LOG]   2025-02-02T00:07:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-02 00:07:47.493] [LOG]   2025-02-02T00:07:47 <log> Refreshed access token because it has expired. Expired at: 00:07:46 now is: 00:07:47 (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24 ) 
                              [2025-02-02 00:07:47.509] [LOG]   2025-02-02T00:07:47 <log>  payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) 
                              [2025-02-02 00:07:48.900] [INFO]  Newsfeed-Fetcher: Broadcasting 1 items. 
                              [2025-02-02 00:07:49.269] [INFO]  Newsfeed-Fetcher: Broadcasting 7 items. 
                              
                              

                              Error log is “empty” for the time around midnight:

                              [2025-02-01 23:07:48.215] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-01 23:22:44.976] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-01 23:37:44.996] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-01 23:52:45.072] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 00:07:45.159] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 00:22:45.228] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 00:37:45.305] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 00:52:45.385] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 01:07:45.623] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 01:22:45.537] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 01:37:45.657] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 01:52:45.742] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 02:07:45.838] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 02:22:45.994] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 02:37:46.097] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 02:52:46.168] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 03:07:46.285] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 03:22:46.325] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 03:37:46.523] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 03:52:46.508] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 04:07:46.575] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 04:22:46.640] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 04:37:46.754] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 04:52:46.811] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              [2025-02-02 05:07:46.922] [WARN]  MMM-Fuel: Filtered stationIds list is empty 
                              

                              Where else can I look?
                              Regards,
                              Ralf

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

                                @rkorell will have to review again . later

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                R 1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rkorell @sdetweil
                                  last edited by

                                  @sdetweil Thanks.
                                  Take your time.
                                  This is definitely not urgent!

                                  Ralf

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

                                    @rkorell I just pushed some fixes for the update cycle

                                    give it a try…
                                    git pull
                                    to update

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rkorell @sdetweil
                                      last edited by

                                      @sdetweil , Cool!
                                      Thanks a lot.

                                      pi@smarthome:~/MagicMirror/modules/birthdaylist $ git pull
                                      hint: Pulling without specifying how to reconcile divergent branches is
                                      hint: discouraged. You can squelch this message by running one of the following
                                      hint: commands sometime before your next pull:
                                      hint:
                                      hint:   git config pull.rebase false  # merge (the default strategy)
                                      hint:   git config pull.rebase true   # rebase
                                      hint:   git config pull.ff only       # fast-forward only
                                      hint:
                                      hint: You can replace "git config" with "git config --global" to set a default
                                      hint: preference for all repositories. You can also pass --rebase, --no-rebase,
                                      hint: or --ff-only on the command line to override the configured default per
                                      hint: invocation.
                                      remote: Enumerating objects: 5, done.
                                      remote: Counting objects: 100% (5/5), done.
                                      remote: Compressing objects: 100% (1/1), done.
                                      remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
                                      Unpacking objects: 100% (3/3), 584 bytes | 97.00 KiB/s, done.
                                      From https://github.com/sdetweil/birthdaylist
                                         0c16aeb..e4013e9  master     -> origin/master
                                      Updating 0c16aeb..e4013e9
                                      Fast-forward
                                       birthdaylist.js | 31 +++++++++++++++++++------------
                                       1 file changed, 19 insertions(+), 12 deletions(-)
                                      

                                      Can I now remove the debug-attributes?
                                      Warmest regards,
                                      Ralf

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

                                        @rkorell yes, or you can leave them on for a little while

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rkorell @sdetweil
                                          last edited by

                                          @sdetweil OK; will do.
                                          Thanks.
                                          Ralf

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

                                            @rkorell see any remaining issues?

                                            if not, you can turn off both debug settings for next time you start MagicMirror

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            R 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
                                            • 4
                                            • 2 / 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