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

    Posts

    Recent Best Controversial
    • RE: calendar module - format today events with time

      @sdetweil Thank you for the quick reply.
      IfI set

      urgency: 1
      

      then an appointment for today is displayed like this

      Test appointment                            in 4 hours
      

      but I would like to have the display

      Test appointment                              today, 17:00
      

      how can I achieve this?
      thanks
      Josef

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • calendar module - format today events with time

      Hi,
      I would like to format the calendar events of today and tomorrow relatively with time. All other events should be formatted in the form “ddd, D.MMM, HH:mm”.
      In the new version there is a new config option showTimeToday with which I should be able to do this. But I don’t get along with it and need help.
      The events should be displayed like this for example:

      appointment-1                 Heute, 18:00
      appointment-2                Morgen, 14:00
      appointment-3            Mo, 30.Okt, 09:00
      

      my config is

      {
      		module: "calendar",
      		header: "Nächste Termine ",
      		position: "top_left",
      		config: {
      			fetchInterval: 600000, // 10 Minuten
      			calendars: [
      				{
      					/* Kalender Paula */
      					symbol: "female",
      					url: "....ics"
      				},
      				{
      					/* Kalender Sepp */
      					symbol: "male",
      					url: "....ics"
      				},
      			],
      			maxTitleLength: 21,
      			wrapEvents: false,
      			dateFormat: "ddd, D.MMM, HH:mm",
      			fullDayEventDateFormat: "ddd, D.MMM",
      			timeFormat: "absolute",
      			getRelative: 12,
      			urgency: 0,
      			showEnd: false,
      			maximumEntries: 6,
      			fade: false,
      			hidePrivate: false,
      			nextDaysRelative: true,
      			sliceMultiDayEvents: false,
      			showTimeToday: true,
      		}
      	},
      

      Many thanks for any help.

      Many greetings
      Sepp

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: Moment Timezone / Invalid time value

      @sdetweil I am sorry, I don’t know anymore what the bad tz was.i believe it was undefined, but I don’t know… Sorry

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: Moment Timezone / Invalid time value

      … solved for me now …

      I have just deleted one of my oldest serial appointments. It had one of the above tzid (unfortunately I don’t know which one) and the error messages have disappeared …

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: Moment Timezone / Invalid time value

      @sdetweil yes, of course I did. I work exclusively via ssh. But the command above seems to try to open a window. Unfortunately, this then breaks off with

      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
      

      i found these tzid

      "tzid":"W. Europe Standard Time"
      "tzid":"undefined"
      "tzid":"Customized Time Zone"
      

      The first one is my time zone.
      I try to identify the outlook calender entries, so that i can probably fix this there. I’m just wondering why this suddenly occurs. So it must be a newly added appointment that is causing the problem. I just can’t remember which appointments I have recently added :worried_face:

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: Moment Timezone / Invalid time value

      Hi,
      I have now also received this error message. Unfortunately, my mirror is “deeply” integrated so that I cannot connect a keyboard and mouse. So I cannot easily create the log file as described above without removing the mirror from the wall.

      Is it possible to recognise the wrong time zone from the data excerpt you posted here?

      @thger1312 said in Moment Timezone / Invalid time value:

      40447359-e2a8-40b7-bceb-826bf7bd3088-grafik.png

      I couldn’t find anything suspicious at the moment. What have I overlooked?

      Thank you
      Sepp

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: CORS Policy Issue - different at electron and remote Chrome Browser

      @karsten13 wow, thank you a lot. it works now. That was easy …

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • CORS Policy Issue - different at electron and remote Chrome Browser

      Hi,
      I have recently integrated the module octomirror-module. This module accesses the API of octoprint, a controller for 3D printers, and displays the status of the same.

      But now no data is displayed on the mirror in the module.

      MagicMirrorOctomirrorModulefromMirror.jpg

      An analysis on the MagicMirror browser showed the following error

      Access to XMLHttpRequest at 'http://192.168.178.157:5000/api/files' 0.0.0.0/:1 from origin 'http://0.0.0.8080' has been blocked by CORS policy. The request client is not a secure context and the resource is in more -private address space 'private'.
      

      However, when I call MagicMirror remotely with the Chrome browser, the module data is displayed correctly.

      MagicMirrorOctomirrorModule.jpg

      I’m not a specialist, but it seems that the MagicMirror browser makes the difference here.

      Is there any way to fix this?

      Many greetings

      Sepp

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: MMM-Hue CORS Policy Issue

      @CarstenD said in MMM-Hue CORS Policy Issue:

      There is now a new version available for MMM-Homematic that also works w/o changing the config.

      Hi @CarstenD ,

      where can I find this new version? At https://github.com/Sickboy78/MMM-Homematic is still the old version.

      Sorry, but i don’t get it

      Regards
      Josef

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • RE: [ERROR] Moment Timezone has no data for Customized Time Zone

      Thanks a lot @sdetweil

      ok, then i have to erase the log files often, so that the file system doesn’t crash … :-)

      posted in Troubleshooting
      spitzlbergerjS
      spitzlbergerj
    • 1 / 1