MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. edward-shen
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    E
    • Profile
    • Following 0
    • Followers 2
    • Topics 2
    • Posts 11
    • Best 2
    • Controversial 0
    • Groups 1

    edward-shen

    @edward-shen

    Module Developer

    2
    Reputation
    983
    Profile views
    11
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    edward-shen Unfollow Follow
    Module Developer

    Best posts made by edward-shen

    • MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      Ever want your mirror to have pages of modules, similarly to how the screens on your phone work?

      I would like to present to you all MMM-pages!

      Here’s a youtube example!

      You can set what apps modules you want on each page and what modules you want always on. In the example, I have the clock and weather modules always shown (as well as the page indicator), while switching out the rest.

      I originally wanted to add animations (slide left/right) to the modules, but I’m actually very satisfied with how it looks right now. Leave a comment/issue on github if you’d really want those.

      Please note that this does not provide manual page changing functionality! You need to have a module that sends a specific notification to change the page!

      It’s difficult to implement some form of input recognition when there’s dozens of input methods encapsulated in their own modules. That would require me to basically have some variant of that module in this module, which would bloat it to no end. Asking your module input authors to send a request on a specific action instead is keeps everything relatively bloat free.

      Download link:

      While you’re at it, you may want something to indicate which page you’re on, so here’s something to help with that!

      MMM-page-indicator!

      example

      No need to worry about what page you’re on! With MMM-pages-indicator, you can see what page you’re on! You don’t even have to worry about configuring it, MMM-pages automatically configures it for you! Just add it to your modules!

      Download:

      Quick FAQ:
      Why separate the two? Why not make it one thing?

      It would make sense to, wouldn’t it? But I wanted this to be modular so that if you don’t like my pages module, you can still use the pages-indicator module for something else. I hated it when I’d love to take a single feature but couldn’t because it was so tightly integrated with the entire thing, so I’m trying to avoid that.

      Can I make a pull request to add features?

      Please do.

      It doesn’t work!

      Please be more specific.

      How come it changes by itself in the video?

      I actually have a separate module set up to read input from a skywriter, but it’s not ready yet for public release.

      posted in System
      E
      edward-shen
    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      @jchenaud

      Bonjour, je parle un peu français, mais on peut voir que ce n’est pas bon.

      Le code suivant réagit à une demande de modification du numéro de page.

      notificationReceived: function(notification, payload) {
        if (notification === 'PAGE_CHANGED') {
            if (typeof payload === 'number') {
              // le payload est le numéro de page.
            }
        }
      }
      

      Je recommande de stocker ce nombre et de le comparer lorsque vous avez besoin de faire votre action.

      S’il vous plaît laissez-moi savoir si c’est suffisant. La base de code est actuellement gelée parse que je n’ai pas de miroir pour la tester.

      posted in System
      E
      edward-shen

    Latest posts made by edward-shen

    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      @Egnos Please read the FAQ at the bottom of the GitHub page: https://github.com/edward-shen/MMM-page-indicator

      posted in System
      E
      edward-shen
    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      NOTICE

      For all future issues, please create an issue on Github! I do not monitor the Magic Mirror forums!

      posted in System
      E
      edward-shen
    • RE: MMM-MBTA - Information about a single MBTA (Boston, Massachusetts) station

      NOTICE

      For all future issues, please create an issue on Github! I do not monitor the Magic Mirror forums!

      posted in Transport
      E
      edward-shen
    • RE: MMM-MBTA - Information about a single MBTA (Boston, Massachusetts) station

      Hey @wimosaur, sorry for the late response.

      As far as I can remember, I never really implemented support for specifying which direction to use. Due to the lack of support/demand I haven’t really been updating/working on this module.

      If you need the other direction, I’ve made a quick update to MMM-MBTA that lets you specify which direction for that station only. Specify "Washington St @ Massachusetts Ave 1" for one direction "Washington St @ Massachusetts Ave 2" for the other direction.

      Unfortunately, MMM-pages seems to be both more popular and has a large bug in it that’s driving me insane, so I don’t think I can add new functionality to this module in the future.

      That being said, I’m always happy for people to make PRs, and I’ll be happy to merge code in!

      posted in Transport
      E
      edward-shen
    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      @jchenaud
      Je suis désolé pour le délai, mais j’ai ajouté une nouvelle réponse de notification pour vous. Envoyez simplement un QUERY_PAGE_NUMBER et MMM-pages va envoyer un PAGE_NUMBER_IS notification. Ajoutez cela à switch cas dans la notificationRecieved fonction, et vous devriez être tous ensemble!

      posted in System
      E
      edward-shen
    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      @jchenaud

      Bonjour, je parle un peu français, mais on peut voir que ce n’est pas bon.

      Le code suivant réagit à une demande de modification du numéro de page.

      notificationReceived: function(notification, payload) {
        if (notification === 'PAGE_CHANGED') {
            if (typeof payload === 'number') {
              // le payload est le numéro de page.
            }
        }
      }
      

      Je recommande de stocker ce nombre et de le comparer lorsque vous avez besoin de faire votre action.

      S’il vous plaît laissez-moi savoir si c’est suffisant. La base de code est actuellement gelée parse que je n’ai pas de miroir pour la tester.

      posted in System
      E
      edward-shen
    • RE: Help QuickBooks module for MM

      I don’t think this is a good idea. A MagicMirror is by definition an IoT device, and IoT devices are notoriously known for their insecure practices. In fact, the default NOOBS install for the RPi from a security standpoint is a big no-no.

      Unless you have hardened your Pi to have sufficient security practices AND made sure that your network is secure, I would highly recommend against having an IoT device have access to your personal/business financial data.

      Plus, there are a few QB platforms e.g. online and desktop. Setting up access to a desktop QB file would likely require a computer to act as a QB server 24/7. And Quickbooks isn’t free, and module developers won’t be buying a subscription just to develop on it.

      posted in Development
      E
      edward-shen
    • RE: MMM-MBTA - Information about a single MBTA (Boston, Massachusetts) station

      Yup, since APIv2 will no longer function after March or April, the repo has been updated to use the new APIv3. Unfortunately, you’ll need a new key, but it doesn’t require a wait to get a new key.

      We’ve also changed a little bit on the config side. If your MMM-MBTA doesn’t work after using APIv3, check if to see if the station name has changed. There’s a list on the repo. We also have new config options, so check that out as well!

      If that still doesnt fix it, make an issue on GitHub or privately email me, I’ll be happy to help.

      posted in Transport
      E
      edward-shen
    • RE: MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      Hey! that looks pretty slick! I especially like your indicator design. I actually considered forking MMM-carousel too, but after taking a look at the code, it seemed like it would be easier to just make my own. Yours definitely seems more fleshed out, especially with the advanced module slides settings.

      I think our projects have different audiences: mine lets people quickly get going, while yours definitely provides more features for those who really want to customize their mirror. If I had known about yours, I definitely would have just used yours instead! 😃

      posted in System
      E
      edward-shen
    • MMM-pages & MMM-pages-indicator - Lightweight module pages on your mirror!

      Ever want your mirror to have pages of modules, similarly to how the screens on your phone work?

      I would like to present to you all MMM-pages!

      Here’s a youtube example!

      You can set what apps modules you want on each page and what modules you want always on. In the example, I have the clock and weather modules always shown (as well as the page indicator), while switching out the rest.

      I originally wanted to add animations (slide left/right) to the modules, but I’m actually very satisfied with how it looks right now. Leave a comment/issue on github if you’d really want those.

      Please note that this does not provide manual page changing functionality! You need to have a module that sends a specific notification to change the page!

      It’s difficult to implement some form of input recognition when there’s dozens of input methods encapsulated in their own modules. That would require me to basically have some variant of that module in this module, which would bloat it to no end. Asking your module input authors to send a request on a specific action instead is keeps everything relatively bloat free.

      Download link:

      While you’re at it, you may want something to indicate which page you’re on, so here’s something to help with that!

      MMM-page-indicator!

      example

      No need to worry about what page you’re on! With MMM-pages-indicator, you can see what page you’re on! You don’t even have to worry about configuring it, MMM-pages automatically configures it for you! Just add it to your modules!

      Download:

      Quick FAQ:
      Why separate the two? Why not make it one thing?

      It would make sense to, wouldn’t it? But I wanted this to be modular so that if you don’t like my pages module, you can still use the pages-indicator module for something else. I hated it when I’d love to take a single feature but couldn’t because it was so tightly integrated with the entire thing, so I’m trying to avoid that.

      Can I make a pull request to add features?

      Please do.

      It doesn’t work!

      Please be more specific.

      How come it changes by itself in the video?

      I actually have a separate module set up to read input from a skywriter, but it’s not ready yet for public release.

      posted in System
      E
      edward-shen