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

    Posts

    Recent Best Controversial
    • RE: MMM-ResRobot - Public transport information for Sweden

      @jocke-almgren just to make sure: you have registered for an API key at Trafiklab?

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      Yes, I think I know what the issue is. Currently, only one section is supported due to the fact that the node helper only supports one set of data. As the daily request limits for ResRobot bronze are a bit low I try to cache data and reduce the number of calls as much as possible. And one of the design decisions I made was to only do one section. (You can have multiple routes in the same section which is my use case)

      However, I do realize the need for multiple sections and it is on my todo list. Unfortunately I’been bitten by the home automation bug and haven’t spent so much time on MagicMirror lately So there is no ETA for it.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @leanro great to hear it works. I had one or two of these “fetching departures” when I ran MagicMirror on my Rpi 1 with 256MB memory but since switching to a VM I haven’t seen it. As you have noticed, the solution is to restart MagicMirror.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @WillieGarvin,
      Thank you all for using my module! I know that it hasn’t been updated in a while as there has been no request for feature expansion apart from the TrackNo request seven months ago. The addition of that field was a bit of a hack on my part and it is not implemented in the best way, sorry for that.

      As you have found out there is no additional filtering done apart from matching to and from destination ids. The reason for this is that, for most use cases, setting the destination id should be enough. Of course, if the destination id is just a waypoint, the ultimate destination might be different.

      If you have request for new/changed functionality, do let me know.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Von-Sudden thank you for helping out. I will look into the font awedome issue.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Von-Sudden I just pushed a quick fix, please try it out.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @Von-Sudden thanks, quick fixes aren’t always the best. I’ll have a look. Thanks for the info.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @off112 I have just pushed an update that includes the departure track info. Try it out and let me know of any issues.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: MMM-ResRobot - Public transport information for Sweden

      @off112 it should be quite simple. I’ll look into it.

      posted in Transport
      AlvingerA
      Alvinger
    • RE: Calendar entries showing end time.

      I don’t really know. I just stumbled upon it browsing through the code in the development branch as I was thinking about implementing end times in my mirror. :slightly_smiling_face:

      It is not even documented in the README, you have to look in calendar.js to find out about the new options.

      When the code is moved to the master branch I am sure they will update the documentation (and also change some defaults to be non-reaking such as showEnd which should be false by default)

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • RE: Calendar entries showing end time.

      @richard238 just set showEnd to false.

      showEnd: false,
      
      posted in Troubleshooting
      AlvingerA
      Alvinger
    • RE: Calendar entries showing end time.

      It is one of the new features in the latest beta. You can turn it off in config.js.

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • Default Calendar module shows wrong time format

      I have a problem with the default calendar module. I am trying to show the kids’ school calendars with absolute starting and ending times. However, once a class has started the view changes to a relative starting time (but the information is relative to the ending time…) and an absolute ending time.

      This is the mirror display: (“Slutar 12 minuter” means “Ending in 12 minutes”, the screenshot was taken 13.18)
      0_1536751681530_b4407a27-51f0-4fdb-b71b-0d324793102f-image.png

      And this is the corresponding config.js entry:

                             module: "calendar",
                              position: "bottom_left",
                              header: "Schema",
                              classes: "vardagsmorgon",
                              config: {
                                      maximumNumberOfDays: 2,
                                      maximumEntries: 7,
                                      dateFormat: "ddd HH.mm",
                                      dateEndFormat: "HH.mm",
                                      showEnd: true,
                                      timeFormat: "absolute",
                                      getRelative: 0,
                                      fade: false,
                                      displaySymbol: false,
                                      calendars: [
                                              {
                                                      symbol: "calendar-o ",
                                                      url: "..."
                                              },
      

      What am I doing wrong? Or is this a bug within the calendar module?

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • RE: Run magic mirror from a USB drive?

      Well, windows 10 can be installed on a USB but you need to google it.
      If you just want the Magic Mirror application on a UsB stick then put it in a folder named MagicMirror on your stick and adapt the command line/batch script accordingly.
      J

      posted in System
      AlvingerA
      Alvinger
    • RE: Run magic mirror from a USB drive?

      If you have a Windows 10 computer, why would you need a USB drive?

      posted in System
      AlvingerA
      Alvinger
    • RE: Run magic mirror from a USB drive?

      Which Raspberry Pi do you have? The Raspberry Pi 3 can boot directly from USB but the others need a SD card.

      Download the chosen image and write it to UsB in the same way you created the SD cards. Then remove and insert the USB stick from your computee and copy the file bootcode.bin in the /boot directory to an empty SD card. (This card is needed unless you have a Pi3 but it will only be read from so no signifikant wear.)

      Insert the USB stick and boot your Pi. That should do it.

      If you have a Pi3 there is a different procedure, google is your friend.

      posted in System
      AlvingerA
      Alvinger
    • RE: Run magic mirror from a USB drive?

      Yes, especially if you put the /var lib on a tmpfs which resides in ram.

      posted in System
      AlvingerA
      Alvinger
    • RE: Run magic mirror from a USB drive?

      I am running both my mirrors from usb.
      The trick is to have a SD Card with only bootcode.bin on it. That is the boot loader which will try to load firmware from attached devices.

      Download raspbian or whatever image you want and write it to the usb drive with etcher or similar.

      You need to make sure that cmdlint.txt anf /etc/fstab point to the usb drive but that should alteady be the case.

      posted in System
      AlvingerA
      Alvinger
    • RE: How to get 2 modules side by side?

      @BananaBro just use the same region name, e.g. “bottom_right”, for both modules and they will be automatically stacked vertically.

      posted in Troubleshooting
      AlvingerA
      Alvinger
    • RE: Help getting Magic mirror running on Ubuntu Server 16.04.4 LTS as a SERVER

      @j-lewis,
      For some reason your config.js file is missing or inaccessible. Can you issue the command
      ls -l /home/ubuntu/MagicMirror/config
      and post the output. It would also be easier to help if you can post the content of the file /home/ubuntu/MagicMirror/config/config.js.

      posted in General Discussion
      AlvingerA
      Alvinger
    • 1 / 1