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: MMM-Sonos - by Snille

      @Stoffbeuteluwe said in MMM-Sonos - by Snille:

      @johnnyboy Hi, do you know how to set the moving text (Titel / Artist) in a static text?
      my fan of my Mac mini go’s up when something is moving on my screen

      Sorry, no.
      Since you said it was hard coded, I never bothered to play about with it.
      but I turned on Mirror the other day and it is not showing anymore, so will need to find time to perhaps download it again.

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • Black Background Only - No Modules?

      Hi there Guys,
      Couple of questions ifI can?

      How do Idisable the interface, in order to play a video file full / partial screen, but still retaining the black background within MM… if this is how to do ithe following-----

      bhelper posted in Show your Mirror, where he uses a Halloween MP4 on a loop, and he disabled the interface firstly…I’m assuming he disabled all the Modules and retained the black background?

      also, would any Player work in this scenario, or will I need a specific player?

      I have not done this sorta thing on MM before, so all a bit new to the setup.

      Thanks

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • RE: Happy Halloween! I kinda took over the office mirror for a month

      @bhepler
      Really loving that … A lot!

      Couple questions…

      How did you disable the interface to be able to show this on it’s own? Is it still playing on MM, but with everything else stopped?

      Video File?.. where did you store it and what player did you use? What is the name of the first one?

      Did the player give the loop option?

      Is this very CPU intensive, seeing that you disabled the MM interface?
      Thanks 😉

      posted in Show your Mirror
      johnnyboyJ
      johnnyboy
    • RE: Strange Zoom on screen

      @sdetweil
      Thanks… but I managed to zoom it back down to a near enough size that it was the other week.
      But unsure why this has happened on it’s own, with nobody touching anything.

      And unsure as to why, even after zooming back out, that the font looks weirdly, slightly blurred… not as crisp clean as it once was.

      On the Pi itself, there is a setting in Desktop prefs for Large - Medium - Small screens… to revert to Default… so tried that, for small screen, and no change in blurryness… the other 2 settings obviously enlarge things…

      Soooooop, in other words - “revert to default” (what it looked like last week) does not revert it back to what it was… which is what I want… no blurry font… mods perfectly placed as I had them… and looking crisp and sharp as it did.

      Gremlins at work?

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • Strange Zoom on screen

      Mirror not been on for over a week, just turned it on and everything was in zoom mode… MM screen, and the actual Pi desktop when I minimised MM to see if it was just MM on it’s own… so thinking this is a Pi setting??? But cannot see anything that can fix this.

      Went into File, on top bar ( That bar was Huge, as was mouse pointer ) and used Zoom Out… until it looked like it was over a week ago… but it just don’t look right!
      The font is kinda blurry… not a lot but you can def see ghosting as if it was blurry… not as clear as it should be. This is both MM screen and Desktop.

      Anyone help me out with what could have went wrong here, and how to get it back looking proper?

      I have switched it off, then on… still not looking right… reloaded… still not looking right.

      No one was here to touch anything, monitor has been off but Pi still running, so i’m stumped as to why this has even happened, so I could at least have an idea of where to look for a fix.

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

      @Stoffbeuteluwe said in MMM-Sonos - by Snille:

      @johnnyboy I have bottom left and it worked well …
      I think this is hard coded…i don’t know how to do some changes sorry

      Thanks
      Yeah I changed to bottom left and it showed… it must have a problem with bottom centre?

      I then had to move it to bottom right as another module above got in the way and covered part of it, so it works there too.

      But hey, it works, and works great… even without any bells and whistles.

      Thanks for your time letting me know about this one. …

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • RE: CSS Font size and Color

      @sdetweil

      Ahhhh… right… I will defo be giving that a look.
      As you say, saves me playing around trying things in CSS and reloading mirror each time before I see if CSS worked or not… very time consuming!

      Thanks again Sam… appreciate all your help.

      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: CSS Font size and Color

      @johnnyboy

      Okay, playing around trying various combo’s, I managed this… Top one is the Header, and bottom one is the Title… Not sure why title is named as such, but?

      Header is what I named as ‘‘Smart Home’’
      Title is what it is named by default underneath for doors and locks.

      Now, how can I name the actual items underneath? the list it compiles of my smartthings items here that was imported with the Token from Smartthings?

        }
        .MMM-Smartthings header {
        font-size: 20px;
        color: blue;
      border-bottom: 2px solid blue;
      }
      .MMM-Smartthings {
      font-size: 20px;
      color: solid blue;
      }
      
      
      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • CSS Font size and Color

      Hi Guys

      I added MMM-Smartthings module to top-left… and because I have quite a lot of Smartthings items, it has produced a long list that goes all the way down the left side of my screen - covering parts of Compliments - Lower 3rd… and NewsFeed - bottom bar.

      The font size is slightly larger than what I have on my callender, so wondered if reducing font size will help pull up the list? Or would this be padding or frame I need to reduce?

      I also wanted to color the text on the Header, and make the Header, and bar underneath it, stand out more by size, and maybe, depending on how it looks, to have my Smartthings list colored too?

      Below is what I think needs doing, but no doubt not written correctly? As Last time I did CSS on MM was a couple years back, so I’m a bit rusty, and I just tried this and it did not alter anything… So, im missing something?

      Can someone help out with which bits need added to these? Or If I need to do something else to reduce length of list.

      .MMM-Smartthings-Module header {
        font-size: 20px;
        color: blue;
      border-bottom: blue
      }
      
      .MMM-Smartthings {
      font-size: 15px;
      color: blue
      }
      
      posted in General Discussion
      johnnyboyJ
      johnnyboy
    • RE: Config code not working?

      @sdetweil
      For sure I was’nt knocking him… I just followed what it said - to enter that block into Config…
      I’m very much a novice in this, so I just enter what I see, or be told to by members, who know far more than I… but I did say at opening post that I was unsure if there should be so many brackets at the end…

      But yeah, it works brilliantly… although I have quite a lot of Smartthings items… so the list goes all down the entire side of the screen, covering Compliments - Lower 3rd, and news feed - bottom bar. … so will need to make another post to find out how to reduce the font size using CSS.

      Thanks again Sam… you have helped restore my interest in MM again, with your help on several of my posts.

      posted in Troubleshooting
      johnnyboyJ
      johnnyboy
    • 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 / 1