MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MacG
    3. Best
    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
    • 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

      @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
    • RE: MMM-Garbage : add different icon per wast type

      @johans With MMM-MyGarbage it will probably be difficult. There you can distinguish the icons only by their color assigned in the CSV.
      class=“garbage-icon” style=“fill: green”

      Try MMM-MyWastePickup with collectionCalendar: 'Custom'.

      posted in Requests
      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: Calendar shows hours left at holidays

      @sdetweil The timeFormat is relative by default. I used getRelative: 0 without changes at the display. Also with timeFormat: “absolute” only the display changed since hours instead of remaining hours. But with an additional urgency: 0 it works. Thank you, Sam!

      Oh yes, an adjustment of the format was also necessary. The dateFormat was no longer applied.

      Before:

      {
      	module: "calendar",
      	header: "Feiertage",
      	position: "top_left",
      	config: {
      		dateFormat: "D. MMM",
      		displaySymbol: false,
      		broadcastEvents: false,
      		hideTime: true,
      		fadePoint: 0.05,
      		fetchInterval: 24 * 60 * 60 * 1000,    // 1 day
      		calendars: [
      			{
      			maximumEntries: 3,
      			url: "webcal://localhost:8080/modules/calendar/feiertage.ics"
      			}
      		]
      	}
      },
      

      After changes:

      {
      	module: "calendar",
      	header: "Feiertage",
      	position: "top_left",
      	config: {
      		dateFormat: "D. MMM",
      		displaySymbol: false,
      		broadcastEvents: false,
      		hideTime: true,
      		timeFormat: "absolute",
      		getRelative: 0,
      		urgency: 0,
      		fullDayEventDateFormat: "D. MMM",
      		nextDaysRelative: true,   // shows Tomorrow and Today
      		fadePoint: 0.05,
      		fetchInterval: 24 * 60 * 60 * 1000,    // 1 day
      		calendars: [
      			{
      			maximumEntries: 3,
      			url: "webcal://localhost:8080/modules/calendar/feiertage.ics"
      			}
      		]
      	}
      },
      

      I can well do without the “today”.

      MMM-default-calendar_2.png

      Edit: The “Today” comes with the setting: nextDaysRelative: true.

      posted in Troubleshooting
      M
      MacG
    • 1 / 1