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

    clubbi

    @clubbi

    2
    Reputation
    551
    Profile views
    6
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    clubbi Unfollow Follow

    Best posts made by clubbi

    • RE: Help Translating Word Clock

      @j.e.f.f

      I join my predecessor @pjkoeleman

      German Translation:

      {
       "ITIS": "Es ist",
       "HALF": "halb",
       "QUARTER": "viertel",
       "MINUTES": "Minuten",
       "TO": "vor",
       "PAST": "nach",
       "ONE": "eins",
       "TWO": "zwei",
       "THREE": "drei",
       "FOUR": "vier",
       "FIVE": "fünf",
       "SIX": "sechs",
       "SEVEN": "sieben",
       "EIGHT": "acht",
       "NINE": "neun ",
       "TEN": "zehn",
       "ELEVEN": "elf",
       "TWELVE": "zwölf",
       "TWENTY": "zwanzig",
       "OCLOCK": "Uhr",
       "THIRTEEN": "dreizehn",
       "FORTEEN": "vierzehn",
       "FIFTEEN": "fünfzehn",
       "SIXTEEN": "sechzehn",
       "SEVENTEEN": "siebenzehn",
       "EIGHTEEN": "achtzehn",
       "NINETEEN": "neunzehn",
       "THIRTY": "dreißig",
       "FORTY": "dierzig",
       "FIFTY": "fünfzig",
       "OH": "0?",
       "HUNDRED": "hundert",
       "ZERO": "null"
      }
      

      It’s one o’clock -> Es ist ein Uhr

      It’s five minutes past one -> Es ist fünf nach eins (more common) / Es ist fünf nach ein Uhr

      It’s ten minutes past one -> Es ist zehn nach eins (more common) / … ein Uhr

      It’s quarter past one -> regional different: “Es ist viertel zwei” - “Es ist viertel nach eins / … ein Uhr”

      It’s twenty minutes past one -> Es ist zwanzig Minuten nach eins / … ein Uhr

      It’s twenty-five minutes past one -> Es ist fünfundzwanzig Minuten nach eins / Es ist fünf vor halb zwei (more common)

      It’s half past one -> Es ist halb zwei (rounded up to next full hour)

      It’s twenty-five minutes to two -> Es ist fünfunfzwanzig Minuten vor zwei / Es ist fünf nach halb 2 zwei (more common)

      It’s twenty minutes to two -> Es ist zwanzig Minuten vor zwei / Es ist zehn nach halb 2 (more common)

      it’s quarter to two -> regional differenz: “Es ist dreiviertel zwei” - “Es ist viertel vor zwei Uhr”

      It’s ten minutes to two -> Es ist zehn Minuten vor zwei Uhr

      It’s five minutes to two -> Es ist 5 Minuten vor zwei Uhr

      It’s eleven o’clock (both 11:00 and 23:00) -> Es ist elf Uhr // Es ist dreiundzwanzig Uhr

      It’s twelve o’clock (both 00:00 and 12:00) -> Es ist null Uhr // Es ist zwölf Uhr

      It’s one o’clock (both 01:00 and 13:00) -> Es ist ein Uhr / Es ist dreizehn Uhr

      Normaly we leave the “minutes” and “o’clock” away, like saying time in Dutch.
      If you need more details, please ask.

      posted in Requests
      C
      clubbi

    Latest posts made by clubbi

    • RE: Using ultrasonic sensor instead of PIR sensor for waking up

      @Atteraxol
      https://github.com/mochman/MMM-Swipe

      That one?

      posted in Requests
      C
      clubbi
    • RE: Help Translating Word Clock

      @j.e.f.f

      I join my predecessor @pjkoeleman

      German Translation:

      {
       "ITIS": "Es ist",
       "HALF": "halb",
       "QUARTER": "viertel",
       "MINUTES": "Minuten",
       "TO": "vor",
       "PAST": "nach",
       "ONE": "eins",
       "TWO": "zwei",
       "THREE": "drei",
       "FOUR": "vier",
       "FIVE": "fünf",
       "SIX": "sechs",
       "SEVEN": "sieben",
       "EIGHT": "acht",
       "NINE": "neun ",
       "TEN": "zehn",
       "ELEVEN": "elf",
       "TWELVE": "zwölf",
       "TWENTY": "zwanzig",
       "OCLOCK": "Uhr",
       "THIRTEEN": "dreizehn",
       "FORTEEN": "vierzehn",
       "FIFTEEN": "fünfzehn",
       "SIXTEEN": "sechzehn",
       "SEVENTEEN": "siebenzehn",
       "EIGHTEEN": "achtzehn",
       "NINETEEN": "neunzehn",
       "THIRTY": "dreißig",
       "FORTY": "dierzig",
       "FIFTY": "fünfzig",
       "OH": "0?",
       "HUNDRED": "hundert",
       "ZERO": "null"
      }
      

      It’s one o’clock -> Es ist ein Uhr

      It’s five minutes past one -> Es ist fünf nach eins (more common) / Es ist fünf nach ein Uhr

      It’s ten minutes past one -> Es ist zehn nach eins (more common) / … ein Uhr

      It’s quarter past one -> regional different: “Es ist viertel zwei” - “Es ist viertel nach eins / … ein Uhr”

      It’s twenty minutes past one -> Es ist zwanzig Minuten nach eins / … ein Uhr

      It’s twenty-five minutes past one -> Es ist fünfundzwanzig Minuten nach eins / Es ist fünf vor halb zwei (more common)

      It’s half past one -> Es ist halb zwei (rounded up to next full hour)

      It’s twenty-five minutes to two -> Es ist fünfunfzwanzig Minuten vor zwei / Es ist fünf nach halb 2 zwei (more common)

      It’s twenty minutes to two -> Es ist zwanzig Minuten vor zwei / Es ist zehn nach halb 2 (more common)

      it’s quarter to two -> regional differenz: “Es ist dreiviertel zwei” - “Es ist viertel vor zwei Uhr”

      It’s ten minutes to two -> Es ist zehn Minuten vor zwei Uhr

      It’s five minutes to two -> Es ist 5 Minuten vor zwei Uhr

      It’s eleven o’clock (both 11:00 and 23:00) -> Es ist elf Uhr // Es ist dreiundzwanzig Uhr

      It’s twelve o’clock (both 00:00 and 12:00) -> Es ist null Uhr // Es ist zwölf Uhr

      It’s one o’clock (both 01:00 and 13:00) -> Es ist ein Uhr / Es ist dreizehn Uhr

      Normaly we leave the “minutes” and “o’clock” away, like saying time in Dutch.
      If you need more details, please ask.

      posted in Requests
      C
      clubbi
    • RE: Telegram Bot

      @ryck
      Currently, I do not have much time, but I’ll keep it in mind.

      @cowboysdude
      ah, ok. thanks.

      posted in Requests
      C
      clubbi
    • RE: Telegram Bot

      I’ve updated the MMM-SystemStats module on github.
      Now the request is sent by nodehelper.js.

      request({ url:  'https://api.telegram.org/bot' + this.config.botToken + '/sendMessage?chat_id=' + this.config.chatID + '&text=' + encodeURI(payload.message), method: 'POST' }, function(error, response, body) {
      console.log("TG with response " + response.statusCode);
      

      It is not a separate module, but it works.

      posted in Requests
      C
      clubbi
    • Telegram Bot

      Hey.

      After I experimented with the Google Hangoutsbot for a while, I am now at the Telegrambot. Currently my telegrambot sends me a simple message if the CPU temperature is too high. For this I ‘quickndirty’ inserted a few lines of code into the forked MMM-SystemStats module:

      	var url="https://api.telegram.org/bot[BOT-TOKEN]/sendMessage?chat_id=[CHAT-ID]&text=CPU%20zu%20warm%20";
      	var method = "POST";
      	var postData = "Some data";
      	var async = true;
      	var request = new XMLHttpRequest();
      	request.onload = function () {
      	var status = request.status; // HTTP response status, e.g., 200 for "200 OK"
      	var data = request.responseText; // Returned data, e.g., an HTML document.
      	}
      	request.open(method, url, async);
      	request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
      	request.send(postData);
      

      It would be great if, for example, also MMM-Syslog, MMM-PIR or MMM-NetworkScanner sends messages, as good as centrally via a Telegram module.

      For example https://github.com/enricostara/telegram.link or https://github.com/yagop/node-telegram-bot-api.

      Thank you.

      posted in Requests
      C
      clubbi