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

      I’m new to MM and currently working on a SmartThings module, but this is one of my next attempts. I’ve used another project that uses the Sense-Energy-Node (https://www.npmjs.com/package/sense-energy-node) library to retrieve data from Sense.

      I’m not sure it can get energy usage, so also considering this library, which does show some energy reports: https://github.com/blandman/unofficial-sense

      posted in Requests
      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: SmartThings

      Yeah, The framework of it can get confusing. From what I’ve gathered you make requests for devices based on their capabilities (i.e. presenceSensor, lock, switch, temperature sensor, etc). Or if you have the device, you can then list what its capable of and get variables of those properties.

      posted in General Discussion
      buzzkcB
      buzzkc
    • Using Smartthings motion sensor to turn on/off monitor

      I recently setup my first MM and wanted to use the existing motion sensors in my house to turn on/off the screen. I was able to do this using my Smartthings hub using a device handler and app, and the MMM-Remote-Control module. I can add more detail to this if anyone is interested, just let me know, but here is the 10,000 foot view

      First I setup the MMM-Remote-Control module, which has api urls to call for turning the monitor on and off.

      The device handler is the URI Switch (https://community.smartthings.com/t/beta-release-uri-switch-device-handler-for-controlling-items-via-http-calls/37842), which you provide the urls to use for each function (on/off). Using the Smarthings Groovy IDE (https://graph.api.smartthings.com/) install the device handler. Next create a new virtual switch and choose the URI Switch device handler for it. On the mobile app, find your new device and update its settings with the ip address, port, and on/off urls for your MM.

      Lastly I used the SmartThings Smart Lighting app (part of the classic Smartthings mobile app) to setup a new lighting routine. I chose the motion sensor for the room my MM is hung in, then chose the virtual switch you created above. You can then set the options to turn off the virtual switch after x number of minutes of no motion.

      I actually have 3 motions sensors set to turn on the monitor so that it is displaying by the time we walk to that room from the adjoining rooms.

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: SmartThings

      I’m currently setting up my MM and was looking for a smartthings module, looks like there is MQTT module, but I’d like to hit the api directly. I saw there is a nodejs sdk (https://smartthings.developer.samsung.com/docs/tools/sdks.html). I’m new to node, so not sure I’ll be of much help, but what are you looking to do.

      posted in General Discussion
      buzzkcB
      buzzkc
    • RE: MMM-RTSPstream not displaying video

      I found the issue was a conflict between MMM-RTSPstream and the Google Traffic maps module as reported here: https://github.com/shbatm/MMM-RTSPStream/issues/33

      I haven’t had a chance to try the fix, have just disabled the maps module for now. However, the video is now displaying. Now if I can just get those 12 hours back used I OCD’ing over this. :-)

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: Magic Mirror wont fill whole Screen!

      I assume you’re talking about the black border around the display, it’s usually caused by the overscan setting being on…

      https://www.techcoil.com/blog/how-to-make-your-raspberry-pi-fill-up-your-entire-monitor-screen-by-disabling-overscan-in-raspbian-stretch/

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • RE: 24 inch monitor?

      I’m running on a $80 black friday deal Acer monitor. IPS would give you a wider view of the monitor, but where mine is located I’m looking at it pretty straight on. I’m building a full frame to go around mine, so just leaving the plastic housing on it, but I know a lot of folks like to remove the plastic to slim it down.

      I spent a little more on a new case for the pi as it was running pretty warm, I went with a full heat sink aluminum case (https://smile.amazon.com/gp/product/B07D3S1WBP) which has helped a lot.

      posted in Hardware
      buzzkcB
      buzzkc
    • MMM-RTSPstream not displaying video

      I’ve followed instructions from the readme. I get a rectangle for the video on MM ,but never get the rtsp stream to load.

      I’ve ran omxplayer from the command line and the stream displays fine in its window.

      Is there a log somewhere that may give me an idea of what may be the issue?

      posted in Troubleshooting
      buzzkcB
      buzzkc
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 8 / 8