@MZ-BER always nice to see your own modules being used by actual users
Read the statement by Michael Teeuw here.
Posts
-
RE: Magic(Dashboard)Mirror
-
RE: MMM-Memo - Add some memos on your page and manage them through HTTP request
@schnibel easiest soluton would be to replace notifications with alerts, as they can have a duration parameter, but the downside is there can be just one alert per module at the same time.
https://github.com/schnibel/MMM-Memo/blob/master/MMM-Memo.js#L123
to
this.sendNotification("SHOW_ALERT", {title: ttl, message: msg, timer: 5000});for 5 seconds or make a config option for it -
RE: Airplay 'Now Playing' module - help badly needed
@darrene checkout the file watcher of the nodejs filesystem https://nodejs.org/docs/latest/api/fs.html#fs_class_fs_fswatcher
-
RE: MMM-Soccer - Standings, Schedules and Top Scorers
@TheHyp3 The problem is, that the icons provided no longer exist on wikimedia, I informed the API provider about that by mail and I checked focus_on for Cologne as you mentioned in your config snippet and I can’t see an issue with that, alltough there shouldn’t be a reason to focus on Cologne :P
-
RE: How to set Font in Alarm Clock
@nobita the alarm clock sends a notification to the alert module which displays this, so you have to change the css for the alert module:
custom.css
.alert span.light { //Here you can change the title } .alert span.thin { //Here you can change the message } -
Add module reference to alerts
Hey guys,
I recently worked on
[card:fewieden/MMM-AlarmClock]
and stumbled on a problem. I want to support normal devices and touch screen devices. Non touch screen is working fine already,
but there’s a problem for the touch screen mode. I added a button but when I fire an alert from the default alert module, there will be an overlay, so my button will not be clickable. To get around this, I thought about adding a reference to an alert, so I can query the alert of my module and give it a click event.My thought was to change this https://github.com/MichMich/MagicMirror/blob/master/modules/default/alert/alert.js#L91 to
message += "<span data-sender='" + sender.name + "' class='thin' style='font-size:22px;line-height: 30px;'>" + params.message + "</span>";What are your thoughts on this?
-
RE: My display so far...
@j.e.f.f you can create a fork of the module and push your changes to it then everyone can clone your fork
-
RE: Making text etc clickable
@broberg what about this?
this.interval = setInterval(function() { self.activeItem++; self.updateDom(self.config.animationSpeed); }, this.config.updateInterval); -
RE: MMM-NHL - NHL Score and Schedule module
@Trentent there are still some unused leftovers from the nfl module in your code and you could have saved same time :D already made a nhl module, but now people can choose different styles
-
RE: remoteFile in compliments module
@Snille did you save the compliments file as utf8 encoded?
-
RE: Add module reference to alerts
@MichMich In my oppinion it’s not a good idea to mess around with other modules variables. If someone has a better approach just let me now, but it would work without changes to the core at the moment.
-
RE: Trying to write my own Module...
@nbrenn I’m assuming that you saved your server response into this.xml
getDom: function(){ var wrapper = document.createElement("div"); if(this.xml){ var channels = this.xml.getElementsByTagName("channel"); for(var i = 0; i < channels.length; i++){ for(var n = 0; n < channels[i].children.length; n++){ if(channels[i].children[n].tagName === "name" || channels[i].children[n].tagName === "watts"){ var element = document.createElement("div"); element.classList.add(channels[i].children[n].tagName); element.innerHTML = channels[i].children[n].textContent; wrapper.appendChild(element); } } } } else { wrapper.innerHTML = "NO DATA"; } return wrapper; }this would create two
divcontainer for every channel one for thenameand the other forwatts. each of them would have the css class.nameor.watts -
RE: Update a module whit git pull didn't work...
@gismo2006 well, you will have the same problem again next time when you have downloaded it manually
did you install the dependencies?
-
RE: Shorter calendar text
@FlatPepsi this is already possible check the config option
dateFormatin the documentation https://github.com/MichMich/MagicMirror/tree/master/modules/default/calendar -
RE: Mobile app (bachelor thesis)
What’s with the results of them?
My intention was to present the results of the survey after i finished my bachelor thesis, to get the most representative result as possible, because most of the user are just on the forum for a few days until their problems are resolved, but a survey with 20 entrys hasn’t much to do with a representative survey, so there is the chance to reach more user.
What’s with the ios beta testing?
As I said 2 days ago, the first prototype is in beta review by apple and hopefully approved until the weekend so i can send out the app to the users
What do u mean, when would you like to start with this?
asap
-
RE: NFL Score Module
@in_a_days check out this python shell module https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js#L11
-
RE: Calendar Color
@billp100 to use the develop branch you just have to do the following
cd ~/MagicMirror git fetch git checkout develop git pull npm install