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

    buzzkc

    @buzzkc

    27
    Reputation
    908
    Profile views
    79
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    buzzkc Unfollow Follow
    Module Developer Moderator

    Best posts made by buzzkc

    • RE: config error (edited config)

      You’re missing comma after position: ‘bottom_left’ on MMM-RemoteControl.

      Can run the following from your MagicMirror root folder to check your config:

      npm run config:check
      
      posted in Troubleshooting
      buzzkcB
      buzzkc
    • MMM-PirateSpeakNews

      When the news gets boring, spice it up with a little pirate speak. :-) Based off of the MMM-PNews module I found by @cowboysdude , this module translates all the titles and descriptions to pirate speak.

      alt text
      alt text
      alt text

      Download :

      [card:buzzkc/MMM-PirateSpeakNews]

      posted in Entertainment
      buzzkcB
      buzzkc
    • RE: MM says my config is wrong.

      Add a comma after the appid line.

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: SmartThings

      @cowboysdude
      When working in the IDE, remember that there are locations, usually a TestHub and Home, I have an additional smartthings in my shop, so you need to select the correct location before creating new device handlers and smart apps.

      I’d start with deviceHandlers. I typically find the code on github for the device I’m looking to implement a handler for, then on the API IDE I’ll create the new handler from code (see: https://www.thesmartesthouse.com/blogs/the-smartest-blog/how-to-install-a-custom-device-handler-in-smartthings). Once you’ve published the handler for yourself, you can either setup a new device or if you want to modify a device (such as changing a door sensor, that has wire contacts, to act as a smoke alarm) you update it’s Type field to be the new handler. In your mobile app. you should see it change from a door sensor to a smoke sensor.

      There are handlers that work in conjunction with smart apps also. Typically I copy the code for the new smart app the same way, and publish them to work for myself.

      So as far as writing my first MM module, I was looking at this node library (https://github.com/hijha/smartthings-node) to act as the client for getting device data from ST. It requires a key to be generated. That key you will generate from the token generation page here: https://account.smartthings.com/tokens

      I was hoping to get this created this weekend and play with it, but life got in the way, so hopefully I’ll get something working this week.

      posted in General Discussion
      buzzkcB
      buzzkc
    • RE: CSS Order of execution

      Yup, learning that. I had used someone else’s example and determined that wasn’t the correct way. I figured it’s worth admitting one’s mistakes as well as accomplishments. ;-)

      posted in Development
      buzzkcB
      buzzkc
    • Marvel Comics

      I saw that Marvel has an api and I’m thinking about doing a module to display random comic character information and pics for my grandson.

      Just bookmarking for when I have time.

      https://www.npmjs.com/package/marvel

      posted in Requests
      buzzkcB
      buzzkc
    • RE: screen rotation - display cropped

      Do you have an entry in your config for dtoverlay?

      #Enable the Open GL driver to decrease Electron’s CPU usage
      dtoverlay=vc4-fkms-v3d

      if so, look in the following file for a rotate entry. It and the rotate added to config.txt may be conflicting.
      ~/.config/lxsession/LXDE-pi/autostart

      #to rotate display, to rotate left, use left.
      @xrandr --output HDMI-1 --rotate right

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: SmartThings

      I’m finally starting to make some progress on this. I’ve been doing development in a docker instance and found editing files while the container is running corrupts files. :-)

      So I have it connecting and bringing back device information at this point. I still need to parse that info. I’m working through the steps get all the info in the correct order to model it (get device ids>>get device components>>get device capabilities>>statuses etc.)

      I do have two hubs and found that it brings back devices for all hubs, so I’ll need to get the hub info too.

      posted in General Discussion
      buzzkcB
      buzzkc
    • CSS Order of execution

      I was just finishing up a new module and noticed other modules I had loaded weren’t looking quite right. Turns out my new module had a .title class that was adjusting the font size. Upon inspection in dev console the .title for other modules that had loaded prior to my new module were using my new module’s .title class.

      Just thought it was worth mentioning that the custom css for modules can affect other modules in the event someone else is seeing css issues if your using common class names.

      posted in Development
      buzzkcB
      buzzkc
    • MMM-TouchSwipe - Touch screen navigator to work with MMM-Pages

      Description:

      This is a module that displays a section to use for capturing touch events to navigate forward/backwards through pages when using MMM-Pages. A home icon navigates back to the first page. I’m using MagicMirror on a small 3.5" touch screen that displays one module at a time and wanted a way to easily change pages without additional sensors.

      Screenshots:

      alt text

      Download:

      [card:buzzkc/MMM-TouchSwipe]


      Version 1.0.0

      • initial release
      posted in System
      buzzkcB
      buzzkc

    Latest posts made by buzzkc

    • RE: First Mirror

      Really nice looking mirror! Love the Home automation map.

      posted in Show your Mirror
      buzzkcB
      buzzkc
    • RE: rpi3 freezes every few days .. need help

      Run pm2 list to get your instance name

      pm2 list
      

      Run pm2 logs instanceNameHere to get your error logs.

      pm2 logs mm
      

      Let’s see if there are any out of memory errors or a module throwing an error.

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: dead SD-card every aprox. 6 months

      Had that happen just last week, did a backup of the card using win32diskimager after it was restored.

      I’m looking at setting up a read-only os to play around with and configure myself… https://medium.com/swlh/make-your-raspberry-pi-file-system-read-only-raspbian-buster-c558694de79

      posted in Hardware
      buzzkcB
      buzzkc
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @osnapus

      Try using the GL driver to rotate…
      https://github.com/michmich/magicmirror/wiki/configuring-the-raspberry-pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage

      I’ll post my config.txt and autostart settings tonight, don’t have access to them right now.

      posted in Utilities
      buzzkcB
      buzzkc
    • RE: MMM-MyCommute not showing up.

      I believe it’s the Maps Javascript API>>Directions API

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: MMM-MyCommute not showing up.

      @Doogain
      Your config entry should look more like the one in the Readme.md page of the module (https://github.com/jclarke0000/MMM-MyCommute)

      Also, be sure you followed all of the installation notes in the readme.

      {
        module: 'MMM-MyCommute',
        position: 'top_left',
        config: {
          apikey: 'API_KEY_FROM_GOOGLE',
          origin: '65 Front St W, Toronto, ON M5J 1E6',
          startTime: '00:00',
          endTime: '23:59',
          hideDays: [0,6],
          destinations: [
            {
              destination: '14 Duncan St Toronto, ON M5H 3G8',
              label: 'Air Canada Centre',
              mode: 'walking',
              color: '#82E5AA'
            },
            {
              destination: '317 Dundas St W, Toronto, ON M5T 1G4',
              label: 'Art Gallery of Ontario',
              mode: 'transit'
            },
            {
              destination: '55 Mill St, Toronto, ON M5A 3C4',
              label: 'Distillery District',
              mode: 'bicycling'
            },
            {
              destination: '6301 Silver Dart Dr, Mississauga, ON L5P 1B2',
              label: 'Pearson Airport',
              avoid: 'tolls'
            }
          ]
        }
      }
      
      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: MMM-MyCommute not showing up.

      @Doogain Did you add the module into the MagicMirror/config/config.js?

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: MM says my config is wrong.

      Add a comma after the appid line.

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: 3.5inch Display

      I’m working on that same display. I’m mostly changing all the default module regions to center_middle. I’m running MMM-pages to show only one module at a time in that area. I have a navigation module I wrote for that screen to navigate prev/next and a home button to go to the default (first loaded module in MMM-Page modules config) module. The navigation module is on the bottom_bar region.

      Touch Swipe module: https://github.com/buzzkc/MMM-TouchSwipe

      My build for the 3.5" screen:
      https://forum.magicmirror.builders/topic/11395/bedside-touchscreen/2

      posted in Hardware
      buzzkcB
      buzzkc
    • RE: MMM-soccer wont't show up

      @ambujsethi Yes, you need to move it up under the modules folder.

      posted in Troubleshooting
      buzzkcB
      buzzkc