@chaseb1357 Something like this might do it:
https://www.amazon.ca/GOWE-touch-overlay-panel-screen/dp/B01H8MFCFU/ref=sr_1_1?ie=UTF8&qid=1500571842&sr=8-1&keywords=ir+touch+frame
Do a search on amazon or google for IR touch frame
@chaseb1357 Something like this might do it:
https://www.amazon.ca/GOWE-touch-overlay-panel-screen/dp/B01H8MFCFU/ref=sr_1_1?ie=UTF8&qid=1500571842&sr=8-1&keywords=ir+touch+frame
Do a search on amazon or google for IR touch frame
@codyS75 Looking at the source on Github, it appears the icon file is missing. See here:
https://github.com/cowboysdude/MMM-Astrology/tree/master/icons
You could put in your own, but I’d suggest contacting @cowboysdude and asking him to fix it. He likely has the Sagittarius icon that matches the rest of his set.
This module behaves like a screensaver and displays a full-screen word clock on your mirror when it is idle.
[card:jclarke0000/MMM-MyWordClock]
This is very similar to the existing MMM-TextClock module. It is not a fork – the underlying code is quite different – and my reasons for recreating this module are as follows:
Currently supports English, French, German and Dutch. Defining more is pretty easy, so with all your help we could have many languages supported.
It should be noted that this requires the use of Paviro’s MMM-PIR-Sensor module for it to work properly. Cancelling the display of the clock is triggered by the USER_PRESENCE notification that is dispatched when motion is detected. This means it will be at odds with anyone using the PIR Sensor module to turn the display on and off. There are a few ways this can be dealt with:
powerSavingDelay
config in MMM-PIR-Sensor to something longer than the showClockTimeOut
value in this module. This lets the clock be displayed after an amount of time of no motion detection, then the screen gets turned off after a longer amount of time. Detection of motion cancels the clock AND turns the screen back on.powerSaving
in MMM-PIR-Sensor altogether and instead use a cron job (independent of MM) to turn the screen completely off during late-night / early morning hours. This was the route that I took, as I really like the clock display.N.B. I have not tested with the Profile Switcher module, but I expect it should work just fine. Be sure to add the classes default everyone
to this module so that it is never hidden by the profile switcher.
v1.5
v1.4
v1.3
v1.2
v1.1
v1.0
v0.1
@wedee Sportsnet changed their feed. Unfortunately the new one is quite different in format so it’s taking me a bit of time to write a fix. Hopefully I’ll have a release soon.
@cowboysdude How is the miniATX for heat generation and dissipation when your mirror is hanging up against the wall? Do you need to use a fan on the cpu or gpu? My Pi3 already runs in the high 60’s Celcius without a fan (I’m not using face recognition, or this would likely be much worse)… I’d be concerned that the extra power and limited airflow would generate a significant amount of heat, and adding a fan would result in an annoying whirring sound – ideally I’d want the mirror to operate silently.
@KairosZenith Modifying source code or moving the module code is not necessary to accomplish what you want to do. Here is what I suggest:
Configure two instance of the default clock
module. In your config, specify custom classes so that you can differentiate between the two:
{
module: "clock",
position: "top_right",
classes: "clock-date-only",
config: {
timeFormat: 12,
showPeriod: true,
displaySeconds: false
}
},
{
module: "clock",
position: "top_center",
classes: "clock-time-only",
config: {
timeFormat: 12,
showPeriod: true,
displaySeconds: false
}
},
You can position these modules any way you like and make up any class name you like. Just make sure you remember the class names, as you’ll need to use them in your CSS. Add entries into your custom.css
file similar to the following:
.clock.clock-date-only .time {
display: none; /* this hides the time */
}
.clock.clock-time-only .date {
display: none; /* this hides the date */
}
No need to make a copy of the module, no need to maintain your own copy of the source code, and if the clock module gets an update later, it will be available to you.
@kruemel OK So I made a rather significant change in order to support this. Instead of trying to use the global time format parameter, you now explicitly specify how you would like days, dates and times displayed in your config. This gives you absolute control over everything.
To get the update, navigate to the MMM-MyCalendar
directory and execute git pull
.
IMPORTANT!!
One of the configuration parameters no longer means what it used to. If you used timeFormat
to specify if you would like to see relative
or absolute
dates for upcoming events, that parameter is now named useRelativeDates
, and you can specify true
or false
(Defaults to false
).
timeFormat
is now used to specify how you would like to see time displayed. For example, if you wanted 24 hour time with leading zeros, you would specify HH:mm
(e.g.: 07:00, 23:30, etc).
dateFormat
, which was previously used to specify a full string for date and time display is now used JUST to configure how you would like dates to be displayed. (e.g.: MMMM D
for January 2, DD-MMM
for 02-Jan, etc).
dayOfWeekFormat
is new and is used to specify how you would like to see weekday names displayed (e.g.: dddd
for Monday, ddd
for Mon, etc.).
joiningWord
is the word you would like to see displayed between Day/Date and Time. It defaults to at
(e.g.: January 2 at
2:00 PM), so if you do not want a joining word, specify an empty string (i.e.: joiningWord : ""
). In the above example you would configure joiningWord : "um"
.
The module will build the full event date string using bits and pieces of how your configure the items above.
@bkeyport said in MMM-MyScoreboard:
hey, @vinp -
I filed this as an issue on the main fork - was wondering if you’d be interested in adding this for me, as I’m just a beginner in javascript and don’t fully understand what’s going on here.
For leagues that are currently “Out of Season” or off for the day, can we get output like “[league name] - No games scheduled” - This would prevent blank screens in my case, where I have MMM-Carousel running to page between sports.
“MLB - No Games Scheduled”
“NBA - No Games Scheduled”
“NCAAF - No Games Scheduled”
etc.
My module is intended to use as little space as possible. When no games are scheduled for your current config, either because the sport is out of season or there are simply no games scheduled for that particular day, the sport is completely hidden to reclaim space.
@cowboysdude When you have it all put together, let us know what the noise from the fan is like.
@rudibarani if it’s disabled in the config then it’s not available to MagicMirror. It wouldn’t be able to show it at a scheduled time because it wouldn’t even be running.
To do what you want to do is perhaps have a script that modifies your config, or replaces one config file with another that enables the module, then have it restart magic mirror. Schedule the script using a cron job. There are plenty of articles online that can help you write such a script and schedule it using cron.
You can use the module scheduler as others suggest but it requires the module to be running even when it is hidden. Since you want it available only during the winter months, this means cpu cycles wasted during the summer. On a low powered device like the Pi, this could be a significant waste, especially if you have other modules that do a lot of heavy lifting.