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

    Posts

    Recent Best Controversial
    • Calendar shows hours left at holidays

      I use the default calendar to display the holidays (“Feiertage”) here in Germany. For example, today is one and is displayed that it is “Noch 14 Stunden” (14 hours left). But there I would like to have the display “Heute” (today) or the date. Also because the 14 hours are calculated using UTC time and not the local time.

      I can’t find anything suitable in the calendar configuration. Does anyone know the solution?

      MMM-default-calendar.png

      posted in Troubleshooting
      M
      MacG
    • RE: MMM-Worldclock

      It’s a superb module but needs some CSS adjustments. Thanks for the helpful hints here in the thread.

      Is it possible to update the clock only when the time has changed? The current refresh is every second, but I only use a clock with hours and minutes.

      That might also lower the load on the browser and it would probably be helpful for CSS customizations via the browser developer tools.

      MMM-Worldclock.png

      posted in Utilities
      M
      MacG
    • RE: Change current CSS with a module?

      @macg said in Change current CSS with a module?:

      After your post from Friday, I had the idea to create maybe two instances of the MMM-BackgroundSlideshow. One with and one without gradient. …

      This doesn’t work. Also not with the second instance as “fullscreen_above”. So back to plan A again.

      posted in Development
      M
      MacG
    • RE: Cursor shown in v2.16.0

      I have that too but am still in the setup phase from the Magic Mirror. The mouse and keyboard are still connected. Have you seen these solutions?

      https://forum.magicmirror.builders/topic/9859/mouse-arrow-doesn-t-hide-after-magicmirror-is-loaded
      https://github.com/evghenix/MMM-Cursor

      A transparent PNG or GIF file will probably not work either, because a mouse movement is expected.

      cursor: url(pointer.png), none;
      

      the “none” is a necessary fallback.

      posted in Troubleshooting
      M
      MacG
    • RE: Change current CSS with a module?

      @sdetweil I know. Fortunately, from my logical point of view, the background is with one of the first modules.

      After your post from Friday, I had the idea to create maybe two instances of the MMM-BackgroundSlideshow. One with and one without gradient. With the MMM-Remote-Control, I could then set active the instance which is needed. So that the dashboard is readable and the gallery mode is without gray haze. That would save me the module programming. Is everything new for me anyway.

      posted in Development
      M
      MacG
    • RE: Change current CSS with a module?

      @sdetweil The ID is well known because I have already changed or tried some things with the custom.css. It’s “module_1_MMM-BackgroundSlideshow”.

      posted in Development
      M
      MacG
    • RE: Which power option is preferable?

      I use option 2. So I have only one cable on the wall to the mirror. In my case 19V DC and behind the monitor is the buck converter for the 5V of the Raspberry Pi 4.

      posted in Hardware
      M
      MacG
    • RE: Change current CSS with a module?

      @sdetweil Thank you!

      This seems to be more difficult, than expected. I’ll take a look at it. So far, I have only programmed with the script language AutoIt.

      Why would the loop through the modules be necessary? To find the ID of the background module or to set the changes to the module?

      posted in Development
      M
      MacG
    • RE: Change current CSS with a module?

      @sdetweil Thanks a lot! Then I will look into creating modules.

      posted in Development
      M
      MacG
    • Change current CSS with a module?

      Would it be technically possible to switch a class off and on in the CSS with a module? I know that is possible with the custom.css, only I would need two custom.css to create the two different displays.

      It’s specifically about the Gradient of MMM-BackgroundSlideshow. Currently, I disable that, if desired, with the developer tools from the browser. This is not a permanent solution, because the digital dashboard should run without a mouse and keyboard.

      In advance, thanks for your help!

      posted in Development
      M
      MacG
    • RE: Go Big ! Samsung TV

      My first idea would be to use the Raspberry Pi as an infrared transmitter using LIRC and send the appropriate ON/OFF commands to the TV.

      The second is that there are remote apps for cell phones. So there is also a Samsung TV network remote control protocol. This could also be used to control the TV. On Github, you can find some information about TCP/IP connections with “samsung remote”.

      posted in Hardware
      M
      MacG
    • RE: MMM-DWD-WarnWeather - Wetterwarnungen

      @majorc said in MMM-DWD-WarnWeather - Wetterwarnungen:

      … Is there a way to hide the hole module if no warnings are present at the moment? …

      I would want to have that as well. ;)

      posted in Utilities
      M
      MacG
    • RE: MMM-Remote-Control can't hide MMM-CalendarExt2

      It works with class.

      classes:  {
           "Hide and show Calendar": {
                 toggle: ["MMM-CalendarExt2"],
                 },
      }
      

      But there is a third possibility. I use CalendarExt2 only for one calendar in “views: []”. I copied its position under the line “modules = ‘MMM-CalendarExt2’,”. Now it is visible in the “Edit View” of MMM-Remote-Control. :)

      posted in Troubleshooting
      M
      MacG
    • RE: MMM-Remote-Control can't hide MMM-CalendarExt2

      Here is the answer from the programmer:

      “What you can do, is use a custom menu to show or hide the module. You can read more about it in here
      Or, to just get over it with some simple coding, set a class for that module.”

      I will try it with class.

      posted in Troubleshooting
      M
      MacG
    • RE: MMM-Remote-Control can't hide MMM-CalendarExt2

      @sdetweil Thank you, I just did.

      Via another Issue, I came to a URL command that does what I wanted.

      http://localhost/remote?action=HIDE&force=true&module=MMM-CalendarExt2

      Show again works also.
      http://localhost/remote?action=SHOW&force=true&module=MMM-CalendarExt2

      posted in Troubleshooting
      M
      MacG
    • MMM-Remote-Control can't hide MMM-CalendarExt2

      For me, this is the first project with a Raspberry Pi. I am building a dashboard. MagicMirror is great and there are already modules installed that I hadn’t thought of before.

      Now to my problem. I am using CalendarExt2 because I could not get the older CalendarExt to work. It looks fine so far, only I can’t hide CalendarExt2 with Remote-Control. It is also not offered to me at “Edit View”. With “Hide all” all modules disappear, except the CalendarExt2. With Remote-Control on the cell phone, however, CalendarExt2 can be found under “Updates”. Why not in “Edit View”? Is it possible to add this function somehow?

      posted in Troubleshooting
      M
      MacG
    • 1 / 1