MagicMirror Forum

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

    sindbad6

    @sindbad6

    1
    Reputation
    871
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sindbad6 Unfollow Follow

    Best posts made by sindbad6

    • Adding new region positions top_center1 and top_center2

      I use my magic mirror in landscape format. And I two place four modules side by side. My idea was to divide the top_center position in two.

      Therefore I added new region definitions in the custom.css:

      .region.top.center1 {
        left: 33%;
        -moz-transform: translateX(-33%);
        -o-transform: translateX(-33%);
        -webkit-transform: translateX(-33%);
        -ms-transform: translateX(-33%);
        transform: translateX(-33%);
      }
      
      .region.top.center2 {
        left: 60%;
        -moz-transform: translateX(-33%);
        -o-transform: translateX(-33%);
        -webkit-transform: translateX(-33%);
        -ms-transform: translateX(-33%);
        transform: translateX(-33%);
      }
      
      .region.top.center1,
      .region.top.center2 {
        top: 100%;
      }
      

      And use in the config.js

      module: 'MMM-Fuel',
      position: 'top_center1', 
      config: {
      

      Of course, this doesn’t work. I read something, about a region class definition. But I didn’t found, what else I have to do. Any ideas what is missing?

      posted in Development
      S
      sindbad6

    Latest posts made by sindbad6

    • RE: Adding new region positions top_center1 and top_center2

      @zeular Yeah, that’s the way I did it too.

      posted in Development
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig You find the output below. It’s allways the same. 🙂

      MMM-Departures error: null
      MMM-Departures error: null
      MMM-Departures error: null
      MMM-Departures error: null
      MMM-Departures error: null
      MMM-Departures error: null
      
      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig Ok, I understand. At the moment I have two other issues.

      The first is, that even, if I switch off the debug mode, I get dozen of messages in the terminal, where I start the mirror. I suppose the parameter is not handled properly.

      The second is, that the time values for the relative time display flickers for maybe a tenth of a second to another value.

      Can you evaluate this?

      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig Yeah, here the same, it works now. Thanks to you. Just for curiosity, what did you change? What was the problem I have no idea in javascript programming and would like to learn something about it.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig Find out, that the error only occurs if I set

      absoluteTime: false,
      

      If the parameter is set to true or the parameter is commented out the module works fine. Before the updates this setting works fine.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig I tried the debug mode. The only things I get is
      Module helper loaded: MMM-Departure and
      Connecting socket for: MMM-Departure
      nothing else to see. Sorry! 😥

      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig No, there are no messages belonging your module.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      After updating of MM to 2.1.1 and updating your module I get no data anymore. I get only the information “Lade” means load or wait. Any idea why this happens?

      Both was installed with git hub && npm install
      Anything I have to do?

      posted in Transport
      S
      sindbad6
    • RE: Solved: Station Monitor for NVV Kassel

      In between, I found the module MMM-Departures from BenGig. It fulfill all my wishes.

      posted in Requests
      S
      sindbad6
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig I know the repository from Andreas, if your module use this code, I suppose his changes will also work on your module. In between, I installed your module and it works perfect for my home town, what else could I need. It’s great.

      posted in Transport
      S
      sindbad6