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

    Posts

    Recent Best Controversial
    • RE: MMM-PenPlotter -Render mesmerizing line animations on your mirror!

      @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

      posted in Showcase
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-PenPlotter -Render mesmerizing line animations on your mirror!

      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']
                          }
       },
      posted in Showcase
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @mumblebaj just removed the MMM-Strava module and installed from scratch. Still seeing the same issue. Would you by chance be able to do any direct troubleshooting with me? I am on discord in the MM channel and can dm you in there, if you have any free time at any point.

      Note: when I click the authorize button a the Stava auth site after being redirected there from my MM on the RPI, in Electron, I see this generated:

      [03.05.2022 10:13.13.537] [ERROR] Whoops! There was an uncaught exception…
      [03.05.2022 10:13.13.538] [ERROR] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
      at new NodeError (node:internal/errors:371:5)
      at ServerResponse.setHeader (node:_http_outgoing:576:11)
      at ServerResponse.header (/home/jberk1984/MagicMirror/node_modules/express/lib/response.js:776:10)
      at ServerResponse.location (/home/jberk1984/MagicMirror/node_modules/express/lib/response.js:893:15)
      at ServerResponse.redirect (/home/jberk1984/MagicMirror/node_modules/express/lib/response.js:931:18)
      at /home/jberk1984/MagicMirror/modules/MMM-Strava/node_helper.js:185:10
      at /home/jberk1984/MagicMirror/modules/MMM-Strava/node_helper.js:451:5
      at node:fs:2122:7
      at FSReqCallback.oncomplete (node:fs:188:23) {
      code: ‘ERR_HTTP_HEADERS_SENT’

      So the issue seems to be whatever is causing that. I never do see the token.js being generated after clicking the authorize button. My client and secret ID are correct in my config.js file (can’t tell you how many times I have checked to make sure)

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @sdetweil my bad, thanks! I corrected my post

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @mumblebaj I did attempt a reinstall of the MMM-Strava module but can certainly do it again. Is best method to rm-rf the MMM-Strava modiue folder and then redo the steps listed in the Github for MMM-Strava?

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @mumblebaj Thanks for the response.

      • yes npm install was run the MMM-Strave folder
      • yes I did the browser auth on the RPI as well
      • no, I do not see a tokens file in the MMM-Strava folder after attempting the authorization:
        90f6ba7f-f899-400e-9237-eecf527d394f-image.png
      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @mumblebaj Any ideas here? Would really like to get this functional. Appreciate any help!

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @mumblebaj Yes, I did:
      8a60dda2-8221-4bfd-98cf-052c31de2e72-image.png

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @sdetweil changed it
      b70d56bf-d220-4654-b02f-ad36643e0ecc-image.png

      No luck though. I see lots of errors with Dev tools from PiHole module if I change from 0.0.0.0 to the IP of the RPI4

      8a822a9f-58fc-440b-ba25-0f7f62e8d7d0-image.png

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • RE: MMM-Strava ID Unauthorized

      @BerkSmash1984 Opening developer tools shows the following at this point in the authorization:

      0603115f-0d2a-4902-bb77-41a0be3d9002-image.png

      Note: I have my pihole disabled while testing, as it is also on this RPI

      posted in Health
      BerkSmash1984B
      BerkSmash1984
    • 1 / 1