• 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-PenPlotter -Render mesmerizing line animations on your mirror!

Scheduled Pinned Locked Moved Showcase
18 Posts 7 Posters 11.3k Views 7 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.
  • B Offline
    BerkSmash1984
    last edited by Mar 2, 2023, 4:04 PM

    Will this work in any valid position and with MMM-Pages, using classes? I attempted to add the module to page 2 of my MM setup, but nothing is displaying, and no errors in dev console. Here is my config:

     {
                        module: 'MMM-PenPlotter',
                        disabled: false,
                        position: 'top_left',
                        classes: 'page_2',
                        config: {
                                imagePaths: ['modules/MMM-PenPlotter/example_svg']
                        }
     },
    S 1 Reply Last reply Mar 2, 2023, 4:13 PM Reply Quote 0
    • S Offline
      sdetweil @BerkSmash1984
      last edited by Mar 2, 2023, 4:13 PM

      @BerkSmash1984 what is the pages config?

      do other modules appear on page_2?

      if u disable pages, does the content appear?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Mar 2, 2023, 4:20 PM Reply Quote 0
      • B Offline
        BerkSmash1984 @sdetweil
        last edited by Mar 2, 2023, 4:20 PM

        @sdetweil Thanks for the response

        Yes, all other modules appear fine on page 2. Here is my pages config:

          {
                            module: 'MMM-pages',
                             disabled: false,
                            config: {
                                    modules:
                                            [[ "page_1",], ["page_2"]],
                                    // fixed: [ "clock", "MMM-Wallpaper", "MMM-page-indicator" ],
                                    rotationTime: 30000,
                            }
        },
        

        I did confirm that after disabling MMM-Pages, it does work

        S 1 Reply Last reply Mar 2, 2023, 4:29 PM Reply Quote 1
        • S Offline
          sdetweil @BerkSmash1984
          last edited by Mar 2, 2023, 4:29 PM

          @BerkSmash1984 the module delay time is 65 seconds and u have 30 seconds for pages.

          so the module is waiting, and then gets hidden, restarting on show. then hidden…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Mar 2, 2023, 4:32 PM Reply Quote 1
          • B Offline
            BerkSmash1984 @sdetweil
            last edited by Mar 2, 2023, 4:32 PM

            @sdetweil Thanks! Yup I just realized that too and changed the value for MMM-Pages to 6500 and it works. Only thing now is, if you have a background (I am using MMM-Wallpaper to display random in images from Bing and Chromecast) you will see an outline of the whole image instead of what is being drawn.

            953bea59-8cf8-427a-8bc3-9a0d201bc7fb-image.png

            Wonder if there is a way to address that, besides disabling the background wallpaper…

            S 1 Reply Last reply Mar 2, 2023, 4:36 PM Reply Quote 1
            • S Offline
              sdetweil @BerkSmash1984
              last edited by Mar 2, 2023, 4:36 PM

              @BerkSmash1984 welcome to the fun of backgrounds!

              somehow you would need to make the image background not transparent, but you will get a big black box instead

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Mar 2, 2023, 4:39 PM Reply Quote 1
              • B Offline
                BerkSmash1984 @sdetweil
                last edited by Mar 2, 2023, 4:39 PM

                @sdetweil lol Indeed! Still a cool module. I will likely go back and forth between this and MMM-Wallpapers… Thanks for your help Sam

                T 1 Reply Last reply Mar 3, 2023, 12:41 PM Reply Quote 0
                • T Offline
                  tdw @BerkSmash1984
                  last edited by Mar 3, 2023, 12:41 PM

                  @BerkSmash1984
                  I use both MMM-PenPlotter and MMM-Wallpaper (the jupadin version) and was able to make the images transparent with no black box. You need to edit each of the svg files in the example_svg folder.

                  Most of the files were updated by adding

                  fill="transparent"
                  

                  in the section with:

                  <desc>pwidth:500;pheight:500;</desc>
                      <path
                         stroke="#999999"
                         stroke-width="0.2mm"
                         fill="transparent"
                         
                  

                  There were a couple where background was already defined in the 3rd row of the files so it had to be updated there. Let me know if you need more specifics.

                  1 Reply Last reply Reply Quote 2
                  • B Offline
                    BerkSmash1984
                    last edited by Mar 20, 2023, 6:49 PM

                    Oh awesome! I am just now seeing this. Let me give it a go!

                    B 1 Reply Last reply Mar 20, 2023, 7:04 PM Reply Quote 0
                    • B Offline
                      BerkSmash1984 @BerkSmash1984
                      last edited by Mar 20, 2023, 7:04 PM

                      @tdw
                      That did indeed work. Many thanks!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • 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