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

    Posts

    Recent Best Controversial
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @BenGig Great thing, you did. Was also trying to program a module based on the code the Andreas Schildbach provide. But to say the truth, this job is much more, as I can do. So I’m very happy to find your anouncement.

      I haven’t installed the module, but still have a question. I have no idea, how you implement the module, but Andreas often provide updates in his “Oeffi” to support changes in the APIs of the integrated data provider. So my question is, do your module take automatically advantage of his changes or do you have to reimplement it in your code?

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

      As other people here in the forum I would like to use a module which shows the departure time for the station next to me. The only thing, maybe different is, that my home town is Kassel.

      At the moment there I have two difficulties. First, I have no experience in javascript programming and I found no usable API for getting data. I suppose it is based on the Hafas software.

      What I have, is a base url https://auskunft.nvv.de/auskunft/bin/jp/ which probably provide the wanted data.

      My hope is, if I have a API which is simliar to other APIs, used in other modules, that I can take one of this module as a base for the application case I want to realize.

      So maybe, there’s somebody out there with informations about the API and/or the programming of javascript?

      posted in Requests station monitor nvv kassel hafas departure
      S
      sindbad6
    • RE: MMM-Fuel

      @strawberry-3.141 That’s what I was afraid of. I will try to correct it.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Fuel

      @strawberry-3.141 Ok, I did it now. I’m not sure if I did right. Please inform me if something was wrong. I’m a little bit surprised, to get the possibility to merge my changes.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Fuel

      Hi, I made a change in my MM-Fuel.js to implement an additional parameter for shortening the address of a gas station. It is not a big thing, but I would like if it would be integrated in the repository. The point is, I never have done it before. In between I got an account at github, but know? Can somebody give me a link where I can find belonging infos?

      posted in Transport
      S
      sindbad6
    • RE: Adding new region positions top_center1 and top_center2

      @yawns : Thanks a lot, that’s it. Now it works.

      posted in Development
      S
      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
    • RE: MMM-Fuel

      @strawberry-3.141 Thanks a lot. That’s much better.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Fuel

      @strawberry-3.141 Sorry, I’m a complete newbie and can’t see how to send a private message. I tried it over the chat button. I hope you meant this.

      posted in Transport
      S
      sindbad6
    • RE: MMM-Fuel

      Hi, have an issue with the shortenText parameter. When I use it, the address is max shorter(in px) then the name of the gas station. That’s a little bit anoying if more then one station is shown from the big companies and I can’t see the complete address, even if there is still enough place. Any idea, how I can change it? In the custom.css for example.
      0_1489269011731_upload-acb11020-7933-41d5-a659-9402199ec1a1

      posted in Transport
      S
      sindbad6
    • 1 / 1