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

    Posts

    Recent Best Controversial
    • RE: MMM-Carousel w/ Slide Navigation

      hey buddy,
      take a look at the way each slide is defined! think your missing quotes from main page

      • at bottom not sure but i think mode should be keyBindingsMode
      • missing a comma after slide0
      • not sure but check that all your open { have a closer }
      • do you have MMM-Keybindings installed? (eidt - i just checked and carousel wont change pages without MMM-Keybindings.)
      {
                  module: 'MMM-Carousel',
      	    position: 'bottom_bar',
                  config: {
                      transitionInterval: 0,
      		showPageIndicators: true,
      		showPageControls: true,
                      ignoreModules: ['alert', 'MMM-GoogleAssistant'],
                      mode: 'slides',
                      slides: {
                          "Default":['clock', 'calendar_monthly', 'MMM-NetworkScanner', 'currentweather', 'weatherforecast', 'MMM-Weather'],
                          "Work":['MMM-google-route'],
                          "Office":['MMM-google-route2'],
      //		    "Traffic":['MMM-GoogleMapsTraffic'],	
                          "Home":['clock', 'calendar_monthly', 'calendar', 'currentweather', 'weatherforecast', 'MMM-MyCommute', 'MMM-NetworkScanner', 
      		    'MMM-COVID19-SPARKLINE', 'MMM-Spotify', 'MMM-GoogleFit', 'MMM-Todoist', 'newsfeed'],
                          "Info":['clock', 'calendar_monthly', 'currentweather', 'weatherforecast', 'MMM-Tools', 'MMM-NetworkScanner', 
      		    'MMM-NetworkConnection', 'deluge', 'MMM-SystemStats'],
                      	},
                      keyBindings: { 
                          enabled: true,
                          map: {
                              NextSlide: "ArrowRight", 
                              PrevSlide: "ArrowLeft", 
                              Slide0: "ArrowUp",
      			Slide5: "ArrowDown",
                         	 },
                          keyBindingsMode: "DEFAULT"
                      }
                  }
              },
      

      here is my config for MMM-Keybindings:

      /*-------------------- MMM-KeyBindings Start-----------------*/
      
      {
          module: 'MMM-KeyBindings',
          config: {
      	evdev: {enabled: false},
              enableKeyboard: true,
      	actions: [
      	{
      	  key: "ArrowRight",
      	  state: "KEY_PRESSED",
      	  instance: "SERVER",
      	  mode: "DEFAULT",
      	},
      	{
      	 key: "ArrowLeft",
      	 state: "KEY_PRESSED",
      	 instance: "SERVER",
      	 mode: "DEFAULT",
      	},
      
      	]
          }
      },
      

      have a look at my working code and try again! :)

      posted in Troubleshooting
      B
      banbutcher
    • RE: MMM-GroveGesture to control MMM-Carousel & MMM-CECControl

      Hi,

      Not sure if you got your ideas sorted or not but ive just been tru the same process and i came up with these solutions to my problems, hopefuly you or someone else can find them usefull.

              "UP": {
                notificationExec: {
                  notification: "CAROUSEL_GOTO",
                  payload: 4,
                }
              },
      
              "DOWN": {
                notificationExec: {
                  notification: "CAROUSEL_GOTO",
                  payload: 5,
                }
              },
      
              "LEFT": {
                notificationExec: {
                  notification: "CAROUSEL_PREVIOUS",
                  payload: null,
                }
              },
      
              "RIGHT": {
                notificationExec: {
                  notification: "CAROUSEL_NEXT",
                  payload: null,
                }
              },
      
      

      I use MONITORON and MONITOROFF for the onIdle and onDetected

          onIdle: {  
      //      shellExec: "vcgencmd display_power 0",
                notificationExec: {
                  notification: "REMOTE_ACTION",
                  payload: { action: "MONITOROFF", },                      
                                  }
                  },
      
          onDetected: {
      //      shellExec: "vcgencmd display_power 1",
                notificationExec: {
                  notification: "REMOTE_ACTION",
                  payload: { action: "MONITORON", },                      
                		    }
          	    },
      

      i also found that if i use MONITOROFF then the shellExec: "vcgencmd display_power 1" command will not work.

      Richie

      posted in Troubleshooting
      B
      banbutcher
    • RE: MMM-Weather

      do we use the same api key from orignal weather app or new one?

      thanks

      posted in Utilities
      B
      banbutcher
    • RE: MMM-Weather

      Love the look of this… Cant wait to try it in the morning! :)

      thanks @Bugsounet

      posted in Utilities
      B
      banbutcher
    • RE: MMM-Todoist - Your todoist tasks on your mirror

      hi,

      ive just installed mmm-todoist on my mirror and after the install i can start the mirror fine but it seems that after its installed i think its affecting either mmm-keybindings of mmm-carousel because normally i can use the arrow keys to gleft and right BUT im not able to click on the page indicator to select a page, and after installing mmm-todoist im now not able to use arrow keys to select page BUT i am now able to click on the page indicator to select pages!! Curious!!

      i get no errors starting but in the development tools section im getting these warnings and errors:

      /home/pi/MagicMirror…rity-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
        protocols.This exposes users of this app to unnecessary security risks.
        Consider loading the following resources over HTTPS or FTPS. 
       - http://0.0.0.0:8080/css/main.css
      - http://0.0.0.0:8080/fonts/roboto.css
      - http://0.0.0.0:8080/socket.io/socket.io.js
      - http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      - http://0.0.0.0:8080/js/defaults.js
      - http://0.0.0.0:8080/config/config.js
      - http://0.0.0.0:8080/vendor/vendor.js
      - http://0.0.0.0:8080/modules/default/defaultmodules.js
      - http://0.0.0.0:8080/js/logger.js
      - http://0.0.0.0:8080/translations/translations.js
      - http://0.0.0.0:8080/js/translator.js
      - http://0.0.0.0:8080/js/class.js
      - http://0.0.0.0:8080/js/module.js
      - http://0.0.0.0:8080/js/loader.js
      - http://0.0.0.0:8080/js/socketclient.js
      - http://0.0.0.0:8080/js/main.js
      - http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/translations/en.json
      - http://0.0.0.0:8080/modules/MMM-Carousel//MMM-Carousel.js
      - http://0.0.0.0:8080/modules/MMM-Carousel/MMM-Carousel.css
      - http://0.0.0.0:8080/modules/MMM-GoogleAssistant//MMM-GoogleAssistant.js
      - http://0.0.0.0:8080/modules/MMM-GoogleAssistant/components/response.js
      - http://0.0.0.0:8080/modules/MMM-GoogleAssistant/MMM-GoogleAssistant.css
        
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      /home/pi/MagicMirror…ity-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
          Policy set or a policy with "unsafe-eval" enabled. This exposes users of
          this app to unnecessary security risks.
       
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
       This warning will not show up
      once the app is packaged.
      :8080/modules/MMM-Go…ib/highcharts.js:10 Uncaught Error: Highcharts error #16: www.highcharts.com/errors/16
          at Object.a.error (:8080/modules/MMM-Go…ib/highcharts.js:10)
          at :8080/modules/MMM-CO…lib/highcharts.js:8
          at :8080/modules/MMM-CO…lib/highcharts.js:8
      TypeError: Cannot read property 'items' of undefined
          at Class.getDom (:8080/modules/MMM-To…/MMM-Todoist.js:551)
          at main.js:111
          at new Promise (<anonymous>)
          at updateDom (main.js:110)
          at main.js:52
          at Array.forEach (<anonymous>)
          at createDomObjects (main.js:21)
          at Object.modulesStarted (main.js:499)
          at startModules (loader.js:56)
          at loader.js:38
      :8080/modules/MMM-To…/MMM-Todoist.js:551 Uncaught (in promise) TypeError: Cannot read property 'items' of undefined
          at Class.getDom (:8080/modules/MMM-To…/MMM-Todoist.js:551)
          at main.js:111
          at new Promise (<anonymous>)
          at updateDom (main.js:110)
          at main.js:52
          at Array.forEach (<anonymous>)
          at createDomObjects (main.js:21)
          at Object.modulesStarted (main.js:499)
          at startModules (loader.js:56)
          at loader.js:38
      api.openweathermap.o…ef566eab7f1c9b6c4:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
      :8080/modules/defaul…therforecast.js:261 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.
      

      and my config is:

      
      /*-------------------- MMM-Todoist Route Start-----------------*/
      
          {
      		module: 'MMM-Todoist',
      		position: 'top_left',	
      		header: 'Todoski...', 
      		config: { 
      			hideWhenEmpty: true,
      			accessToken: 'xoxoxoxox',
      			maximumEntries: 60,
      			updateInterval: 10*60*1000, // Update every 10 minutes
      			fade: false,      
      			// projects and/or labels is mandatory:
      			projects: [ xxxxxxx, xxxxxxx ], 
      			//labels: [] // Tasks for any projects with these labels will be shown 		     			
      			},
          },
      
      

      also but not a biggie, i have 2 projects todo and magicmirror after adding a couple to each, the mirror displays them in staggered project order rather than in order as added - ie:

      task1 - todo
      task5 - MM
      task2 - todo
      task6 -MM
      task3 - todo
      task7 - MM
      task4 - todo

      id like:

      task1 - todo
      task2 - todo
      task3 - todo
      task4 - todo
      task5 - MM
      task6 -MM
      task7 - MM

      any help or ideas would be great!

      Many thanks,

      Richie

      posted in Productivity
      B
      banbutcher
    • MMM-GoogleFit module update...

      Hi team,

      i use this module, its great AND i know that @amcolash does not maintain it anymore but i was wondering if any of the super skilled gurus here could update it to show more information as its shown in the GoogleFit app like:

      Sleep info:
      Sleep Small.PNG

      Weight info:
      Weight-am.PNG

      Heart Rate info:
      Heart rate.PNG

      i know its not easy as i have tried and failed to find anything helpful on the google developers site. :( (ive like zero knowledge in this field - im an electrician by trade!) :D

      thanks for taking the time to look!

      Richie

      posted in Requests
      B
      banbutcher
    • 1
    • 2
    • 3
    • 4
    • 5
    • 12
    • 13
    • 3 / 13