MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. buzzkc
    3. Best
    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

    Posts

    Recent Best Controversial
    • 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
    • RE: hi, i need your help... tell me, how i do a new modules please

      It’s missing a comma after the postion: ‘fullscreen_above’

      https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: SmartThings

      Still working on getting things to refresh, but here is a teaser…
      alt text

      Let me know if the pic isn’t showing or disappears, using google photos

      posted in General Discussion
      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: Your help is needed! Looking for new moderators!

      Hi, I’m Darren. I’m pretty new to MagicMirror, but am spending a lot of time on the forum trying to learn more about the project and learn to develop modules. I just posted up my first module (MMM-Smartthings). I also do administration for a woodworking forum (familywoodworking.org) so can offer some experience as to what we’ve done to mitigate spam. I’m happy to help out if you need me.

      posted in Forum
      buzzkcB
      buzzkc
    • RE: hi, i need your help... tell me, how i do a new modules please

      Here is additional information on checking your config file that may help…

      https://forum.magicmirror.builders/topic/5399/how-to-check-your-config-for-errors-for-absolute-beginners

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: SmartThings

      I’ve fixed the duplication, added an excluded device name list, fixed some timing issues, and cleaned it up.

      I’m not entirely happy with the way I’m getting all the data, but I haven’t quite figured out a good way to wait for all the promises returned from the smartthings-node library. I have to loop the capabilities, make a request to get devices by capability, wait for that promise, then loop devices to get the statuses for each, once those promises return I need to pair up the status with its device.

      So the ugly of it is that I’m just pushing all the data via sockets for each status request into an array that gets updated, then it gets fed to the getDom(). Not pretty, but it’s working.

      posted in General Discussion
      buzzkcB
      buzzkc
    • Module shadowbox for slideshow background

      This is the css I use in my custom.css file to get a semi transparent shadowbox with rounded corners on my modules to make them easier to read over the slideshow background.

       .normal,
       .dimmed,
       header,
       body {
              color: #fff;
       }
      
       .module {
              background: rgba(0, 0, 0, 0.4);
              border-radius:15px;
              padding: 10px;
       }
      

      alt text

      posted in Custom CSS
      buzzkcB
      buzzkc
    • New non-mirror

      We recently installed a new front door which has all frosted glass. My wife was wanting a way to see who is at the door before answering it. After doing some googling I happened to come across this site. After a couple of weeks playing with the software, working out a few bugs, and testing camera setups, I’ve come up with something we’re both happy with.

      alt text

      alt text

      For my project I’m using the following modules
      clock
      calendar_monthly
      holidays
      compliments
      weather
      MMM-RTSPstream
      MMM-CalendarWeek
      MMM-BackgroundSlideshow
      MMM-GoogleMapsTraffic
      MMM-GroveGestures
      MMM-MyCommute
      MMM-pages
      MMM-Pollen
      MMM-Remote-Control
      MMM-Trello

      The case I designed to match an existing table in our hallway. The drawer face is false and covers the pi and electrical plug, which I’m in the process of wiring, but no wiring will show. The drawer panel also has a small hole for the gesture sensor, which I’m using to navigate pages mostly.

      All pics here: https://photos.app.goo.gl/gRywjACtt9kG8Gv39

      I’ve got a Smartthings hub and several motion sensors throughout the house. I’m using the sensors to toggle the monitor on/off as we enter/leave the room.

      I’ve added some shadow boxes to all the modules to make them easier to see against the background images.

      posted in Show your Mirror
      buzzkcB
      buzzkc
    • RE: SmartThings

      Ok, I think I’ve gotten things to where it’s ready to share, I posted it up on the modules forum…Thanks again for all the feedback.

      https://forum.magicmirror.builders/topic/11270/mmm-smartthings

      posted in General Discussion
      buzzkcB
      buzzkc
    • MMM-Smartthings

      This is a module to display status information for devices connected to a Samsung Smartthings hub account.

      https://github.com/buzzkc/MMM-Smartthings

      MMM-Smartthings

      Currently it’s limited to the following device capabilities: “switch”, “contactSensor”, “lock”, “temperatureMeasurement”, “relativeHumidityMeasurement”, & “motionSensor”

      The frequency you update will depend on the number of devices you have. The api is limited to 250 requests per minute per app or device.

      If you have issues or want to request additional features, please submit a bug report on the github repository.

      [card:buzzkc/MMM-Smartthings]

      posted in Utilities
      buzzkcB
      buzzkc
    • 1
    • 2
    • 1 / 2