Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Hein-Jan
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 36
    • Best 7
    • Groups 0

    Hein-Jan

    @Hein-Jan

    8
    Reputation
    1355
    Profile views
    36
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Hein-Jan Follow

    Best posts made by Hein-Jan

    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      @morozgrafix

      Yep, alreay did that.

      This is my config included is the scheduling part.

      {
                              module: 'MMM-Valentine',
                              position: 'fullscreen_above',
                              classes: 'scheduler',
                              config: {
                                      // display the module only on the 14th of february
                                      module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' },
                                      valentinesCount: 25,
                                      valentinesSize: 2.00,
                              }
                      },
      
      

      I have been struggling with the 2 asterixes behind the “minutes and hours” values but before the “day of the week” value. Cron revealed that they probably are “Day of the month” and “month of the year”.
      I am a Noob, and all of the scheduling examples had wildcards there. I feel fairly confident this is going to work.

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: MMM-Remote-Control

      @ostfilinchen

      You got to be kidding me!
      But you are right, I just tried! Chrome: it works, Edge: black screen.
      But somehow I have a feeling it just to work in Chrome before the update (of the MM to V.2.1.0).
      Thanks for the Work-around.

      Hein-Jan.

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: Send message to the Mirror

      Building on to this.
      I am thinking of a modules that displays a note on the mirror, exactly like the mentioned: I’ll be home late.

      I would think of it as a Sticky.

      I already have the Wunderlist module, so I can image that one of the lists would be: notes. And everyone within the household (connected to the Wunderlist) could switch notes on and off.
      This can ofcourse all be done in Wunderlist, but I would like it to be more explicit than a simple entry in a list. I think it would be cool if it realy looked like a yellow sticky (at a slight angle, somewhat random placed) with black handwriting on it.
      So it is more a different presentation of the Wunderlist module.
      Is this possible? I do not the faintest idea of where to start.

      posted in Requests
      Hein-Jan
      Hein-Jan
    • RE: Replacing snow flakes with hearts in the MMM-SNOW module

      Can it be combined with MMM-Scheduler to only (and automatically) show up on the 14th of Feb?

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: MMM-NOAA

      @bhepler

      As far as I can tell the

      libGL error: MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      MESA-LOADER: failed to retrieve device information
      
      

      Is due to the Open GL driver. I am using the Fake KMS and these are mine errors. I am not using NOAA.

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: How do you switch on / off, wake up yours?

      I’m with cowboysdude,

      MMM-ModuleScheduler combined with MMM-Remote-Control.

      Scheduler sends MonitorOn and Off’s to Remote.

      Works like a dream!

      posted in Hardware
      Hein-Jan
      Hein-Jan
    • RE: How HOT Does it Get?

      Mine was running at aprox 70°C. My mirror is vertically orientated. The Pi is in a casing but al the sides of the casing have been removed. I have fitted the CPU and the memory with heatsinks.
      The Pi was mounted near the top of my mirror (I could slide it under the piece of board that is being used to mount the mirror on the wall.) My mirror case does have some ventilation holes at the top, but no fan.
      Being slightly worried about the 70°C (I expect it to go up to 80°C in summer) I decided to change the postion of the Pi in my mirror from the top of the frame to the bottom, so it was no longer in the monitors pre-heated air.
      At the bottom of the case my Pi is now running at aprox 55°C. A drop of 15°C by simply relocating within the mirror frame.

      I’ll take that over running a fan for my mirror.

      posted in General Discussion
      Hein-Jan
      Hein-Jan

    Latest posts made by Hein-Jan

    • RE: MMM-DropboxWallpaper halting mirror

      Second attemp:
      0_1577722478844_dev.jpg

      mm-out.log:

      [DBXWLP] DSC_0244.JPG is downloaded.
      [DBXWLP] DSC_0258.JPG is downloaded.
      [DBXWLP] DSC_0199.JPG is downloaded.
      [DBXWLP] IMG-20191229-WA0000.jpg is downloaded.
      

      last entries in mm-error.log:

      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 28): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 29): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 30): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 31): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 32): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 33): TypeError: Cannot read property 'hash' of null
      (node:10880) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 34): TypeError: Cannot read property 'hash' of null
      
      

      I’m not seeing it.
      Which probably means I am not looking at the right place…

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: MMM-DropboxWallpaper halting mirror

      @sdetweil

      (0_1577719932947_dev.gif

      I’m not sure this is helpfull. Nothing in Red.
      I got the screendump from the vnc on my computer. It matches the actual screen on the Pi which is hanging on the wall in the hallway… (without keyboard etc.)
      I can still SSH and Sftp into the Pi.
      Last entry in mm-out.log:

      [CALEXT] https://calendar.google.com/calendar/ical/spiegelclovishof%40gmail.com/private-XXXXXXXX/basic.ics  >> 
      { state: 'fetched but no change',
        lastFetchedTime: '19-12-30 16:37:17',
        lastFetchedEvents: 69,
        lastFetchedOldEvents: 93,
        lastServedEvents: 118,
        error: null }
      

      So nothing there either.

      last entries in mm-error.log:

      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined
      (node:7881) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefined
      Global fetch is deprecated and will be unsupported in a future version. Please pass fetch function as option when instantiating dropbox instance: new Dropbox({fetch})
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'hash' of null
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'hash' of null
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 'hash' of null
      (node:7881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property 'hash' of null
      

      Absolutely no clue about this. It usually seems to keep on running despite a lot of errors/warnings.

      Appreciate your help!

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • MMM-DropboxWallpaper halting mirror

      I’am running my mirror on a R’Pi. I have recently added MMM-DropboxWallpaper.
      Now my mirrors hangs in a black screen after aproximately 10 to 15 minutes.
      I not sure why. Monitoring System Stats, suggest that Memory is not the problem, it doesn’t drop below 20%.
      Load also does not seem to be the trouble.
      The last entry in pm2 mm-out.log:

      [DBXWLP] DSC_0199.JPG is downloaded.
      

      Anybody any idea’s?

      Hein-Jan.

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: Flickering after 30-60 mins

      @afrench10

      A small part of the MichMich set-Up instructions:

      ℹ️ Activating the Open GL drive can also be accomplished by using the raspi-config tool by running sudo raspi-config. Go to the Advanced Options menu and select A7 GL Driver. Next, select the G1 GL (Full KMS) OpenGL desktop driver with full KMS. Note that this option will be selected in the menu even when the GL drive is not yet configured.
      
      Unfortunately, as a result, the display_rotate=1 (see below) won't have any effect on the display. If you want to rotate the display when the Open GL driver is in use, we need to use the xrandr tool which allows us to rotate the display when in desktop mode. To do so, edit the autostart file:
      
      nano ~/.config/lxsession/LXDE-pi/autostart
      
      And add the following line:
      
      @xrandr --output HDMI-1 --rotate right
      

      That should solve your problem.

      Kind Regards

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: Flickering after 30-60 mins

      I did have the same problem as @bhepler. Switching from fake KMS to full KMS solved the problem.

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: MMM-FRITZ-Box-Callmonitor throws an error after enabling phonebook sync

      @kovu94

      Although I did not have a problem with syncing, (actually I was not getting any call history) my logs gave a similar error.

      TypeError: PythonShell is not a constructor
          at Class.loadDataFromAPI (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:216:17)
          at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_helper.js:69:9)
          at Socket.<anonymous> (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
          at emitTwo (events.js:126:13)
          at Socket.emit (events.js:214:7)
          at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
          at _combinedTickCallback (internal/process/next_tick.js:131:7)
          at process._tickCallback (internal/process/next_tick.js:180:9)
      

      Looking for the error on internet I found some references to the PythonShell dependency that is being used. It seems that PythonShell is now running at version 1.0.7. Where it was running @ version 0.5.0 during development of the module.

      I have reverted back to 0.5.0 and things are working like they should!

      Go to cd ~/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/node_modules.
      Remove the Python-shell directory and all its content:
      rm python-shell -r.
      Now reinstall the old version with:
      npm install python-shell@0.5.0.

      Restart your MagicMirror and it should work.

      Al least it did for me. ☺

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      @j-e-f-f ,

      I am also stuck at “Loading” actually it says “Bezig met laden…” which is Dutch for “Loading”.

      I ran the “git clone…”, switched to the “MMM-DarkSkyForecast” directory, and ran the NPM Install.
      I do get this warning: “npm WARN mmm-darkskyforecast@1.0.0 No repository field.”, but I do not know how to act upon it.

      The module is making calls to DarkSky, I see that in the Api usage.

      The logs show no error.
      This is the config:

      		{
        			module: "MMM-DarkSkyForecast",
        			header: "Weersverwachting",
        			position: "top_right",
      //  			classes: "default everyone",
        			disabled: false,
        			config: {
          				apikey: "XXXXXXXXXXXXX",
          				latitude: "51.5096192",
          				longitude: "5.6364183",      
          				iconset: "1c",
      //				maxHourliesToShow: 4,
      //				maxDailiesToShow: 4,
      //				useAnimatedIcons: true,
          				concise: false,
      //				label_timeFormat: "k[h]",
          				forecastLayout: "table"
      			}
      		},
      
      

      I am not sure were I went wrong. Can you provide help?

      Kind Regards,

      Hein-Jan

      posted in Utilities
      Hein-Jan
      Hein-Jan
    • RE: MMM-EventHorizon

      Mykle1

      Thanks for your reply and confirming that it is a time-zone issues.
      Instead of messing around with the code, I think I will simply off-set my event deadline time.
      That way I am at least robust against updates.
      Thanks for the work with the CET link.

      Hein-Jan

      posted in Fun & Games
      Hein-Jan
      Hein-Jan
    • RE: MMM-EventHorizon

      @Mykle1

      It feels like the timer is not indicating the correct time. It is set for 09:00:00. Current time is 21:40. Count down says we still have 17 hrs and 19 minutes to go. I think it should be 11 hrs and 21 minutes.
      I am on Central European time. Could that be a contributing factor? Does the module vector in time-zone influences?

      Hein-Jan

      posted in Fun & Games
      Hein-Jan
      Hein-Jan
    • RE: MMM-ModuleScheduler, MMM-Remote-Control & MMv2.4.1

      @AxLed

      Sorry it took me some time to reply. Holidays and such.

      In reply to your suggestions:
      1st idea: Haven’t tried, I went a different route, see underneath.
      2nd idea: had tried i before; commands via the URL worked.

      It decided to go another route.
      Instead of using MMM-ModuleScheduler I have opted to use Cron to do the MONITORON and MONITOROFF commands.
      As I was only having trouble at the MONITORON command I first tried this in Cron.
      To my surpise I now had a mirror in the morning but not in the evening.
      It turned out that I was sending 1 MONITOROFF with Cron (after the nightly reboot).
      Actually I am not using MONITORON and MONITOROFF in Cron but vcgencmd display_power 1 and vcgencmd display_power 0.
      After the vcgencmd display_power 0 I was able to use Cron to turn the monitor back on with vcgencmd display_power 1
      But after MONITOROFF I was not able to turn the monitor back on with vcgencmd display_power 1.
      So MONITOROFF seems to be doing something strange in combination with the FakeKMS driver.

      I think I read a similar conclusion in another post:
      https://forum.magicmirror.builders/topic/8556/monitor-not-waking-up-from-sleep

      So my work around for all this is Cron. And it is working. And I learned something about Cron.

      Hope this may also help others who are struggling.

      Hein-Jan

      posted in Troubleshooting
      Hein-Jan
      Hein-Jan