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

    Posts

    Recent Best Controversial
    • TeleFrame - A opensource digital picture frame for Telegram

      [card:LukeSkywalker92/TeleFrame]

      Dear MagicMirror-Community,

      I solved a problem and want to share it with you, because I think some of you may have the same or a similar problem and most of you have the skills to get this thing working :)
      Even if you don’t have this problem it may be interesting for you also.

      To the problem:
      My grandmother (over 80 years old) is not able to use a smartphone but she would really like to get all the images that are send to our family-whatsapp-group. Since the other members of this group are also no IT-experts I had to find a solution, that is also easy to use for them.

      The solution:
      I wrote an nodejs app that can run on a raspberry pi (with an attached display) and displays all the images that are send to a telegram-group (or to the bot directly) in a slideshow. So similar to a digital picture frame. But it can also show the name of the sender and the caption of the image (with emojis ;) ).
      When a new picture is send to the group (or bot), a notification with the sender name is shown and the slideshow will start from the biginning. The oldest image is kicked out of the slideshow to keep the total amount of images in a range that you don’t have to spend all the day in front of the picture frame to see the newest images. But you can set the amount in a config file.
      There are many other settings that can be adjusted in the config file, but you can see that in README on Github.

      You can also see a small demo and the instructions to install this app on Github.

      I hope this helps many others that are facing the same problem or that just want to have a digital picture frame like this :)

      Enjoy it!

      Luke

      posted in General Discussion
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      @bminer1 the logos are provided by the api. but you could add them manually for the league you’re interested in. I don’t have enough time in the moment to do it. maybe the real logos will be added in the future to the api. German clubs already get real logos.

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      @bminer1 maybe no one scored a goal :D have you tried to restart the complete magic mirror process?

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      @bminer1 the league names are provided by the api, so you can’t edit them :( also the info if a game is running or not is provided by the api, so maybe they had a problem with their informations.
      I’ll put alerts on my todo list

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      @djbosman
      Hey,
      first of all I’m happy that you enjoy the module. I hope you find some time to work during games :smirk:.

      I tried to reproduce your problem but was not successful. Can you check your console output for any errors (server and web console)? If you need help for doing that, let me know.

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-Globe

      @Renfield the module does only update the pre-defined satellite images. I did not implement that for own images. But that could be changed quickly. Do you think you can do that on your own or do you need help?

      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: How to Change MMM-DWD-WarnWeather Module for Switzerland

      Sorry for being absent so long. Busy times in the moment :) but I’m glad to see that you’ve got it working. :thumbsup:

      posted in Development
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-Globe

      @Burner911 sure :) should be straight forward. I you know how to do it feel free to make a pull request. If not I can have a look at the weekend if I find some time.

      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-Globe

      @SvenSommer
      Merged! Thank you

      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-Globe

      @SvenSommer
      could you please adjust the README.md that it contains your additional image-styles? then i will merge your pull request =)
      thanks for your help improving the module

      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: How to Change MMM-DWD-WarnWeather Module for Switzerland

      ok so you should start with this request:

      var url = 'http://my.wetteralarm.ch/v6/alarms/meteo/with-regions.json'
      
      
      	request({
      		url: url,
      		method: 'GET'
      	}, function (error, response, body) {
      		console.log(body);
      		var result = JSON.parse(body);
      		console.log(result);
      	});
      

      now you can explore the data that you will get with this request. you will see that the json file you get differs from the one you get from the ‘Deutscher Wetterdienst’-site. If you just change the request the module tries to handle the data as if it was structured like the one from DWD. So you have to write your own logic to extract the information your interested in from the json file.
      if you’ve done that you can think about how you will display this data.

      posted in Development
      LukeCodewalkerL
      LukeCodewalker
    • RE: save some information from a xml or json to a txt file

      @Squirrel
      So first of all i would suggest you to open a new topic in the development area of this forum.
      Second, it looks like you have not much experience http-requests and data-structures =D but that’s no problem =) it’s a good point to start for you now =)
      To help you i need the request which you have monitored with mitmproxy.
      To do that, open the request in mitmproxy and press E to export it. Then choose curl command as output-format and choose a file where you save this command.
      With this command i can explain you how to go on. So please post the content of this file in the new topic which you will create now =)

      posted in Requests
      LukeCodewalkerL
      LukeCodewalker
    • RE: save some information from a xml or json to a txt file

      @Squirrel
      I use mitmproxy for viewing the http-requests of the apps.

      posted in Requests
      LukeCodewalkerL
      LukeCodewalker
    • RE: save some information from a xml or json to a txt file

      @Squirrel
      I can’t download this app in germany, so I can’t have a look at the data it uses.

      posted in Requests
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-DWD-WarnWeather - Wetterwarnungen

      @pugsly
      Sure. You have to find an API that gives you the data and you have to modify the module that it works with this data.

      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      So i finally implemented tables showing between scores.
      Heres a small preview how the tables look like:
      alt text
      The tables will be shown only if the league has a table.

      To get the feature just update the module with git pull.
      If you want to disable tables just add

      showTables: false
      

      to the module-config.

      Hope you’ll enjoy it!

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • RE: save some information from a xml or json to a txt file

      @Squirrel
      maybe this link helps you:
      https://s3-eu-central-1.amazonaws.com/app-prod-static-fra.meteoswiss-app.ch/v1/warnings_with_outlook_with_naturalhazards_de.json

      posted in Requests
      LukeCodewalkerL
      LukeCodewalker
    • RE: save some information from a xml or json to a txt file

      @Squirrel
      i did some reverse engineering of the dwd-website and found this json file.
      i had a short look at your link and did not found something similar there. do you know if theres an app for ios where the data is shown? maybe i can help you then.

      posted in Requests
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-DWD-WarnWeather - Wetterwarnungen

      @lolobyte
      for increasing the text size you have to edit MMM-DWD-Warnweather.css (description class).
      to format the date you have to edit lines 84 and 85:

      var start = moment(this.warnings[i]['start']).format("dd. HH") + ' Uhr';
      var end = moment(this.warnings[i]['end']).format("dd. HH") + ' Uhr';
      
      posted in Utilities
      LukeCodewalkerL
      LukeCodewalker
    • RE: MMM-SoccerLiveScore

      @nem1 thanks for the feedback =)
      implementing the tables will be no problem, but i don’t think i will find time before christmas. but i think the holidays will be perfect to do it =)

      posted in Sport
      LukeCodewalkerL
      LukeCodewalker
    • 1
    • 2
    • 3
    • 4
    • 1 / 4