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

    Posts

    Recent Best Controversial
    • Server Only Mode Display Rotation

      Hi all,

      I’ve been running MM on a laptop (Debian desktop) directly attached to a monitor (via HDMI) for years and have it in portrait mode (e.g. rotate display). I set rotate display in the Debian settings.

      I am trying to migrate over to using a MM server and using a device to just display (Google TV dongle) the ip:8080 in full screen but still in portrait mode. I’ve installed Debian server and then installed MM using Sdetweil’s scripts. Everything is working except for rotating the display.

      How do I get MM to display in portrait mode when using the ‘server only’ ( npm run server) option?

      posted in Troubleshooting
      K
      krouton
    • RE: MMM-GooglePhotos

      Hi Sean,

      I keep getting the “[GPHOTO] Scan finished : 0/There is no scanned photo currently.” error however there are 3000 photos in the folder. Sometimes it will successfully scan and display the photos fine but more and more recently it fails.

      {
      		module: "MMM-GooglePhotos",
      		position: "fullscreen_below",
      		disabled: false,
      	config: {
      		albumId: "xxxxx", // your album id from result of `auth_and_test.js`
      		refreshInterval: 1000*60*5,  
      		scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
      			//note(2018-07-29). It is some weird. API documents said temporal image url would live for 1 hour, but it might be broken shorter. So, per 10 min scanning could prevent dead url.
      
      		sort: "random", //'time', 'reverse', 'random'
      		showWidth: "1380px", // how large the photo will be shown as. (e.g;'100%' for fullscreen)
      		showHeight: "1060px",
      		originalWidthPx: 1380, // original size of loaded image. (related with image quality)
      		originalHeightPx: 1060, // Bigger size gives you better quality, but can give you network burden.
      		mode: "contain", // "cover" or "contain" (https://www.w3schools.com/cssref/css3_pr_background-size.asp)
        }
      },
      

      Connecting socket for: MMM-GooglePhotos
      MMM-GooglePhotos started
      Connecting socket for: MMM-MyCalendar
      Starting node helper for: MMM-MyCalendar
      Sockets connected & modules started …
      Ready to go! Please point your browser to: http://0.0.0.0:8080
      MMM-ModuleScheduler is removing all scheduled jobs
      MMM-ModuleScheduler received CREATE_GLOBAL_SCHEDULE
      MMM-ModuleScheduler is creating a global schedule for all modules using “30 6 * * *” and “00 18 * * *” with dim level 40
      MMM-GooglePhotos initialized after loading.
      [RCREPO] Repository scanning…
      [GPHOTO] Scan finished : 0
      There is no scanned photo currently.
      [RCREPO] modules.json is updated.
      [RCREPO] Repository scanning…
      [GPHOTO] Scan finished : 0
      There is no scanned photo currently.
      [RCREPO] modules.json is updated.
      [GPHOTO] Scan finished : 0
      There is no scanned photo currently.
      [RCREPO] modules.json is updated.

      0_1544843092175_Capture.PNG
      Inspector shows it loads the module but not an actual photo.

      Any help would be greatly appreciated.

      posted in Entertainment
      K
      krouton
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      I posted this on the GitHub page;

      When I use the default Long and Lat, the module loads. London works as does Vancouver and New York however when trying Hawaii, Sydney, Paris, Cape Town, Moscow, Melbourne, and Wellington, the module will not load. Using https://www.latlong.net/ for Long and Lat.

      When I use the same Long and Lat in this module that works with the Forecast.io module, the module won’t load. At first, I thought it was southern hemisphere’s (given the Lat is a ‘negative’ number) but that doesn’t appear to be the cause.

      posted in Utilities
      K
      krouton
    • RE: Auto populate events from MyCalendar to MyCommute?

      So it seems that this already exists with this module. Forum thread here.

      However I can’t get it to work. Have configured everything correctly. Have MMM-Notifications showing my calendar is broadcasting events and tested with a couple different ‘trip keys’.

      Anyone else get it working?

      Edit - TrafficCal also seems to break the calendar modules (both default calendar and MMM-MyCalendar).

      posted in Troubleshooting
      K
      krouton
    • RE: Auto populate events from MyCalendar to MyCommute?

      @groops

      A ‘Google Free API’?

      You mean a free API from Google?

      Then, yes.

      posted in Troubleshooting
      K
      krouton
    • Auto populate events from MyCalendar to MyCommute?

      Hi,

      I’m playing around with a dashboard style setup. I’m using MyCalendar and MyCommute (both great modules - thanks J.E.F.F.) and trying to work out how to use MyCalendar’s event broadcast feature to send that information to MyCommute so it can automattically add new ‘commute events’ so I don’t have to go into config.js for one-off events.

      0_1541116725914_Mirror.PNG

      Is this possible to do?

      Thanks in advance.

      Mark.

      posted in Troubleshooting
      K
      krouton
    • RE: MMM-MyCommute not updating traffic times

      This is my code and it updates with traffic as expected.

      {
        module: 'MMM-MyCommute', 
        position: 'top_left',
        header: 'Commute',
        classes: 'default everyone',
        config: {
          apikey: 'xxxxxxx',
          origin: 'xxxxxx',
          moderateTimeThreshold: '1.15',
          poorTimeThreshold: '1.3',
          showSummary: true,
          destinations: [
            {
              destination: 'xxxxxxx',
              label: 'Work',
              mode: 'driving',
      	alternatives: true,
      	startTime: '05:00',
              endTime: '09:00',
              hideDays: [0,2,5,6],
              color: '#9b59b6',
            },
      	   {
              destination: 'xxxxxx',
              label: 'xxxxxx',
              mode: 'driving',
      	alternatives: true,
      	 startTime: '05:00',
               endTime: '10:00',
               hideDays: [0,1,2,3,4,6],
               color: '#33B5FF',
            }, 
      	  {
              destination: 'xxxxxx',
              label: 'xxxxxxx',
              mode: 'driving',
      	alternatives: true,
      	startTime: '05:00',
              endTime: '10:00',
              hideDays: [0,1,2,3,4,5],
              color: '#9b59b6',
            },
          ]
        }
      },
      
      posted in Troubleshooting
      K
      krouton
    • 1 / 1