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

    Posts

    Recent Best Controversial
    • RE: MMM-soccer v2

      @matze86 said in MMM-soccer v2:

      I think the api also does Not give the Information about the time of Match?

      It does.
      Usually APIs work with timestamps or date strings including date and time.
      My module is set to only show the time at the day of match. It does not show date AND time due to limited space.

      if (match.status == "SCHEDULED" || match.status == "POSTPONED") {
                          match.state = (moment(match.utcDate).diff(moment(), 'days') > 7) ? moment(match.utcDate).format("D.MM.") : (moment(match.utcDate).startOf('day') > moment()) ? moment(match.utcDate).format("dd") : moment(match.utcDate).format("LT");
                      
      
      posted in Sport
      lavolp3L
      lavolp3
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @hugopvl it didn’t work because of the small mistake I mentioned before. Your config entry was not recognized because your object was league: not leagues:
      @strawberry-3-141 might include in the README that additional leagues can be included via the config entry you made before. Or include all of them from the start.

      posted in Sport
      lavolp3L
      lavolp3
    • RE: MMM-Soccer - Standings, Schedules and Top Scorers

      @sdetweil @hugopvl
      yes the only error in above config seemed to be that @hugopvl has written

        league: {“PORTUGAL”: “PPL”},
      

      instead of

        leagues: {PORTUGAL: “PPL”},
      
      posted in Sport
      lavolp3L
      lavolp3
    • RE: MMM-soccer v2

      @matze86 said in MMM-soccer v2:

      @lavolp3

      Great! I‘ll Update the Module soon

      Maybe with a different colour for the Position?

      So I checked the API output. Unfortunately we don’t have a reference for the recent table position.

      
      "table": [{
      	"position": 1,
      	"team": {
      		"id": 5,
      		"name": "FC Bayern München",
      		"crestUrl": "https://crests.football-data.org/5.svg"
      	},
      	"playedGames": 26,
      	"form": "W,W,W,W,L",
      	"won": 19,
      	"draw": 4,
      	"lost": 3,
      	"points": 61,
      	"goalsFor": 78,
      	"goalsAgainst": 35,
      	"goalDifference": 43
        },
        ...
      

      We would have to call the API again for the last matchday’s table, which consumes API calls.
      I’m not sure if I want that.
      I still very much like the idea however.

      Also, you can see there’s no reference to relegation or qualification ranks

      posted in Sport
      lavolp3L
      lavolp3
    • RE: MMM-soccer v2

      @matze86 said in MMM-soccer v2:

      Is it possible to add More columns to the table like this? Or to add up/down arrows? Or to add further Information like CL-Position/EL-Position and so on?

      I added played games as a column just today . Up and down arrows are a good idea but I need to check if the API gives the most recent table. I don’t think so.
      Good idea!
      They positions (relegation, qualifications) is most probably not possible.
      I’ll check.

      posted in Sport
      lavolp3L
      lavolp3
    • RE: Async Functions, Sockets, Arrays, and Figuring this out

      @jcsindelar if I understand correctly you want to call stockdata from a dynamic and changing range of stocks.
      In some modules the array is provided by the config with every call to node_helper, in some modules just at the start.

      Another option would be to include a notification in the stock ticker module and use that to change the array.
      I’m currently working on a successor to MMM-AVStock that also has a ticker.
      If you’re interested we could implement your request into the code.
      Meaning: your module sends a notification “CHANGE_STOCKS” and my module receives it and acts accordingly.

      notificationReceived: function(noti, payload) {
        if (noti === "CHANGE_STOCKS") {
          this.config.symbols = payload
          this.sendSocketNotification("GET_STOCKDATA", payload)
        }
      }
      

      However, consider that the actual config will obviously not be safed in case of restart. But I guess your module will do the rest.

      posted in Troubleshooting
      lavolp3L
      lavolp3
    • RE: New Bathroom-Mirror

      @kwaeksler Great mirror! Looks really good.
      Can you tell me

      • what glass you used?
      • which program for drawing?
      • which wood parts for the frame?
      posted in Show your Mirror
      lavolp3L
      lavolp3
    • RE: MMM-Space

      @doctorwhen it’s a good solution (for beginners) but one that can be done with one line of css instead of installing a module.

      posted in Utilities
      lavolp3L
      lavolp3
    • RE: Message: no signal

      @george NONONO :-) . first try out a bit more.
      I think MMM-NewPIR has integrated several possibilities of turning off the monitor or hdmi.
      Play with these, you might be successful.
      I think my monitor (also a syncmaster) can behave both ways however you swithc it off.

      posted in Troubleshooting
      lavolp3L
      lavolp3
    • RE: How to use this module? Please help!

      @rubens Well the config options seem self-explanatory. You need to create an accessToken inside home assistant however.

      THere are some other MMM Home Assistant modulesout there, e.g. MMM-HomeAssistant-sensors by @snille.
      Or https://github.com/aserramonner/MMM-HASS by aserramonner.
      You could have a look at these as well.

      It is very possible that the module only gives a status since most MM modules are not programmed to be interactive but only to provide information.

      posted in Requests
      lavolp3L
      lavolp3
    • 1
    • 2
    • 7
    • 8
    • 9
    • 10
    • 11
    • 89
    • 90
    • 9 / 90