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

    Posts

    Recent Best Controversial
    • RE: Config code not working?

      @sdetweil

      That did it… I just knew there were too many brackets, but who am I to contradict the developer of that module?
      Thanks so much for pointing me in the right direction.

      {
                    module: 'MMM-Smartthings',
                    position: 'top_left',
                    header: 'Smartthings',
                    config: {
                      personalAccessToken: 'MY TOKEN GOES IN HERE',
                      capabilities: [
                          'contactSensor',
                          'lock'
                      ],
                      title: "Doors & Locks",
                      excludedDeviceNames: [
                          'Sense-', // Contains this text
                          'Virtual Lock Test' // Or is a specific device label
                      ]
                    }
              },
      
      {
      module: 'calendar',
      

      How the instructions said to do it!

             'contactSensor',
                          'lock'
                      ],
                      title: "Doors & Locks",
                      excludedDeviceNames: [
                          'Sense-', // Contains this text
                          'Virtual Lock Test' // Or is a specific device label
                      ]
                    }
              }
          ]
      },
      {
      module: 'calendar',
      
      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • RE: Config code not working?

      @sdetweil

      This is how it looks on screen

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information on how you can configure this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out or empty, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
      	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
      	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      	// serverOnly:  true/false/"local" ,
      			     // local for armv6l processors, default
      			     //   starts serveronly and then starts chrome browser
      			     // false, default for all  NON-armv6l devices
      			     // true, force serveronly mode, because you want to.. no UI on this device
      
      
      modules: [
      {
      module: 'alert',
      config: {
      // The config property is optional.
      // See 'Configuration options' for more information. 
                        }
      },
      {
      module: 'clock',
      position: 'top_center'
      },
        {
                    module: 'MMM-Smartthings',
                    position: 'top_left',
                    header: 'Smartthings',
                    config: {
                      personalAccessToken: '*****-*****-*****-*****',
                      capabilities: [
                          'contactSensor',
                          'lock'
                      ],
                      title: "Doors & Locks",
                      excludedDeviceNames: [
                          'Sense-', // Contains this text
                          'Virtual Lock Test' // Or is a specific device label
                      ]
                    }
              }
          ]
      },
      {
      module: 'calendar',
      

      ^^^^ Above I tried with single quotes, having already tried double quotes as was indicated to

      module: "MMM-Smartthings",
                    position: "top_left",
                    header: "Smartthings",
      
      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • Config code not working?

      Hi guys… I’ve entered the code exactly as instructed, into the config.js and when I refresh MM, it wont load…

      This is for the MMM-Smartthings module… and I put in the ‘Token’ between the commas as indicated.

      I admit im no expert here, but why so many brackets at the end?
      I even tried just using the normal open and close brackets, like my other modules, but still no joy.

      Any pointers please?

      Using the module
      To use this module, add the following configuration block to the modules array in the config/config.js file:

      var config = {
          modules: [
              {
                    module: "MMM-Smartthings",
                    position: "top_left",
                    header: "Smartthings",
                    config: {
                      personalAccessToken: 'your_smarthings_api_key',
                      capabilities: [
                          'contactSensor',
                          'lock'
                      ],
                      title: "Doors & Locks",
                      excludedDeviceNames: [
                          'Sense-', // Contains this text
                          'Virtual Lock Test' // Or is a specific device label
                      ]
                    }
              }
          ]
      }
      
      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • RE: MMM-Sonos - by Snille

      @Stoffbeuteluwe said in MMM-Sonos - by Snille:

      @johnnyboy you can try this…it’s much better and easier and the artwork works perfectly

      https://github.com/armybean/MMM-Sonos

      Thanks soo much for that… got it, and it is as you say - better, and easier… so straight forward it was a breeze.

      I think this has thrown up an unseen problem though?
      I tried setting it bottom-centre… but it never showed
      I then tried - bottom-left, and it showed perfect! Any ideas?

      Have you left yours as is, or did you play about customising it CSS? As in making it smaller, or making the Album Art part larger…or doing anything else to it?

      Would like to see the CSS of yours to see what can be done.

      Thanks again, much appreciated.

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • MMM-Sonos - by Snille

      Hey up Guys

      I installed the Sonos module about 18 months ago, and for the life of me, i cannot remember the steps. ( not sure if it was the Snille one, but think he maybe took it over? )

      I’ve wiped my Pi3 and started afresh… got most of the modules working okay… but the Sonos one is proving hard work.

      Ive read the file, but cannot see where to link it up to my Sonos speakers… and not only that, it wont show in MM, despite adding it to the config…

      Can I ask any member here using this, give me a quick run down from the point it downloads into the MM folder… incase I have missed an obvious step?
      Was there an API i need to add? I cannot see a mention of this? Or how to direct the Module to my speakers?

      Also, if you can, please include what your entry into the config is… so i can compare mines.

      Thanks in advance for any assistance on this.

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • RE: Fresh Install

      Just an update as promised.

      Erased SD Card and flashed Buster onto it, fresh install of Sam’s script, and all works perfect.

      Managed to rotate screen to portrait using display_hdmi_rotate=1 within the boot/ Config.txt

      Thanks to everyone who helped me here… really appreciate your time.

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: Portrait Mode

      @evroom said in Portrait Mode:

      See this thread:
      https://forum.magicmirror.builders/topic/9730/led-monitor-vertical-setup-how?_=1591998940597

      In your case I would try

      display_hdmi_rotate=1

      Wish I tried this first… but wanted to erase SD Card and put Buster on, so tried raspberry button > preferences… which hand no option for screen orientation.

      This indeed was what rotated screen to Portrait.

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: Portrait Mode

      @BKeyport said in Portrait Mode:

      https://pimylifeup.com/raspberry-pi-rotate-screen/

      Thanks… this done the trick…

      display_hdmi_rotate=1

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: Portrait Mode

      @bhepler said in Portrait Mode:

      @johnnyboy - In the latest version of Raspbian Buster, you can rotate it through the UI. But you have to do a full OS update so as to include the latest version of the desktop.

      Okay, did a complete erase of SD Card that had Strech OS on it… flashed it with Buster, and installed Sam`s Script and installed MM… all went well!

      On the pi, open a terminal window (ctrl+t) and update everything: sudo apt update && sudo apt upgrade -y

      Did that… Reported nothing to update

      That step will take a while to complete. Depending on your model of Pi, expect 30 minutes or so. It will require a reboot at the end, so reboot your Pi.

      Once the Pi is back up, you’ll be at the desktop. If you’ve already installed Magic Mirror, you’ll want to stop it by opening a terminal window and entering pm2 stop all. Go to the Raspberry button follow Raspberry -> Preferences -> Screen Configuration. The configuration dialog will appear. Follow the menu like so: Configure -> Screens -> HDMI1 -> Orientation and make your selection to rotate the screen. It will enable the green check mark which will apply your selection.

      Not sure why, but my preferences show exactly the same options as Strech did… there is no Screen Configuration.

      What i have in Preferences is - Add/Remove Software - Appearance Settings - Mouse and keyboard - Main Menu Editor - Raspberry Pi Configuration - Recommended Software… looked into all of them and cannot see ’ Screen Configuration’

      Select whichever orientation makes sense for you. Just so you know, the descriptions describe the bottom of the monitor. So the “left” entry puts the bottom of the monitor on the left in portrait mode.

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: Fresh Install

      @sdetweil
      @BKeyport
      @evroom

      Thanks for your time on this guys…
      I saw reply’s on my other post too, so will be getting this done today.

      I remember back a couple years when I first did this, that I had to adjust the modules to fit, and adjust screen to edges/frame… so no doubt this will need done again within CSS… but I have a back up of all my folders, so will have these on hand to help with that.

      Again, thanks to all for your time… and I will report back on my progress.

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • 1
    • 2
    • 3
    • 4
    • 5
    • 49
    • 50
    • 2 / 50