• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Extra offset for MMM-Calendar possible?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
calendaroffset
5 Posts 2 Posters 669 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    OberfragGER
    last edited by OberfragGER Dec 28, 2021, 9:19 PM Dec 28, 2021, 9:14 PM

    Hi,

    i have an online-trash shedule. Every entry is set to 0 AM. I want to show 7 Am for this entries.

    Is there any possibility to set the timezone just for this calendar or add an extra offset (+7h) for it?

    The entries looking like this:

    BEGIN:VCALENDAR VERSION:2.0 PRODID:Stadtreinigung Hamburg//Abfuhrkalender//DE NAME:SRH Abfuhren X-WR-CALNAME:SRH Abfuhren DESCRIPTION:Aktuelle Abholtermin in Hamburg X-WR-CALDESC:Aktuelle Abholtermin in Hamburg REFRESH-INTERVAL;VALUE=DURATION:PT720M X-PUBLISHED-TTL:PT720M BEGIN:VTIMEZONE TZID:Europe/Berlin BEGIN:STANDARD DTSTART:20211031T030000 TZOFFSETFROM:+0200 TZOFFSETTO:+0100 END:STANDARD BEGIN:DAYLIGHT DTSTART:20220327T030000 TZOFFSETFROM:+0100 TZOFFSETTO:+0200 END:DAYLIGHT BEGIN:STANDARD DTSTART:20221030T030000 TZOFFSETFROM:+0200 TZOFFSETTO:+0100 END:STANDARD END:VTIMEZONE BEGIN:VEVENT UID:61cb7d06acf53 DTSTAMP;TZID=Europe/Berlin:20211228T220926 SUMMARY:Abfuhr gelbe Wertstofftonne/-sack DESCRIPTION:Die Abholung erfolgt ab 6:00 Uhr LOCATION:Location here TRANSP:TRANSPARENT DTSTART;TZID=Europe/Berlin;VALUE=DATE:20211229 X-SRH-CONTAINER-TYPE:yellow END:VEVENT BEGIN:VEVENT UID:61cb7d06ad707 DTSTAMP;TZID=Europe/Berlin:20211228T220926 SUMMARY:Abfuhr schwarze Restmülltonne DESCRIPTION:Die Abholung erfolgt ab 6:00 Uhr LOCATION:Location hereTRANSP:TRANSPARENT
    
    S 1 Reply Last reply Dec 28, 2021, 10:59 PM Reply Quote 0
    • S Offline
      sdetweil @OberfragGER
      last edited by sdetweil Dec 28, 2021, 11:03 PM Dec 28, 2021, 10:59 PM

      @oberfragger u can set the tz for an event and then it will show relative to your tz.

      or set offset of that timezone

      don’t know what your calendar service will allow
      in my Android app for calendar I can select tz for one event

      there is no way to do it in the mm calendar module

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Dec 28, 2021, 11:09 PM Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by sdetweil Dec 28, 2021, 11:10 PM Dec 28, 2021, 11:09 PM

        @sdetweil but

        you could write a little tool that downloads the ics file locally (it’s just text), then use some tool (sed, aka stream editor), to edit the file,
        and config mm to use the file

        pretty easy in bash

        loop forever
        sleep 10 minutes
        curl to download file
        sed -i file … (-i is in place)
        loop again

        use pm2 to start the bash script
        pm2 save

        then will start on boot too

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        O 1 Reply Last reply Dec 28, 2021, 11:17 PM Reply Quote 0
        • O Offline
          OberfragGER @sdetweil
          last edited by OberfragGER Dec 28, 2021, 11:19 PM Dec 28, 2021, 11:17 PM

          @sdetweil No sorry,
          its not possible to edit the dates. Its an offical calendar from Stadtreinigung Hamburg.

          And also to download it and change that… lets see, but thanks for your hint into that direction.
          Also i have seen that this is an event for the whole day.

          S 1 Reply Last reply Dec 29, 2021, 12:13 AM Reply Quote 0
          • S Offline
            sdetweil @OberfragGER
            last edited by Dec 29, 2021, 12:13 AM

            @oberfragger a whole day event is just an event without a time.

            add Thhmmss
            and it’s no longer a full day event

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy