MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bugsounet
    3. Best
    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

    Posts

    Recent Best Controversial
    • @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
    • [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: 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
    • 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
    • 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: 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
    • RE: My Magic Miror

      wow !! wonderfull !

      26 modules used including 20 from myself ! :astonished_face: :astonished_face:

      • Real question is why ?
      • @bugsounet response is just because !

      Happy use @Anthony

      posted in Show your Mirror
      bugsounetB
      bugsounet
    • RE: new raspi OS version release Jan 28

      @sdetweil :

      Note, if you are already with bulleyes build, it’s not necessary to reinstall system.

      Just do:

      • sudo apt-get update
      • sudo apt-get upgrade

      and it will update to last build ;)
      [this sytem is equal to windows OS with last build sample 21H2 -> 22H1]

      I says this… because some user will reinstall entire system :D

      For your inform:

      pi@raspberrypi:~ $ uname -a
      Linux raspberrypi 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l GNU/Linux
      pi@raspberrypi:~ $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Raspbian
      Description:    Raspbian GNU/Linux 11 (bullseye)
      Release:        11
      Codename:       bullseye
      pi@raspberrypi:~ $ node -v
      v14.18.3
      pi@raspberrypi:~ $ npm -v
      6.14.15
      
      posted in General Discussion
      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
    • 1
    • 2
    • 3
    • 1 / 3