MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. rkorell
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 25
    • Posts 389
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: birthdaylist - discontinued ?

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

      so

      debug: true,
      
      AND
      debugging:true,
      

      both in your module?

      Again: Thanks a LOT.
      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @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)

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

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

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @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

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      interesting enough the error shows up first time as I reported - the list is always the same - literally unchanged until first day of installation…

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      Ahh…
      in the code listing it shows up a difference …
      “10/6/95, 2. Hochzeitstag”
      with an additional space and a dot…
      is this a problem?
      I can change the taxt and delete space if nacessary (althoug I mean I’ve read that you are truncing entries …
      But the dot could be eliminated if useful.

      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil yes, for sure

      birth, name
      17/01/1965,Carola
      31/12/1963, Ralf
      27/01/1993, Lennart
      11/07/1987, Levin 
      28/07/1985, Katharina
      4/1/1953,Norbert L.
      18/3/1939,Jürgen
      22/3/1996,Chrizzy
      27/3/1985,Hochzeitstag
      31/3/2012,Hannah
      31/3/2022,Nilo
      11/4/1974,Claas
      26/4/1965,Ralf B.
      30/4/1989,Rahel
      7/5/2020,Mathilda
      27/5/1994,Elaine
      10/6/1960,Melanie
      5/2/1965,Stefan
      26/5/2002,Leonie
      4/1/2004,Carolin
      10/6/95, 2.Hochzeitstag
      10/6/1964,Petra B
      23/6/1984,Colin
      29/7/1995,Jassi
      29/7/1955,Shirley P.
      20/7/2001,Helene
      5/8/1963,Harald
      16/9/1997,Shirley Pi.
      20/9/1965,Heiko D.
      15/8/1967,Uta
      23/8/2019,Emil
      17/11/68,Susanne
      27/9/1987,Severin
      9/11/1948,Marianne
      12/11/1967,Silvia
      27/11/1956,Martina L.
      
      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      No, obviously NOT…
      I’ve now added “sendNotifications: true” to config.
      Mirror reloads and your module starts without this error message.

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil Yeah…
      You’re right.
      I’ve set this - my type of clock is set to “both” because I like sunset and day of week information.

      This causes an error in your module…

      birthdaylist.js:398 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'startsWith')
          at Class.getBD_DAY_from_Date (birthdaylist.js:398:9)
          at Class.getDom (birthdaylist.js:462:154)
          at main.js:132:35
          at new Promise (<anonymous>)
          at updateDom (main.js:112:10)
          at Object.updateDom (main.js:669:4)
          at Class.updateDom (module.js:341:6)
          at Class.socketNotificationReceived (birthdaylist.js:328:9)
          at module.js:240:9
          at Socket.<anonymous> (socketclient.js:32:4)
      

      Not sure if this corresponds with the displaySeconds parameter but seen this error first time…

      Regards,
      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil clock seconds are enabled, as far as I know …
      at least I haven’t found a parameter to enable/disable seconds
      and second hand is shown …

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      The suspending call seems indeed to come from MMM-Pir.
      But there is always a resuming…

      birthdaylist received a module notification: MMM_PIR-SCREEN_POWERSTATUS from sender: MMM-Pir
      birthdaylist.js:337 birthdaylist suspending
      birthdaylist.js:108 birthdaylist received a module notification: CURRENTWEATHER_TYPE from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: CURRENTWEATHER_TYPE from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: CALL_DISCONNECTED from sender: MMM-FRITZ-Box-Callmonitor-py3
      birthdaylist.js:108 birthdaylist received a module notification: MMM_PIR-SCREEN_POWERSTATUS from sender: MMM-Pir
      birthdaylist.js:345 birthdaylist resuming
      birthdaylist.js:108 birthdaylist received a module notification: CURRENTWEATHER_TYPE from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:108 birthdaylist received a module notification: WEATHER_UPDATED from sender: weather
      birthdaylist.js:337 birthdaylist suspending
      2birthdaylist.js:108 birthdaylist received a module notification: MMM_PIR-SCREEN_POWERSTATUS from sender: MMM-Pir
      birthdaylist.js:345 birthdaylist resuming
      
      

      I assume that we have to wait until birthdaylist disappears and then check the written logs afterwards if there is something different (I guess: NOT :-(. )

      Regards,
      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil said i added some debug for suspending, resuming, and getdom() if suspended

      git pull to update

      add debug:true
      to the config options

      you will see the output from mmm-logging

      who calls before we suspend ?

      Dear Sam,
      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), 419 bytes | 32.00 KiB/s, done.
      From https://github.com/sdetweil/birthdaylist
         0fcfb8c..0c16aeb  master     -> origin/master
      Updating 0fcfb8c..0c16aeb
      Fast-forward
       birthdaylist.js | 11 +++++++++--
       1 file changed, 9 insertions(+), 2 deletions(-)
      

      git pull has worked, debug is enabled.
      Surprisingly enough today in the morning birthdaylist is NOT disappeared.
      This exactly is the kind of error I like most: Unpredictable and not reproducable :-(

      Thanks anyway for your really great support (I’m pretty sure you do have more than enough other things to do …)

      Checking the console output the “debug” switch works - a lot more of information is showing up.
      Several module notifications are received from your module and broadcasted in log.
      One single “conspicuousness”: undefined is in init! in line 48 of birthdaylist.js :

      (Log.log(this.name + " is in init!");)
      

      The “suspended” status (and therefore “hidden” (??) ) is reached several times - I guess caused by MMM-Pir ? - at least it corresponds definitely with turning off the screen by MMM-Pir.

      Warmest regards,
      Ralf

      posted in Requests
      R
      rkorell
    • RE: First MM project - family dashboard

      @cpcode
      Really cool!

      For your families’ whishes: A nice module für RTPS strems of security cams is “MMM-MPlayer” …
      There are several other modules around but the other ones do have several dependencies and requirements.
      MMM-Mplayer use (as name suggest) simply mplayer.
      Works like a charm …
      @myfingersarecold has done a really nice job with this.

      Regards,
      Ralf

      posted in Show your Mirror
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil
      :-) yes for sure.
      But I had assumed that the already given output (from other modules as well) will change …

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      Dear Sam @sdetweil ,
      no hurry.
      It is definitely not urgent!

      Have a safe trip!
      I’ve added MMM-logging but cannot see a difference …

      Warmest regards,
      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil said in

      @rkorell i signed out of github and went back to

      You’re FAR better than me in searching :-)
      I gave up at the front page .
      as I wrote: MY fault…

      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil said

      do you use pages, module scheduler or any other thing like that

      not “really”. - pages definitely not used
      I use MMM-Pir with cron - but this switches off the HDMI communication as far as I understand.
      MMM-MagicMover moves but doesn’t hide.

      All other of the modules are showing, not hiding anything.

      clock
      MMM-Profilepicture
      MMM-Moonphase
      MMM-Globe
      weather
      MMM-MyGarbage
      MMM-CalendarExt3Agenda
      MMM-Todoist
      birthdaylist    :-) 
      MMM-Systemstats
      MMM-Strava
      MMM-FRITZ-Box-Callmonitor-py3
      MMM-Fuel
      MMM-NowPlayingOnSpotify
      MMM-SystemInfo
      MMM-EventHorizon
      newsfeed
      MMM-Pir
      
      two times calendar
      and finally 
      weather
      all three for broadcasting to MMM-CalendarExt3Agenda , NOT visible.
      
      

      Regards,
      Ralf

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil said

      i clicked the link i provided and got this

      For sure my error!
      Search routine wrong or something like this.
      I’ve searched the modules list (both of them) and your sdetweil github page.

      none of them showing the module.

      posted in Requests
      R
      rkorell
    • RE: birthdaylist - discontinued ?

      @sdetweil thanks.
      Not found - for whatever reason, sorry.

      Warmest regards,
      Ralf

      posted in Requests
      R
      rkorell
    • birthdaylist - discontinued ?

      Re: birthdaylist

      Dear Sam (@sdetweil ),
      I found your module some time ago but currently I can not.
      Do you took the module “birthdaylist” offline?

      If NOT ( I would appreciate this because your module is really (!) nice):
      I found a kind of strange “behaviour” - the module disappears over night (cannot identify at which time).
      This is true for the connected monitor (HDMI to Raspberry Pi) as well as a connected headless VNC remote session.
      With a “refresh” of the screen - e.g. triggered via a page reload in WebBrowser the module re-appears.

      I’ve searched the forum regarding a similar topic/issue but was not successful with this.
      Found some “refresh” related parameters in “birthdaylist” module config - do they relate to an issue like this? (from my understanding NOT - you mentioned in documentation “only on fresh mirror startup” which is not the case here).

      If you have discontinued the module please ignore this.

      Thanks, anyway!

      Regards,
      Ralf

      posted in Requests
      R
      rkorell
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 17 / 20