@evroom rotation is currently only supported for voice
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
@evroom your try was pretty close, the correct one is
.MMM-soccer header { text-align: left; }the header is not a class, but a tag, that’s why you don’t have a leading
.there.It also depends on the position of the module, if you have it e.g. in
top_leftit’s automatically on the left. -
RE: I know it's here but I cannot seem to find it.....
You linked me here, so you might thought about the syslog slave module that I was writing?!
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
I just released version 2 of this module
Added
- Club logo downloader
- New config option
logos. - Swedish translations
- Documentation
- Doclets.io integration
- Contributing guidelines
- Issue template
- Pull request template
- Editor config
Changed
- Switched from Api v1 to v2.
- Updated league ids.
- Switched rendering from js to nunjuck template.
- Updated travis-ci config.
- Disabled markdown lint rules
MD024andMD026
[card:fewieden/MMM-soccer]
-
RE: Issues with jplayer integration
@aries1984 In general adding a script in the getDom function isn’t good. It should be done in getScripts similar too:
Module.register("MMM_Webradio", { defaults: { text: "Playing Radio!" }, getScripts: function() { return [ "http://code.jquery.com/jquery-1.11.1.min.js", "http://jplayer.org/latest/dist/jplayer/jquery.jplayer.min.js", this.file("jPlayer.js"); ]; }, getDom: function() { var wrapper = document.createElement("div"); var displayedText = document.createElement("div"); displayedText.innerHTML = this.config.text; displayedText.setAttribute("id", "jquery_jplayer_1"); displayedText.setAttribute("class", "jp-jplayer"); wrapper.appendChild(displayedText); return wrapper; } });Be aware of that you most likely need to init your player after the getdom function was executed. Otherwise the player will not find your wrapper. Also as soon as the module gets rerendered, The player most likely need to reinitialized.
-
RE: how to set module div for fullscreen
@sdetweil there are units called view width and view height, try those
100vwand100vh -
RE: Help choosing more than one item from an array
@justjim1220 It looks like you are trying to do multiple request, as mykles description sounds like one request with a comma seperated list.
-
RE: Help choosing more than one item from an array
@mykle1 what you describe above is actually not an array, it’s an object (hash). Arrays are always defined with
[]not{}.Now to your problem. you can create an array from your config value and save it in a variable e.g.
var lifeForms = this.config.lifeForm.split(',');. it would look like this['Cats', 'Bats', 'Bears']. Then you can loop over it to get the ids and save it into another variablevar lifeFormIds =[]; for (let lifeForm of lifeForms) { if (this.config.lifeFormArray[lifeForm]) { lifeFormIds.push(this.config.lifeFormArray[lifeForm]); } }To create the id list you just join it comma seoerated like
lifeFormIds.join(','); -
RE: NFL Score Module
nfl updated the data source and is now on week 2 season 2018. so it should work now again as expected.
-
RE: can i inject javascript as part of my modules getDom content?
@sdetweil you can also create an image with ja and set an onload event listener
-
RE: NFL Score Module
@gama the problem with this link is, that you need to change it every week. In order to work automatically you need to create a logic to change the week and seasontype and year automatically.
I previously tried to create a logic just to determine if it is regular or post season and the mirrors of the peaople started going crazy flickering regular and post season.
-
RE: NFL Score Module
There are several options (good and bad ones), but I’m busy. Therefore I will wait at least until this weekend, before I take an action here. Getting a new api most of the times also means rewriting most of the module which is time intensive. Maybe there are also volunteers.
-
RE: Mobile app (bachelor thesis)
I sent the app to all that have sent me their emails in a private message. Here are also two screenshots that I extracted from my thesis.


-
RE: Mobile app (bachelor thesis)
@electros yes if you send me your email address
-
RE: MMM-voice commands/Page selector help
@sgault MMM-voice has no native support for page selection, either you create a module or maybe there is already one, that has support to do this.
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
@evroom well we had problems in v1 already that logos were taken down due to copyrights and I sent the api owner updated links, that were never added, so I don’t think that it will come back in v2. For the same reason I also don’t want to host the files on github. I think mostly the german league was the problem, why I added a logic to overwrite broken image links from the api.
It looked like this:
{ 'CLUBNAME': 'https://CLUBLOGO.svg' },if you want to start collecting the logo links in an object where the key is the club name then i can add them to my list. But I don’t have the time to do so myself.
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
I updated the module to work with api v2. One problem that I figured out so far is that the api no longer provides links to the club logos, therefore I added a config option
logosto hide them.It’s under construction and can be tested on the develop branch
git checkout develop[card:fewieden/MMM-soccer]
-
RE: MMM-MovieInfo
@jeffreyking you need to overwrite the grayscale filter in your custom.css file to 0% https://github.com/fewieden/MMM-MovieInfo/blob/master/MMM-MovieInfo.css#L8-L12
-
RE: Microphone/MMM-voice Help
@abhilash1368 do you have content in your debug log file?