• 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.

MMM-EventHorizon

Scheduled Pinned Locked Moved Fun & Games
41 Posts 8 Posters 17.5k Views 8 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.
  • S Offline
    swvalenti Project Sponsor @Mykle1
    last edited by Oct 17, 2019, 11:35 AM

    @Mykle1 doing something wrong when added justDays, now a config error shows…ideas?

    {
    	disabled: false,
    	module: 'MMM-EventHorizon',
    	position: 'top_left',
    	config: {
        	timezone: "n2268",                     // See Timezone chart at bottom
    	justDays: “yes”,
        	size: "large",                        // small, medium or large
        	countUp: "yes",                       // Count up after timer ends
        	date: "2026-09-04",                   // YYYY-MM-DD format ONLY
        	time: "23:59:59",                     // (HH:MM:SS)    Exact time you want timer to end
        	text1: "Until Retirement",         // 2 lines of text during timer
        	text2: "Bitches!",               // 2 lines of text during timer
        	text1Color: "4169E1",                 // Hex color codes
        	text2Color: "C0C0C0",                 // Hex color codes
        	timerColor: "FFFFFF",                 // Hex color codes
        	endText1: "When timer ends",          // 2 lines of text when timer ends
        	endText2: "Say something here",       // 2 lines of text when timer ends
        	endText1Color: "FFFFFF",              // Hex color codes
        	endText2Color: "62FF00",              // Hex color codes
        	timerUpColor: "FFFFFF",               // Hex color codes
        	colorpc: "000",                       // color of the background 000 = black, t = transparent
      	}
    
    S 1 Reply Last reply Oct 17, 2019, 12:57 PM Reply Quote 0
    • S Away
      sdetweil @swvalenti
      last edited by Oct 17, 2019, 12:57 PM

      @swvalenti Wrong double quote characters. Type it from the keyboard, not cut/paste

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Oct 17, 2019, 8:15 PM Reply Quote 2
      • S Offline
        swvalenti Project Sponsor @sdetweil
        last edited by Oct 17, 2019, 8:15 PM

        @sdetweil said in MMM-EventHorizon:

        @swvalenti Wrong double quote characters. Type it from the keyboard, not cut/paste

        I’m an idiot thank you sir that fixed it. Thanks @Mykle1 for the quick update! You guys rock.

        M 1 Reply Last reply Oct 17, 2019, 8:57 PM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @swvalenti
          last edited by Oct 17, 2019, 8:57 PM

          @swvalenti said in MMM-EventHorizon:

          Thanks @Mykle1 for the quick update! You guys rock.

          You’re welcome, mate. Turned out to be a rather easy update. I’m glad you suggested it because now the module has more, better options and should appeal to more users.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • M Offline
            Mykle1 Project Sponsor Module Developer @swvalenti
            last edited by Oct 17, 2019, 9:02 PM

            @swvalenti said in MMM-EventHorizon:

            Any way to add years to this?

            Ok, I meant there was no “YEARS” option. justDays option was the best I could do for you as the site does not offer that option.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • B Offline
              BKeyport Module Developer
              last edited by Jul 15, 2020, 8:17 PM

              Hey, Mykle,

              I’ve got EventHorizon jumping out of it’s box when it’s grouped with other modules.

              Capture.PNG

              When it’s by itself, It’s fine.

              523e544d-f320-49db-b0e3-149920814a36-image.png

              Any clues?

              The "E" in "Javascript" stands for "Easy"

              M 1 Reply Last reply Jul 16, 2020, 1:11 AM Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @BKeyport
                last edited by Mykle1 Jul 16, 2020, 1:13 AM Jul 16, 2020, 1:11 AM

                @BKeyport said in MMM-EventHorizon:

                Any clues?

                css? I think I set that up that way for my personal use. Give the css file a look.

                Create a working config
                How to add modules

                B 1 Reply Last reply Jul 17, 2020, 4:37 AM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @Mykle1
                  last edited by Jul 17, 2020, 4:37 AM

                  @Mykle1 Yeah, it was the right-margin.

                  it was set to -120px, and in my case I need to have it at -40px.

                  thanks for the clue.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    swvalenti Project Sponsor
                    last edited by Dec 21, 2020, 11:30 PM

                    @Mykle1 Yo brother is there anyway to add to the code to subtract weekends and number of holidays?

                    M 1 Reply Last reply Dec 22, 2020, 1:16 AM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @swvalenti
                      last edited by Mykle1 Dec 22, 2020, 1:19 AM Dec 22, 2020, 1:16 AM

                      @swvalenti

                      It’s an iframe module which means, in this case, you only have access to certain elements. Manipulating the return can only be done to those elements. What you’re asking for is not one of the elements available and is done automatically by the site where the data is coming from.

                      Then again, I’m really just a hobbyist programmer. There may be a way that is beyond my simple knowledge. Feel free to fork the module and experiment to your liking.

                      Peace bro.

                      Create a working config
                      How to add modules

                      S 1 Reply Last reply Aug 29, 2021, 8:09 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      • First post
                        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