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

    CurlyQ12391

    @CurlyQ12391

    3
    Reputation
    3
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    CurlyQ12391 Unfollow Follow

    Best posts made by CurlyQ12391

    • RE: Requesting assistance with GroceryApp module

      @sdetweil my apologies.

      The code within the node_helper is mostly from the Kroger Developer documentation. However, I am very new to all this and there is a very good chance that I transferred the documentation over incorrectly or in a way that wont work. I may have incorrectly assumed that by using the Kroger Docs/code it would result in getting similar data to what I’d see upon logging into the mobile/desktop site.

      posted in Development
      C
      CurlyQ12391
    • RE: Requesting assistance with GroceryApp module

      @sdetweil, firstly I’d like to apologize for the gap in my response! I broke my main config shortly after posting this and ended up having to re-flashing my SD card and rebuilding my mirror back up the way I had it from scratch.

      I really appreciate you taking the time to answer my question.

      My intent with this module was to basically house my grocery cart, similar to the interface I have on my phone or visiting the website. I think that an easier approach might be to use an iFrame module for the website, but I was really wanting to utilize the authorization token process to prevent having to login each time - since the end goal is to have the Mirror up on the wall without a keyboard/mouse.

      posted in Development
      C
      CurlyQ12391
    • RE: Need help MMM-touch MMM-pages MMM-page indicator

      @MMRIZE, thank you for catching those gesture name errors and giving my another example. I FINALLY GOT IT :)

      		{
      			module: "MMM-Touch",
      			position: "bottom_bar",
      			    disabled: false,
      			    config: {
      				debug: false,
      				useDisplay: false,
      				autoMode: false,
      				defaultMode: "default",
      					gestureCommands: {
      					  "default":{
      							"TAP_1": (commander) => {commander.sendNotification("USER_PRESENCE", true);},
      							"SWIPE_LEFT_1": (commander) => {commander.sendNotification("PAGE_DECREMENT", null);},
      							"SWIPE_RIGHT_1": (commander) => {commander.sendNotification("PAGE_INCREMENT", null);},
      						},
      				}, 
      			}
      		},
      

      I tried to change things systematically to determine what truly made it start working was the addition of payload after “USER_PRESENCE” and oddly enough adding semicolons at the end of each gesture command.

      Hopefully this thread can help someone else down the line :)

      posted in Development
      C
      CurlyQ12391

    Latest posts made by CurlyQ12391

    • RE: MagicMirror Update & Primordial Error

      @sdetweil apologies for my delays response.

      I am absolutely willing to be a guinea pig, but I dont think that it ended up doing anything (unless I did it wrong?)

      @raspberrypi:~ $ cd /usr/local/lib/node_modules/npm
      @raspberrypi:/usr/local/lib/node_modules/npm $ npm install graceful-fs@latest
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      @raspberrypi:/usr/local/lib/node_modules/npm $ cd
      @raspberrypi:~ $ node -v
      v16.17.1
      @raspberrypi:~ $ 
      
      

      Is there a way to increase my node version outside of your installer script? Or would that not help for this particular issue?

      if the best fix is to rebuild SD card and re-install MM I can do that, but I am willing to keep tinkering.

      posted in Troubleshooting
      C
      CurlyQ12391
    • MagicMirror Update & Primordial Error

      Hello,

      I know there have been a few errors with the latest update, but the fixes from those posts haven’t worked (yet) for me.

      Like others, I recently updated my MM and now it wont display. pm2 seems to show that it is running but nothing displays on the screen. I troubleshooted myself using other posts and sdetweil’s MagicMirror_scripts, but nothing seems to be working for me. I am 90% sure that my main problem is that my Node version wont update and stays at 16. I’ve tried updating it independently and also through sdetweil’s MagicMirror_scripts (Apply and then using Force) to no avail.

      This is what happens when running sdetweil’s MagicMirror_scripts (Using Force):

      @raspberrypi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libc-ares2 libjs-highlight.js raspinfo
      Use 'sudo apt autoremove' to remove them.
      The following packages will be REMOVED:
        nodejs*
      0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
      After this operation, 185 MB disk space will be freed.
      (Reading database ... 114275 files and directories currently installed.)
      Removing nodejs (20.8.0-1nodesource1) ...
      dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
      Processing triggers for man-db (2.9.4-2) ...
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Reading package lists... Done
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      ca-certificates is already the newest version (20210119).
      curl is already the newest version (7.74.0-1.3+deb11u7).
      gnupg is already the newest version (2.2.27-2+deb11u2).
      The following packages were automatically installed and are no longer required:
        libc-ares2 libjs-highlight.js raspinfo
      Use 'sudo apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
      deb [arch=arm64  signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Get:3 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
      Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
      Fetched 15.4 kB in 1s (12.6 kB/s) 
      Reading package lists... Done
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following package was automatically installed and is no longer required:
        raspinfo
      Use 'sudo apt autoremove' to remove it.
      The following additional packages will be installed:
        libnode72 nodejs-doc
      Suggested packages:
        npm
      The following NEW packages will be installed:
        libnode72 nodejs nodejs-doc
      0 upgraded, 3 newly installed, 0 to remove and 22 not upgraded.
      Need to get 0 B/9,956 kB of archives.
      After this operation, 43.3 MB of additional disk space will be used.
      Selecting previously unselected package libnode72:armhf.
      (Reading database ... 108453 files and directories currently installed.)
      Preparing to unpack .../libnode72_12.22.12~dfsg-1~deb11u4_armhf.deb ...
      Unpacking libnode72:armhf (12.22.12~dfsg-1~deb11u4) ...
      Selecting previously unselected package nodejs.
      Preparing to unpack .../nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb ...
      Unpacking nodejs (12.22.12~dfsg-1~deb11u4) ...
      Selecting previously unselected package nodejs-doc.
      Preparing to unpack .../nodejs-doc_12.22.12~dfsg-1~deb11u4_all.deb ...
      Unpacking nodejs-doc (12.22.12~dfsg-1~deb11u4) ...
      Setting up libnode72:armhf (12.22.12~dfsg-1~deb11u4) ...
      Setting up nodejs-doc (12.22.12~dfsg-1~deb11u4) ...
      Setting up nodejs (12.22.12~dfsg-1~deb11u4) ...
      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
      Processing triggers for man-db (2.9.4-2) ...
      doing test run = false
      update log will be in /home/xxx/MagicMirror/installers/upgrade.log
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v20.8.0
      Installed Node version: v16.17.1
      Node should be upgraded.
      Installing Node.js ...
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libc-ares2 libjs-highlight.js raspinfo
      Use 'sudo apt autoremove' to remove them.
      The following packages will be REMOVED:
        libnode72 nodejs-doc
      The following packages will be upgraded:
        nodejs
      1 upgraded, 0 newly installed, 2 to remove and 22 not upgraded.
      Need to get 0 B/27.0 MB of archives.
      After this operation, 140 MB of additional disk space will be used.
      apt-listchanges: Reading changelogs...
      (Reading database ... 108704 files and directories currently installed.)
      Removing nodejs-doc (12.22.12~dfsg-1~deb11u4) ...
      dpkg: libnode72:armhf: dependency problems, but removing anyway as you requested:
       nodejs depends on libnode72 (= 12.22.12~dfsg-1~deb11u4).
      
      Removing libnode72:armhf (12.22.12~dfsg-1~deb11u4) ...
      (Reading database ... 108516 files and directories currently installed.)
      Preparing to unpack .../nodejs_20.5.1-deb-1nodesource1_armhf.deb ...
      Unpacking nodejs (20.5.1-deb-1nodesource1) over (12.22.12~dfsg-1~deb11u4) ...
      Setting up nodejs (20.5.1-deb-1nodesource1) ...
      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
      Processing triggers for man-db (2.9.4-2) ...
      node version is
      Node.js installation Done! version=v16.17.1
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      Minimum npm version: V10.1.0
      Installed npm version: V
      npm should be upgraded.
      Installing npm ...
      E: Unable to correct problems, you have held broken packages.
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      npm installation Done! version=V
      
      force: line 353: [: -ge: unary operator expected
      saving custom.css
      upgrading from version 2.25.0 to 2.25.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      force: line 593: [: -ge: unary operator expected
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      Checking for modules with removed libraries
      processing dependency changes for active modules with package.json files
      
      processing for module MMM-TouchButton please wait
      ----------------------------------
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      processing complete for module MMM-TouchButton
      
      processing for module MMM-ip please wait
      ----------------------------------
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      processing complete for module MMM-ip
      
      processing for module MMM-CalendarExt3 please wait
      ----------------------------------
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      processing complete for module MMM-CalendarExt3
      
      processing for module MMM-OpenWeatherForecast please wait
      ----------------------------------
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      processing complete for module MMM-OpenWeatherForecast
      
      processing for module MMM-Cursor please wait
      ----------------------------------
      evalmachine.<anonymous>:47
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.<anonymous>:47:5
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
          at Module.load (node:internal/modules/cjs/loader:1004:32)
          at Function.Module._load (node:internal/modules/cjs/loader:839:12)
          at Module.require (node:internal/modules/cjs/loader:1028:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
          at Module._compile (node:internal/modules/cjs/loader:1126:14)
      processing complete for module MMM-Cursor
      
      restoring custom.css
      

      Please let me know if you have any suggestions on where to start/go from here.

      *I am having trouble remoting back in, but I’ll post my logs once able.

      posted in Troubleshooting
      C
      CurlyQ12391
    • RE: MMM-CalendarExt3

      @MMRIZE,

      That did the trick! Adding “weekday” prevented the image from populating on multiple cells :) This module is by far my favorite because of how customizable it is.

      /* Labor Day - First Monday in September */
      .CX3 .month_9.date_1.weekday_1,
      .CX3 .month_9.date_2.weekday_1,
      .CX3 .month_9.date_3.weekday_1,
      .CX3 .month_9.date_4.weekday_1  {
        background-image: url("/modules/MMM-CalendarExt3/Backgrounds/LaborDay");
        background-position: center center;
        background-size: 60%;
        background-repeat: no-repeat;
      }
      

      The only one I haven’t been able to figure out is Easter Sunday because it is the first between March 22 and April 25. I dont believe CSS can handle that type of logic, maybe JS but thats a little too complex for me. For now I will just leave Easter off the calendar.

      posted in Utilities
      C
      CurlyQ12391
    • RE: MMM-CalendarExt3

      Hello, I hope that this is the correct place to ask about this…

      I’ve been playing around with adding backgrounds to my CalX3 for US holidays (example of the Valentines background below):
      1964916b-3525-40e5-a81b-7f691ef45676-image.png

      Since the CSS is applying the background to a specific month/date combo I am unsure how I can accommodate holidays that occur on the same day but different dates each year (e.g., Thanksgiving, Labor Day, etc).

      The below CSS is all the dates Labor Day could fall on, but this wouldn’t work unless I comment out the incorrect dates each year :/ any ideas/suggestions?

      /* Labor Day - First Monday in September */
      .CX3 .month_9.date_1,
      .CX3 .month_9.date_2,
      .CX3 .month_9.date_3,
      .CX3 .month_9.date_4,
      .CX3 .month_9.date_5,
      .CX3 .month_9.date_6,
      .CX3 .month_9.date_7,
      .CX3 .month_9.date_8 {
        background-image: url("/modules/MMM-CalendarExt3/Backgrounds/LaborDay");
        background-position: center center;
        background-size: 60%;
        background-repeat: no-repeat;
      }
      

      Thank you!

      posted in Utilities
      C
      CurlyQ12391
    • RE: Need help MMM-touch MMM-pages MMM-page indicator

      @MMRIZE, thank you for catching those gesture name errors and giving my another example. I FINALLY GOT IT :)

      		{
      			module: "MMM-Touch",
      			position: "bottom_bar",
      			    disabled: false,
      			    config: {
      				debug: false,
      				useDisplay: false,
      				autoMode: false,
      				defaultMode: "default",
      					gestureCommands: {
      					  "default":{
      							"TAP_1": (commander) => {commander.sendNotification("USER_PRESENCE", true);},
      							"SWIPE_LEFT_1": (commander) => {commander.sendNotification("PAGE_DECREMENT", null);},
      							"SWIPE_RIGHT_1": (commander) => {commander.sendNotification("PAGE_INCREMENT", null);},
      						},
      				}, 
      			}
      		},
      

      I tried to change things systematically to determine what truly made it start working was the addition of payload after “USER_PRESENCE” and oddly enough adding semicolons at the end of each gesture command.

      Hopefully this thread can help someone else down the line :)

      posted in Development
      C
      CurlyQ12391
    • RE: Need help MMM-touch MMM-pages MMM-page indicator

      @wishmaster270, Hello your last response was super helpful and I adopted many of the items you mentioned (e.g., z-index) - so thank you!!

      I realize this is from quite a while ago, but I am hoping for a bit more advice for this if possible. I have MMM-pages, MMM-page-indicator, and MMM-Touch; with your suggestions I am able to click the page-indicator buttons and switch through the pages I have set up. However, I still cannot get the “Swipe” to work. I can see that the swipe left/right gestures are being recognized using the developer console but they aren’t triggering MMM-pages or MMM-page-indicator to move.
      *I CAN see this successfully happen when pressing/tapping the indicator buttons, so I have an idea of what it should do.

      		{
      			module: "MMM-Touch",
      			position: "fullscreen_above",
      			    config: {
      					useDisplay: false,
      					defaultMode: "default",
      					gestureCommands: {
      						"MMM-page-indicator":{
      							"TAP_1": (commander) => {commander.sendNotification("PAGE_CHANGED")},
      						},
      						"MMM-pages":{
      							"MOVE_LEFT_1": (commander) => {commander.sendNotification("PAGE_DECREMENT")},
      							"MOVE_RIGHT_1": (commander) => {commander.sendNotification("PAGE_INCREMENT")},
      						},
      				}, 
      			}
      		},
      

      I noticed your code has either “true” or “null” at the end of the statement and I’ve seen other examples of this with numerical values. Any suggestions on how to best incorporate that into what I currently have set up?

      Thank you!

      posted in Development
      C
      CurlyQ12391
    • RE: Need help MMM-touch MMM-pages MMM-page indicator

      @crown,
      Did you end up getting anywhere with this? I have MMM-Touch and MMM-page-indicator but it seems to only work intermittently or upon first restarting MM. After that it just ignore any taps or swipes.

      I’ve tried calling “MMM-pages”, “MMM-page-indicator”, and also just “default” without luck.

      Just trying to figure out where I may have gone wrong.

      { 
      module: "MMM-Touch", 
      position: "bottom_bar", 
      config:{
      gestureCommands: {     
              "MMM-pages": {
                      "TAP": (commander) => { commander.sendNotification("PAGE_CHANGE")}
                       "SWIPE_RIGHT": (commander) => { commander.sendNotification("PAGE_INCREMENT")}
                        ,"SWIPE_LEFT": (commander) => { commander.sendNotification("PAGE_DECREMENT")}     
                                                 } 
                                }
                  }
      },
      
      posted in Development
      C
      CurlyQ12391
    • RE: Default Calendar Troubleshooting - "No Upcoming Events"

      @sdetweil omg you are amazing!

      I increassed the maximumEntries value to “1000000” and viola everything populated into MMM-CalendarExt3. I had previously increased it to “10000”, but apparently I just had too many old events.

      After the fix is rolled out should I decrease the maximumEntries value to a smaller number or can I leave it as is? I dont want to break mine after you fix it (haha).

      posted in Troubleshooting
      C
      CurlyQ12391
    • Default Calendar Troubleshooting - "No Upcoming Events"

      Hello,

      I am having some trouble with the default calendar module. I have the config set up I believe correctly and the secret iCal link downloads a file so I know that is working.

      Config:

      		{
      			module: "calendar",
      			header: "Skaggs Family Calendar",
      			position: "bottom_right", // This can be any of the regions. Best results in left or right regions.
      			config: {
      				maximumEntries: 365, // Total Maximum Entries
      				maximumNumberOfDays: 365,
      				fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
      				getRelative: 6,
      				fadePoint: 0.25, // Start on 1/4th of the list.
      				colored: true,
      				coloredSymbolOnly: false,
      				customEvents: [], // Array of {keyword: "", symbol: "", color: ""} where Keyword is a regexp and symbol/color are to be applied for matched
      				tableClass: "small",
      				calendars: [
      					{
      					symbol: "calendar-alt",
      					url: "https://calendar.google.com/calendar/ical/curlyq12391%40gmail.com/private-**xxxxxxxxx**/basic.ics",
      					}
      				],
      
      				broadcastEvents: true,
      				sliceMultiDayEvents: false,
      				broadcastPastEvents: true,
      				nextDaysRelative: false,
      				selfSignedCert: false
      			}
      		},
      

      I am able to see that the calendar IS broadcasting events through the log, so I assume that is functioning correctly…

      Logs:

      0|mm     | > magicmirror@2.20.0 start
      0|mm     | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|mm     | [28.09.2022 07:29.56.841] [LOG]   
      0|mm     | Starting MagicMirror: v2.20.0
      0|mm     | [28.09.2022 07:29.56.850] [LOG]   
      0|mm     | Loading config ...
      0|mm     | [28.09.2022 07:29.56.858] [LOG]   
      0|mm     | Loading module helpers ...
      0|mm     | [28.09.2022 07:29.56.863] [LOG]   
      0|mm     | No helper found for module: MMM-pages.
      0|mm     | [28.09.2022 07:29.56.867] [LOG]   
      0|mm     | No helper found for module: MMM-page-indicator.
      0|mm     | [28.09.2022 07:29.56.871] [LOG]   
      0|mm     | No helper found for module: alert.
      0|mm     | [28.09.2022 07:29.56.891] [LOG]   
      0|mm     | Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.56.894] [LOG]   
      0|mm     | Module helper loaded: updatenotification
      0|mm     | [28.09.2022 07:29.56.898] [LOG]   
      0|mm     | No helper found for module: clock.
      0|mm     | [28.09.2022 07:29.57.195] [LOG]   Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.57.197] [LOG]   Module helper loaded: calendar
      0|mm     | [28.09.2022 07:29.57.198] [LOG]   
      0|mm     | No helper found for module: MMM-CalendarExt3.
      0|mm     | [28.09.2022 07:29.57.232] [LOG]   
      0|mm     | Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.57.234] [LOG]   
      0|mm     | Module helper loaded: newsfeed
      0|mm     | [28.09.2022 07:29.57.334] [LOG]   
      0|mm     | Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.57.335] [LOG]   
      0|mm     | Module helper loaded: MMM-OpenWeatherForecast
      0|mm     | [28.09.2022 07:29.59.336] [LOG]   
      0|mm     | Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.59.337] [LOG]   Module helper loaded: MMM-RemoteCompliments
      0|mm     | [28.09.2022 07:29.59.339] [LOG]   
      0|mm     | No helper found for module: MMM-Cursor.
      0|mm     | [28.09.2022 07:29.59.342] [LOG]   
      0|mm     | Initializing new module helper ...
      0|mm     | [28.09.2022 07:29.59.342] [LOG]   Module helper loaded: MMM-Touch
      0|mm     | [28.09.2022 07:29.59.343] [LOG]   All module helpers loaded.
      0|mm     | [28.09.2022 07:29.59.468] [LOG]   
      0|mm     | Starting server on port 8080 ... 
      0|mm     | [28.09.2022 07:29.59.483] [LOG]   
      0|mm     | Server started ...
      0|mm     | [28.09.2022 07:29.59.485] [LOG]   Connecting socket for: updatenotification
      0|mm     | [28.09.2022 07:29.59.486] [LOG]   
      0|mm     | Starting module helper: updatenotification
      0|mm     | [28.09.2022 07:29.59.487] [LOG]   Connecting socket for: calendar
      0|mm     | [28.09.2022 07:29.59.488] [LOG]   Starting node helper for: calendar
      0|mm     | [28.09.2022 07:29.59.489] [LOG]   Connecting socket for: newsfeed
      0|mm     | [28.09.2022 07:29.59.490] [LOG]   Starting node helper for: newsfeed
      0|mm     | [28.09.2022 07:29.59.491] [LOG]   Connecting socket for: MMM-OpenWeatherForecast
      0|mm     | [28.09.2022 07:29.59.493] [LOG]   ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
      0|mm     | [28.09.2022 07:29.59.494] [LOG]   Connecting socket for: MMM-RemoteCompliments
      0|mm     | [28.09.2022 07:29.59.497] [LOG]   Starting node helper for: MMM-RemoteCompliments
      0|mm     | [28.09.2022 07:29.59.497] [LOG]   Connecting socket for: MMM-Touch
      0|mm     | [28.09.2022 07:29.59.498] [LOG]   Starting module helper: MMM-Touch
      0|mm     | [28.09.2022 07:29.59.498] [LOG]   Sockets connected & modules started ...
      0|mm     | [28.09.2022 07:29.59.855] [LOG]   
      0|mm     | Launching application.
      0|mm     | MESA-LOADER: failed to retrieve device information
      0|mm     | MESA-LOADER: failed to retrieve device information
      0|mm     | MESA-LOADER: failed to retrieve device information
      0|mm     | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm     | failed to load driver: kms_swrast
      0|mm     | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri)
      0|mm     | failed to load swrast driver
      0|mm     | [28.09.2022 07:30.03.015] [LOG]   
      0|mm     | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/curlyq12391%40gmail.com/private-**xxxxxxxxx**/basic.ics - Interval: 300000
      0|mm     | [28.09.2022 07:30.03.112] [LOG]   
      0|mm     | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      0|mm     | [28.09.2022 07:30.03.147] [INFO]  
      0|mm     | Checking git for module: MMM-pages
      0|mm     | [28.09.2022 07:30.03.210] [INFO]  
      0|mm     | Checking git for module: MMM-page-indicator
      0|mm     | [28.09.2022 07:30.03.243] [INFO]  
      0|mm     | Checking git for module: MMM-CalendarExt3
      0|mm     | [28.09.2022 07:30.03.301] [INFO]  
      0|mm     | Checking git for module: MMM-OpenWeatherForecast
      0|mm     | [28.09.2022 07:30.03.331] [INFO]  
      0|mm     | Checking git for module: MMM-RemoteCompliments
      0|mm     | [28.09.2022 07:30.03.362] [INFO]  
      0|mm     | Checking git for module: MMM-Cursor
      0|mm     | [28.09.2022 07:30.03.400] [INFO]  
      0|mm     | Checking git for module: MMM-Touch
      0|mm     | [28.09.2022 07:30.03.432] [INFO]  
      0|mm     | Checking git for module: default
      0|mm     | [28.09.2022 07:30.03.760] [INFO]  
      0|mm     | Newsfeed-Fetcher: Broadcasting 38 items.
      0|mm     | [28.09.2022 07:30.08.243] [INFO]  
      0|mm     | Calendar-Fetcher: Broadcasting 365 events.
      
      

      However, when MM renders the module just says “No Upcoming Events”.

      is there anything that I seem to be missing or something I can try? I can get the calendar to load with MMM-GoogleCalendar, but that module doesn’t broadcast past events so it makes MMM-CalendarExt3 pointless…which is why I was trying to use the default calendar module instead.

      posted in Troubleshooting
      C
      CurlyQ12391
    • RE: IR Frame not responding while using MM

      @sdetweil, I was able to find some older posts to enable the mouse so thats functioning at least :)

      I just find it so odd that MM responded to the IR Frame before re-doing everything and now it doesn’t want to cooperate.

      Do you think that MMM-Touch or MMM-touchgestures could integrate the IR Frame into MM?

      posted in Troubleshooting
      C
      CurlyQ12391