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

    Posts

    Recent Best Controversial
    • [newsfeed] no description with ARTICLE_MORE_DETAILS notification

      Same issue posted on github

      Hello everyone,

      Do you know why I need to call twice the notification ARTICLE_MORE_DETAILS to the MM to display the current news in an IFRAME ?

      The first call is just blinking once the title with no more effect.

      The second consecutive call display the article in fullscreen page.

      So, I need to call twice the ARTICLE_MORE_DETAILS if I want to read the news…

      Documentation :

      When received the first time, shows the corresponding description of the currently displayed news title. 
      The module expects that the module's configuration option showDescription is set to false (default value). 
      
      When received a second consecutive time, shows the full news article in an IFRAME. 
      

      The showDescription option isn’t defined on my config.js so the default value is false.

      I think the articles doesn’t contains any description as requested by the module. But in this case, is it possible to directly show the article is an IFRAME ?

      Or maybe do you know how to have a description ? What the module is expected to display it ? (News from https://actu.fr/toulouse/rss.xml if you want to test it)

      Thank you

      posted in Troubleshooting
      S
      selyjohns
    • RE: NEWSFEED - Impossible to display full article

      Try it with this RSS feed : https://actu.fr/toulouse/rss.xml

      Did you successful display article in an iframe ?

      posted in Troubleshooting
      S
      selyjohns
    • RE: NEWSFEED - Impossible to display full article

      @sdetweil I think you speak about the address parameter in the let config

      let config = {
              address: "0.0.0.0",     // Address to listen on, can be:
                                                              // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                              // - another specific IPv4/6 to listen on a specific interface
                                                              // - "0.0.0.0", "::" to listen on any interface
                                                              // Default, when address config is left out or empty, is "localhost"
              port: 8080,
      
      

      Was 0.0.0.0, replace with local IP of the Pi, but not better…

      posted in Troubleshooting
      S
      selyjohns
    • RE: NEWSFEED - Impossible to display full article

      @sdetweil
      Thank you for your reply.
      I don’t undersrand where you want I’ll do this change ?

      Thank you

      posted in Troubleshooting
      S
      selyjohns
    • NEWSFEED - Impossible to display full article

      Hello everyone,

      I want to see details of current news displayed with notification ARTICLE_MORE_DETAIL or ARTICLE_TOGGLE_FULL notification, but this is not functionnal (just display black screen)

      Logs

      0 | mm
      (node:26811) electron: Failed to load URL: https://XXX  with error:ERR_BLOCKED_BY_RESPONSE
      

      I think this is because the website block iframe to avoid click-jacking (https://stackoverflow.com/questions/48668767/error-when-loading-an-external-url-in-an-iframe-with-electron), so there is no possibilities in this case ?

      Thank you for your help !

      posted in Troubleshooting
      S
      selyjohns
    • MMM-Scheduler - Optimize schedule

      Hello everyone,

      I use the MMM-Scheduler to display/hide some modules. I need 3 programmations

      • 6:00 to 9:00 from monday to friday
      {from: '0 6 * * 1-5', to: '0 9 * * 1-5'}
      
      • All day of the week end
      {from: '* 0 * * SAT', to: '59 23 * * SUN'},
      
      • And “others” (so monday to friday between 0:00 and 9:00 and between 9:00 and 0:00)
      {from: '0 9 * * 1-5', to: '59 23 * * 1-5'},
      {from: '* 0 * * 1-5', to: '59 5 * * 1-5'}
      

      but I think it’s not very optimized…
      How would you do ?

      Thank you for your help ! :)

      posted in Troubleshooting
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @sdetweil @tanvir586
      Yes…Already tested. No fonctionnal

      posted in Development
      S
      selyjohns
    • RE: NODE.JS problem after 2.19

      Hi,
      Please look like at
      https://forum.magicmirror.builders/topic/16074/electron-rebuild-and-magicmirror-v2-18-and-more/24?_=1648901728548

      So no solution.
      Problem “solved”.

      Nice day.

      posted in Troubleshooting
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      @bugsounet said in electron-rebuild and MagicMirror v2.18 (and more):

      MMM-PIR-Sensor state is :
      This repository has been archived by the owner. It is now read-only.
      I will not doing a patch on every update for this @paviro module
      Just use another maintened pir module

      Thank you for this quick reply.
      I see, so no solution for this update…Any idea of equivalent module to replace MMM-PIR-Sensor ?

      posted in Development
      S
      selyjohns
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      Hi @bugsounet
      Same problem after update to 2.19 :(

      During the update, i needed to force because a log say the package-lock.json has been modified. Maybe my error.

      Trying to reproduce the procedure, but

      pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $ ./node_modules/.bin/MagicMirror-rebuild
      ⠋ Searching dependency tree
      An unhandled error occurred inside electron-rebuild
      Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
      
      Error: Could not detect abi for version 17.2.0 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
          at Object.getAbi (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:39:9)
          at new Rebuilder (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:100:48)
          at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:249:23)
          at doRebuild (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/rebuild.js:272:16)
          at /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/build/cli.js:115:45
      pi@MagicMirror:~/MagicMirror/modules/MMM-PIR-Sensor $
      
      

      Did you know how to solve this ?

      posted in Development
      S
      selyjohns
    • 1 / 1