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

    dathbe

    @dathbe

    7
    Reputation
    2
    Profile views
    31
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dathbe Unfollow Follow

    Best posts made by dathbe

    • Family Mirror

      I finally got around to making my mirror presentable, so I thought I’d show it off.

      25-05-28 17-24-10 2891.jpg

      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.

      25-05-28 19-01-39 2892.jpg

      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 pages

      Page 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-Multimonth

      25-05-28 17-22-45 2886.jpg

      Page 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 up

      25-05-28 17-23-01 2887.jpg

      Page 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 up

      25-05-28 17-23-21 2888.jpg

      Page 4 - Sports
      MMM-MyScoreboard
      MMM-MyStandings - multiple instances
      MMM-PGA

      25-05-28 17-23-41 2889.jpg

      Page 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 up

      25-05-28 17-24-01 2890b.jpg

      The Future
      Adding touchscreen capabilities? This seems like a pain that would ruin the aesthetics, but maybe.

      posted in Show your Mirror
      D
      dathbe
    • RE: MMM-MyScoreboard

      FYI, i have taken over maintaining this module and have made some updates. anyone interested can check out at https://github.com/dathbe/MMM-MyScoreboard .

      open an issue if you have problems or a suggestion.

      posted in Sport
      D
      dathbe
    • RE: Do you need to list moment and moment-timezone as dependencies in modules?

      @KristjanESPERANTO - while true, I also plan to replace moment when temporal is available

      posted in Development
      D
      dathbe
    • RE: MMM-MyScoreboard

      @BKeyport Awesome. Unrelated, but I love your MMM-Multimonth.

      posted in Sport
      D
      dathbe
    • 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.

      posted in Sport
      D
      dathbe

    Latest posts made by dathbe

    • RE: Do you need to list moment and moment-timezone as dependencies in modules?

      @sdetweil Maybe I’m wrong, and I haven’t spent a lot of time trying to test it, but I think regular moment will grab the date in the local timezone based on what is set in the system. You can’t do as much with OTHER timezones in regular moment, but I think at least that works. Whereas the regular javascript date will pull the date and time in UTC. That said, I do use moment-timezone in my modules–though some of them I have taken over maintaining, and they used regular moment to some success.

      posted in Development
      D
      dathbe
    • RE: Do you need to list moment and moment-timezone as dependencies in modules?

      @BKeyport I couldn’t get timezones working properly. So, for example, if you want to know what day it is, and you’re not on UTC, you’re liable to pull tomorrow’s date. Maybe I don’t know how to do it, but moment is pretty lightweight and makes a few things slightly easier.

      posted in Development
      D
      dathbe
    • RE: Do you need to list moment and moment-timezone as dependencies in modules?

      @KristjanESPERANTO - while true, I also plan to replace moment when temporal is available

      posted in Development
      D
      dathbe
    • 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

      posted in Custom CSS
      D
      dathbe
    • Family Mirror

      I finally got around to making my mirror presentable, so I thought I’d show it off.

      25-05-28 17-24-10 2891.jpg

      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.

      25-05-28 19-01-39 2892.jpg

      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 pages

      Page 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-Multimonth

      25-05-28 17-22-45 2886.jpg

      Page 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 up

      25-05-28 17-23-01 2887.jpg

      Page 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 up

      25-05-28 17-23-21 2888.jpg

      Page 4 - Sports
      MMM-MyScoreboard
      MMM-MyStandings - multiple instances
      MMM-PGA

      25-05-28 17-23-41 2889.jpg

      Page 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 up

      25-05-28 17-24-01 2890b.jpg

      The Future
      Adding touchscreen capabilities? This seems like a pain that would ruin the aesthetics, but maybe.

      posted in Show your Mirror
      D
      dathbe
    • 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.

      posted in Development
      D
      dathbe
    • 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??

      posted in Development
      D
      dathbe
    • RE: Daily Farside comic

      @oraclesean Be sure to add your module here https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules

      posted in Requests
      D
      dathbe
    • 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.

      posted in Sport
      D
      dathbe
    • 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.

      posted in Troubleshooting
      D
      dathbe