@KristjanESPERANTO - while true, I also plan to replace moment when temporal is available
Read the statement by Michael Teeuw here.
Posts
-
RE: Do you need to list moment and moment-timezone as dependencies in modules?
-
RE: Clock Module - Adjust light time to avoid line break
I use the following in my css to solve this:
.clock .sun { white-space: nowrap; } .clock .fas { padding-left: 10px; }
The second part isn’t strictly necessary, but I find it gives some needed space between the elements
-
Family Mirror
I finally got around to making my mirror presentable, so I thought I’d show it off.
Yes, I do have eventual plans to do something about that brown electrical cord hanging out the bottom.
The guts are a 30" TV I pulled out of its shell and a Raspberry Pi 4B. I used some 1"x3" and some molding to build a simple box frame.
The primary modules are:
alert
updatenotification
clock
MMM-Remote-Control - used for updating several other modules
MMM-CustomText - used to show a message via a python script when there are apt updates for my RPi, and weather alerts via another python script
MMM-EarthquakeAlerts
MMM-RandomPhoto
MMM-MagicMover
MMM-ModuleScheduler - hides certain modules when they’re out of season
MMM-Carousel - rotates through 5 separate pagesPage 1 - Calendar
MMM-CalendarExt2 - It pulls from a generic GMail calendar I’ve convinced my wife to invite to anything the whole fam should know about
MMM-MultimonthPage 2 - Weather
MMM-RAIN-MAP - only displays when rain is predicted in the next 12 hours
weather - used only to trigger MMM-OpenWeatherMapForecast
MMM-MoonPhase
A proprietary module that displays a day/night map of the earth
MMM-Block - adjusts the height of the two bottom modules so they line upPage 3 - Home Automation
MMM-Rest - several instances; grabs info from my home automation server
MMM-NestRemoteThermostat
MMM-GoogleMaps-Tracking - updated via python script
MMM-Block - to move modules around so they line upPage 4 - Sports
MMM-MyScoreboard
MMM-MyStandings - multiple instances
MMM-PGAPage 5 - Info
MMM-SimpleLogo - a logo from our school
MMM-LINQConnectCalendar
MMM-TitanSchoolMealMenu
MMM-JsonTable - displays gas prices via a python script
MMM-Pinfo
MMM-Block - multiple instances to adjust things so they line upThe Future
Adding touchscreen capabilities? This seems like a pain that would ruin the aesthetics, but maybe. -
RE: Do you need to list moment and moment-timezone as dependencies in modules?
P.S. I did test it, and it seems to work with moment-timezone as well.
-
Do you need to list moment and moment-timezone as dependencies in modules?
I maintain a couple modules that depend on the moment or moment-timezone dependency. I had always listed those in package.json and asked users to npm install them.
But I just took over another module that I found relies on moment without installing it at the module level. The only reason I found this out is that I was working on something and got an error message that the module was looking for moment in the parent directory (/home/mmuser/MagicMirror/node_modules/moment/moment.js:2613:19).
So, do I really need to ask users to install moment and/or moment-timezone, or is it safe to simply rely on the installation that comes with the the MagicMirror application itself??
-
RE: Daily Farside comic
@oraclesean Be sure to add your module here https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules
-
RE: MMM-PGA
Just FYI, I’ve taken over primary maintenance of this module. It is now available at https://github.com/dathbe/MMM-PGA, with a handful of bug fixes.
-
RE: MMM-Carousel; Two of the Same Module?
@sdetweil I like the idea of scheduling display times for pages.
Most of the rest of this it seems like I can do with Carousel–including giving the pages sensible names, and labeling certain modules to correspond with those pages–if, perhaps, in a bit more clunky way.
-
RE: ERROR:gbm_wrapper.cc(253) Failed to export buffer to dma_buf: No such file or directory
@sdetweil In case for some reason it’s helpful, I’ve reviewed the contents of /boot/config.txt from my two devices (4B gets errors, 2B does not).
In 2B, not in 4B:
#dtoverlay=vc4-kms-v3d # see https://forums.raspberrypi.com/viewtopic.php?p=1507622#p1507247 dtoverlay=vc4-fkms-v3d
In 4B, not in 2B:
dtoverlay=vc4-kms-v3d # Run in 64-bit mode arm_64bit=1 [cm5] dtoverlay=dwc2,dr_mode=host
-
RE: Daily Farside comic
@mdiorio Yes, it should not be hard to do if there’s a source to draw from.