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

    Posts

    Recent Best Controversial
    • RE: MMM-Slack stop randomise messages

      @saibam Thanks for your fast reply!
      I’ve put in the code but then I didn’t get any message displayed anymore.
      Did I have done something wrong ?

      	getDom: function() {
      		var messageElement = document.createElement('div');
      		if (currentMessageCount < this.slackMessages.length || currentMessageCount == 0){
      	currentMessageId = 0;
      	currentMessageCount = this.slackMessages.length;
      }
      var maxAllowed = 5;
      var topMessages = this.slackMessages.slice(0, (maxAllowed 0));
      var maxCount = Math.min(maxAllowed, topMessages.length);
      if (currentMessageId == maxCount 0) { currentMessageId = 0; }
      var currentMessage = topMessages[currentMessageId].message;
      currentMessage = emoji_replace(currentMessage);
      messageElement.innerHTML = currentMessage;
      currentMessageId ++;
      		}
      		return messageElement;
      	}
      });
      
      
      posted in Troubleshooting
      G
      gekberlin
    • RE: MMM-Slack stop randomise messages

      @saibam That sounds pretty good. I wanted to achive the same for the last 5 messages. So i would simpley exchange the 10 for a 5. But where do I have to put the code into ? In the mmm-slack.js ?
      I would relay appreciate any help.

      posted in Troubleshooting
      G
      gekberlin
    • RE: Slack integration

      I didn’t found any other thread for the slack integration so I put down my question over here.

      Is there any possibillity that you can see the last three message among themselves on the magicmirror ?
      That would be realy cool.

      Best greetings

      posted in Requests
      G
      gekberlin
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      @derhuerst said in MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures):

      […] the best way to indicate a direction you want to get departures for is the next station after yours. @Beh we can try to implement this somehow, not sure wether in the API or in your magic mirror client.

      Yeah, that would help me actually a lot. I could also use the db api, but unfortunately the real-time data are not really accurate for the bvg-trams.
      @beh Unfortunately I’m a realy beginner in the software devolopment, but I think i’m not the only one who would appreciate that future and maybe some of them can program

      posted in Transport
      G
      gekberlin
    • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

      @M1dn8 said in MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures):

      Hey @Beh,

      thank u for ur big updates last days works great for me.

      My problem is…my station has only 1 Tramline and your module show me departures in both directions but I only need one direction cause the other way is the last station so I never will took this one :P
      Is there any possibilities to show only one direction?
      I think it’s not the same option like your “ignoredStations” and “ignoredLines” config, right?

      thank u and greetings

      M1dn8

      Hey @Beh, is there any possibility to imply the direction feature? I would be really appreciate that! Best greetings from Berlin.

      posted in Transport
      G
      gekberlin
    • Default Calendar - Bold and changing color

      Hi all,

      is there any chance to change the color and the style of letters for a event which is scheduled for today ?
      I only found the setting for change the displayed color for all events of the calendar.
      I have already looked up in the config of the module but didn’t find an special class for an event on the same day.

      It would be great if you could help me here.

      posted in Troubleshooting
      G
      gekberlin
    • 1 / 1