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

    bugsounet

    Banned

    29
    Reputation
    666
    Profile views
    249
    Posts
    3
    Followers
    0
    Following
    Joined
    Last Online
    Age 49
    Location France

    bugsounet Unfollow Follow

    Best posts made by bugsounet

    • @bugsounet MMM-GoogleAssistant v3

      That you can read @bugsounet MMM-GoogleAssistant v3 is under-coding !
      and no,no,no … It’s only MMM-GoogleAssistant v2 and MMM-Assistant2Display and i’m not Dead !

      This is an extract of features:

      • :new: AndroidTV design => :100: :heavy_check_mark:
      • :new: Informations bar => :100: :heavy_check_mark:
      • :new: Muti-Language callback => :100: :heavy_check_mark:
        • FR: :100: :heavy_check_mark:
        • EN: :100: :heavy_check_mark:
        • DE: :100: :heavy_check_mark:
        • ES: :100: :heavy_check_mark:
        • IT :100: :heavy_check_mark:
      • :new: Use official google sounds => :100: :heavy_check_mark:
      • :new: Tokens generators (google, youtube, spotify, photos) => :100: :heavy_check_mark:
      • :new: Full personalisable in config (images, sounds and zoom) => :100: :heavy_check_mark:
      • :new: Use Warning display on error => :100: :heavy_check_mark:
      • :warning: No detector emebed :twisted_rightwards_arrows:
        • MMM-Snowboy prepared :100: :heavy_check_mark:
        • :new: MMM-Porpucine (new detector with ok google family) prepared : 95% :arrows_counterclockwise:
      • :warning: No MMM-Assistant2Display needed :twisted_rightwards_arrows:
      • :new: Extented Display
        • :new: Screen module => :100: :heavy_check_mark:
        • :new: Touch module for Screen => :100: :heavy_check_mark:
        • :new: Pir module => :100: :heavy_check_mark:
        • :new: Links module => :100: :heavy_check_mark:
        • :new: Photo module => :100: :heavy_check_mark:
          • recipe => :100: :heavy_check_mark:
          • display albums => :100: :heavy_check_mark:
          • background => :100: :heavy_check_mark:
          • module (with blur background) => :100: :heavy_check_mark:
        • :new: YouTube API module => :100: :heavy_check_mark:
        • :new: YouTube VLC module => :100: :heavy_check_mark:
        • :new: Internet (new version) module => :100: :heavy_check_mark:
        • :new: Welcome module => :100: :heavy_check_mark:
        • :new: Governor module => :100: :heavy_check_mark:
        • :new: Cast module => :100: :heavy_check_mark:
        • :new: Spotify module => :100: :heavy_check_mark:
          • visual => :100: :heavy_check_mark:
          • librespot => :100: :heavy_check_mark:
          • raspotify => :100: :heavy_check_mark:
        • :new: Volume module (with visual) => :100: :heavy_check_mark:
        • :new: Spotify new recipe => :100: :heavy_check_mark:
        • :new: Radio module => :100: :heavy_check_mark:
          • blur background => :100: :heavy_check_mark:
          • recipe => :100: :heavy_check_mark:
        • :new: Photos new recipe => :100: :heavy_check_mark:
        • :new: Tokens creator => :100: :heavy_check_mark:
        • :new: Installer => :100: :heavy_check_mark:
          • updater => :100: :heavy_check_mark:
          • rebuild => :100: :heavy_check_mark:
          • librespot => :100: :heavy_check_mark:
          • raspotify => :100: :heavy_check_mark:
          • micChecker (not very useful with v3) => :100: :heavy_check_mark:
        • :new: Wiki => :100: :heavy_check_mark:

      Are you ready for this new adventure?

      Just Update it and follow the new wiki !

      Last Update: 06/06/21
      @bugsounet

      posted in Development
      bugsounetB
      bugsounet
    • electron-rebuild and MagicMirror v2.18 (and more)

      Hi, because (sometime) i’m kind

      I will offer you a tips for next release of MagicMirror (it’s comes 01/01/2022)

      Some modules need library linked to MagicMirror and do electron-rebuild step.

      • Last electron-rebuild package is actually not really ready for MagicMirror using (install many package not used)
      • Last package is not really ready for raspberry pi, and rebuild build will failed
        • problems with SSL
        • Problems with sub-dependencies (lzma-native can failed on build)

      So ?

      • I just write the new rebuild library dedicated to MagicMirror
      • I will maintened it (For my modules and yours if you want)
      • It will use exactly what MagicMirror needs (and ONLY that)
      • it will replace the electron-rebuild package

      What’s this new library ?

      • This library is magicmirror-rebuild
      • You can use it directly in your package.json file
        "dependencies": {
          "magicmirror-rebuild": "^1.0.0",
          ....
        }
      
      • You can install it directly with this command in a module directory:
      npm i magicmirror-rebuild
      
      • you can ask the rebuild step of MagicMirror (electron) with this command (in a module root directory)
      ./node_modules/.bin/MagicMirror-rebuild
      

      Sample with MagicMirror v2.18 and MMM-PIR-Sensor module

      bugsounet@debian:~/MagicMirror/modules/MMM-PIR-Sensor$ npm install
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      
      > epoll@4.0.1 install /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll
      > node-gyp rebuild
      
      make : on entre dans le répertoire « /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build »
        CXX(target) Release/obj.target/epoll/src/epoll.o
        SOLINK_MODULE(target) Release/obj.target/epoll.node
        COPY Release/epoll.node
      make : on quitte le répertoire « /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build »
      
      > Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor
      > electron-rebuild -e ../../node_modules/electron
      
      ⠋ Searching dependency tree
      An unhandled error occurred inside electron-rebuild
      Could not detect abi for version 16.0.5 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 16.0.5 and runtime electron.  Updating "node-abi" might help solve this issue if it is a new release of electron
          at Object.getAbi (/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-abi/index.js:36:9)
          at new Rebuilder (/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:48)
          at rebuildWithOptions (/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23)
          at Object.doRebuild [as rebuild] (/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16)
          at /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:124:33
          at Generator.next (<anonymous>)
          at fulfilled (/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 255
      npm ERR! Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall: `electron-rebuild -e ../../node_modules/electron`
      npm ERR! Exit status 255
      npm ERR! 
      npm ERR! Failed at the Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/bugsounet/.npm/_logs/2021-12-23T12_20_03_436Z-debug.log
      

      So the result is failed !

      1. Let’s install magicmirror-rebuild library
      bugsounet@debian:~/MagicMirror/modules/MMM-PIR-Sensor$ npm i magicmirror-rebuild
      npm notice created a lockfile as package-lock.json. You should commit this file.
      + magicmirror-rebuild@1.0.3
      
      1. Now try to execute MagicMirror-rebuild script for rebuild
      bugsounet@debian:~/MagicMirror/modules/MMM-PIR-Sensor$ ./node_modules/.bin/MagicMirror-rebuild 
      ⠼ MagicMirror Building module: epoll, Completed: 0gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
      ⠴ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v16.0.5/node-v16.0.5-headers.tar.gz
      ⠼ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://www.electronjs.org/headers/v16.0.5/node-v16.0.5-headers.tar.gz
      ⠏ MagicMirror Building module: epoll, Completed: 0gyp http GET https://www.electronjs.org/headers/v16.0.5/SHASUMS256.txt
      ⠧ MagicMirror Building module: epoll, Completed: 0gyp http 200 https://www.electronjs.org/headers/v16.0.5/SHASUMS256.txt
      gyp info spawn /usr/bin/python3
      gyp info spawn args [
      gyp info spawn args   '/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/node_modules/node-gyp/gyp/gyp_main.py',
      gyp info spawn args   'binding.gyp',
      gyp info spawn args   '-f',
      gyp info spawn args   'make',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build/config.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/node_modules/node-gyp/addon.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/16.0.5/include/node/common.gypi',
      gyp info spawn args   '-Dlibrary=shared_library',
      gyp info spawn args   '-Dvisibility=default',
      gyp info spawn args   '-Dnode_root_dir=/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/16.0.5',
      gyp info spawn args   '-Dnode_gyp_dir=/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/magicmirror-rebuild/node_modules/node-gyp',
      gyp info spawn args   '-Dnode_lib_file=/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/16.0.5/<(target_arch)/node.lib',
      gyp info spawn args   '-Dmodule_root_dir=/home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll',
      gyp info spawn args   '-Dnode_engine=v8',
      gyp info spawn args   '--depth=.',
      gyp info spawn args   '--no-parallel',
      gyp info spawn args   '--generator-output',
      gyp info spawn args   'build',
      gyp info spawn args   '-Goutput_dir=.'
      gyp info spawn args ]
      ⠋ MagicMirror Building module: epoll, Completed: 0gyp info spawn make
      gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      make : on entre dans le répertoire « /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build »
        CXX(target) Release/obj.target/epoll/src/epoll.o
      ⠸ MagicMirror Building module: epoll, Completed: 0  SOLINK_MODULE(target) Release/obj.target/epoll.node
      ⠼ MagicMirror Building module: epoll, Completed: 0  COPY Release/epoll.node
      make : on quitte le répertoire « /home/bugsounet/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build »
      ✔ MagicMirror Rebuild Complete
      

      That you see MagicMirror Rebuild Complete !
      Your module is now installed correctly

      posted in Development
      bugsounetB
      bugsounet
    • RE: mmm-netatmo

      Hi, I just fix it in my MMM-NetatmoThermostat module (same API … so same Issue)
      See there

      Author of this module have to do some changes
      My Change in GitHub, if can help it

      @bugsounet

      posted in Utilities
      bugsounetB
      bugsounet
    • [MMM-Pir] v1.1.0 -- bookworm update

      MMM-Pir

      After a configurated time without any user interaction the display will turn off and hide all modules for economy mode.
      It will wake up with a Pir sensor (or with notification)

      Screenshot:

      Compatibilities:

      • bullseye (X11 compositor)
      • bookwarn (wayland or X11 compositor)

      Features:

      • multi-design counter
      • display last presence
      • hide all module before turn off your screen
      • 10 modes (method) for turn off your screen
      • wakeup with pir sensor or with notification
      • Installer Core compliant for more control

      Installation:

      see MMM-Pir github repository

      posted in System
      bugsounetB
      bugsounet
    • RE: Raspberry PI 4 stats

      @DarkV

      maybe MMM-Tools can help
      It’s works with rpi4

      33552e0e-4b06-4297-8af8-779d5ed8af8d-image.png

      from TelegramBot:
      7ef440df-ff45-43ed-bce6-1f79e0358452-image.png

      posted in Requests
      bugsounetB
      bugsounet
    • MMM-Glassy

      MMM-Glassy

      This module allows to add a glass effect to MagicMirror² modules

      Screenshot

      Informations

      Just checkout MMM-Glassy GitHub repository

      posted in Utilities
      bugsounetB
      bugsounet
    • RE: Camera via browser

      @Alyx maybe it’s your chance… I code it with extra plug-in
      Just wait a little days and i will finish

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: Trouble playing audio file

      @sdetweil the problem is not there…
      The problem is you can’t play a file when it’s not fully created!

      2 solutions:
      Make a promise
      Or play the file when the file is created

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: MMM-WOTD

      @cowboysdude : you have set an error when you have created the repository …
      why WWW-WOTD ?
      in your module, you have Set MMM-WOTD

      So that why @lxne have an issue (nodule not found)

      And an error on the getDom function

          getDom: function() {
            var wrapper = document.createElement("div");
      
            if(this.loaded == true){
              var wotd = this.wotd[0]; 
              var wordTable = document.createElement('div');
              
              if (this.config.style == 'narrow') {
                  wordTable.classList.add('narrow');
              } else {
                  wordTable.classList.add('wide');
              }
              
              var wordTR = document.createElement('tr');
              
              var word = document.createElement('td');
              word.classList.add('bright', 'small');
              word.setAttribute('style', 'background:' + this.config.wbackground);
              word.innerHTML = "Word  ";
              wordTR.appendChild(word);
              
              
              var word2 = document.createElement('td');
              word2.classList.add('small');
              word2.setAttribute("style", "color:" + this.config.word + "; background-color: " + this.config.dbackground + ";"); 
              word2.innerHTML = wotd.word;
              wordTR.appendChild(word2);
              
              wordTable.appendChild(wordTR);
              
              var wordTR2 = document.createElement('tr');
              
              var wordd = document.createElement('td');
              wordd.classList.add('bright', 'small');
              wordd.setAttribute('style', 'background:' + this.config.wbackground);
              wordd.innerHTML = "Meaning  ";
              wordTR2.appendChild(wordd);
              
              
              var wordd2 = document.createElement('td');
              wordd2.classList.add('small');
              wordd2.setAttribute('style', 'color:' + this.config.definition + '; background-color: ' + this.config.dbackground + ';');
              wordd2.innerHTML = wotd.definition;
              wordTR2.appendChild(wordd2);
              
              wordTable.appendChild(wordTR2);
              
              var wordTR3 = document.createElement('tr');
              
              var wordf = document.createElement('td');
              wordf.classList.add('bright', 'small');
              wordf.setAttribute('style', 'background:' + this.config.wbackground);
              wordf.innerHTML = "Say  ";
              wordTR3.appendChild(wordf);
              
              
              var wordf2 = document.createElement('td');
              wordf2.setAttribute('style', 'color:' + this.config.say + '; background-color: ' + this.config.dbackground + ';');
              wordf2.classList.add('small');
              wordf2.innerHTML = wotd.pronunciation;
              wordTR3.appendChild(wordf2);
              
              wordTable.appendChild(wordTR3);
              wrapper.appendChild(wordTable);
            }
            return wrapper;
          },
      
      • wow … tr/td tag like win95 ???, i think, you can do better !
      • I have corrected your error… you have not created the Dom on first request
      • package.json missing ! (if an user do npm install … it will install MagicMirror !)

      @lxne: for a temp resolve, just rename WWW-WOTD in modules directory to MMM-WOTD

      posted in Fun & Games
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant language support

      @MMRIZE have right. Actually Turkish language is not supported by AssistantSDK

      @Toramanderler said in mmm-googleassistant language support:

      Yes, I talked to the GA module author and he said he would bring it in the first update. But it doesn’t update very often, I guess I’ve been waiting for 3 days.

      I never says this !

      Every update cycle every month. I’m not going to update for fun every day or every week for fun
      That I have says:

      • I can’t create Turkish language in Google Server (I don’t work in Google Team!)
      • I can’t transform response of google server in Turkish
      • I can ONLY translate some common event for displaying in a specific language
      • I can translate Gateway website in your language
      • I can tranlsate all EXTs in your language
      • I wait MM² v2.25.0 forreleasing all new updates (~14 )
      • Waiting update are available there tagged Unsolved

      Also, I code for MM² core
      so, I have to make a choice:

      • my personal live
      • my work
      • coding for MMM-GoogleAssistant Suite
      • coding for MM² main core

      The choice is quickly made: I code when I have time!

      posted in Requests
      bugsounetB
      bugsounet

    Latest posts made by bugsounet

    • RE: MagicMirror not working after upgrade

      @sdetweil said in MagicMirror not working after upgrade:

      @bugsounet
      pouvez-vous examiner pourquoi il a eu ces erreurs même si vous avez effectué la réinitialisation matérielle de git ?

      ma mise à niveau appelée npm run update

      Tous mes modules ont été retiré de la liste des modules tiers, et vont être supprimé de mon compte github.

      Je suis désolé @pat59, il donc faudra trouver un/des modules équivalent.
      Comme vous venez de comprendre, je me retire donc du projet MagicMirror² complètement.

      Bonne continuation,
      @bugsounet

      posted in Utilities
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant ou réglage son

      @myayo001 Généralement, c’est un probleme de token (trop ancien), il faudrait le renouveler avec la commande npm run token dans le répertoire de MMM-GoogleAssistant

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant ou réglage son

      @myayo001

      Je vois le warning: ********* * ### [2025-01-10 10:24:54.472] [WARN] No /home/flavio/MagicMirror/modules/EXT-Detector/EXT-Detector.js found for module: EXT-Detector.********

      • Avez-vous supprimer le repertoire /home/flavio/MagicMirror/modules/EXT-Detector/ ?
      • Avez vous vu cette note dans le Home du wiki
        e97c5f4b-1f90-4c06-b540-f4daf5f3fde3-image.png

      Au niveau de la config: d’apres l’exemple de configuration du wiki.
      Il manque porcupineAccessKey, si vous voulez utiliser le detector avec Porcupine
      Si vous n’avez pas cette clé fourni par picovoice.ai, il suffit de la créé en lisant ceci

      Vous pouvez essayer toutefois avec le detector snowboy uniquement en utilisant cette config:

      {
        module: "MMM-GoogleAssistant/EXTs/EXT-Detector",
        position: "top_left",
        config: {
          debug: false,
          detectors: [
            {
              detector: "Snowboy",
              Model: "jarvis",
              Sensitivity: null
            }
          ]
        }
      },
      

      Avez-vous utiliser la commande npm run install:EXT-Detector dans le répertoire de MMM-Google-Assistant pour installer EXT-Detector ?

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: Cannot find module 'node-fetch' error with multiple MM modules

      @sdetweil cela arrive quand la version principale de node est v10.x et que l’utilisateur demande la version v20 ou v22 avec la commande n

      généralement resolu avec la version principale de node en v20. ensuite on peux utiliser n comme on a envie

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant ou réglage son

      @myayo001 pourrais-je voir la config de EXT-Detector ?

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant ou réglage son

      @myayo001 tout est ok maintenant ?

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: mmm-googleassistant ou réglage son

      @myayo001 est-ce résolu avec ceci, je pense que c’est lié, non ?

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: update ou rebuils EXT-detector

      @myayo001 Désolé du retard :/

      oulala passer de v4.x a v9x…

      on va esayer ceci dans le repertoire de GA:

      git reset --hard && git pull
      npm install
      

      Mais attention beaucoup de choses ont changé dans la config, vous falloir tout revoir (aussi bien GA que les EXTs)
      le wiki vous guidera

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: update ou rebuils EXT-detector

      Bonjour, je pense que le souci est que vous n’avez pas mis a jour vers MMM-Google Assistant v9

      Pouvez vous essayer npm run update avant d’exécuter votre commande ?

      posted in Troubleshooting
      bugsounetB
      bugsounet
    • RE: EXT-Detector for MMM-GoogleAssistant no longer working

      Hi, can you take a look at the wiki

      For better management, MMM-GoogleAssistant v9.x have now 25 modules in one.

      Requirement MagicMirror² v2.30.0

      posted in Troubleshooting
      bugsounetB
      bugsounet