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

Posts

Recent Best Controversial
  • RE: MMM-AssistantMk2

    @Sean @teitlebot
    Might sound stupid and not feasible at first but this is how I would do the trick.
    1st I would use a Notification from input ( camera , pir sensor)
    for PIR sensor it would be PRESENCE_DETECTED .
    Then I would trigger a command and in this command use the repeat after me function .
    So you can get voice output directly from the assistant saying “hello” when presence is detected .
    Then for facial recognition it’s just a matter of condition and what notification to send. for each notification a different repat after me.

    Does it make sense?

    Ejay

    posted in System
    E
    ejay-ibm
    Apr 1, 2019, 6:00 PM
  • RE: MMM-Spotify

    @Cr4z33 1st you have a wonderfull miror
    2nd , if you send it to me maybe i’ll give you the answer ^^… joking …
    I’m not sure what’s wrong .

    What I would do first is turn on verbose mode on hotword and Mk2 assistant and check .
    1- Console log .
    2- pm2 out logs ( see “pm2 show scriptname” )
    3- pm2 error logs

    Capitalization is very important in hook eg .
    hook is like “next song”
    when you say this to assistant if assistnat wirte " Next song" that that wikk not work .

    All I can say for now is check the logs and share with us , that mitght help to help .

    Ejay

    posted in Entertainment
    E
    ejay-ibm
    Mar 31, 2019, 7:28 PM
  • RE: Control with clapping...

    Yes could be fun ! I used to had this kind of device to turn on light by clapping.
    It was as well turning on the light in the night when I was sneezing hard . lol

    posted in Hardware
    E
    ejay-ibm
    Mar 27, 2019, 4:46 PM
  • RE: MMM-Spotify

    @Cr4z33 We have added an option to hide the control

    after doing a “git pull” from : ~/MagicMirror/modules/MMM-Spotify/

    you can set in your config file

     control: "default", //"default", "hidden" available~
    

    Ejay

    posted in Entertainment
    E
    ejay-ibm
    Mar 27, 2019, 8:32 AM
  • RE: MMM-Spotify

    @Cr4z33 if you don’t want to use gaction like me .
    I’ll share my transcription hook and command i’m using with this module and others.
    It works perfectly. with raspotify. raspotify is pretty easy to install and run.

    transcriptionHook: {
    
            HIDE_ALL_MODULES: {
                pattern: "standby mode",
                command: "HIDEMODULES"
              },
              SHOW_ALL_MODULES: {
                pattern: "show modules",
                command: "SHOWMODULES"
              },
              SCREEN_ON: {
                pattern: "turn on screen",
                command: "SCREENON"
              },
              SCREEN_OFF: {
                pattern: "turn off screen",
                command: "SCREENOFF"
              },
              REBOOT: {
                pattern: "reboot the mirror",
                command: "REBOOT"
              },
              SHUTDOWN: {
                pattern: "extinction totale",
                command: "SHUTDOWN"
              },
              STOP_PLAY: {
                pattern: "stop the video", // this is for youtube but it is preferable to have youtubeAutoplay: false, when running spotify so you don't get interaction with youtube player. 
                command: "STOP_VID"
              },
             // STOP_PLAY2: {
             //   pattern: "arrête la musique",
             //   command: "STOP_VID"
             // },
    
    	 SPOTIFY_PREVIOUS: {
            pattern: "previous song",
            command: "SPOTIFY_PREVIOUS"
            },
            SPOTIFY_PAUSE: {
            pattern : "stop the musique",
            command: "SPOTIFY_PAUSE"
            },
            SPOTIFY_PLAY: {
            pattern : "music please",
            command: "SPOTIFY_PLAY"
            },
            SPOTIFY_NEXT: {
            pattern: "next song",
            command: "SPOTIFY_NEXT"
            },
            SPOTIFY_VOLUME: {
            pattern: "set music volume to ([0-9]{1,2}[0]?|100)",
            command: "SPOTIFY_VOLUME"
            },
            SPOTIFY_SEARCH: {
            pattern: "play (.*) on Spotify",
            command: "SPOTIFY_SEARCH"
            },
    	SPOTIFY_SEARCH_PLAYLIST: {
            pattern: "playlist (.*) on Spotify",
            command: "SPOTIFY_SEARCH_PLAYLIST"
            },
    	SPOTIFY_MA_PLAYLIST: {
    	pattern: "(.*) my playlist",   // (.*)  is an action  eg: play my playlist / run my playlist etc... 
    	command: "SPOTIFY_MA_PLAYLIST"
    	},
    	SPOTIFY_TRANSFER: {
    	pattern: "play the music on (.*)", // (.*)  is the name of your device
    	command: "SPOTIFY_TRANSFER"
    	},
              VOLUME_UP: {
                pattern: "volume up",
                command: "CMD_VOLUME_UP"
              },
              VOLUME_DOWN: {
                pattern: "volume down",
                command: "CMD_VOLUME_DOWN"
              },
              SET_VOLUME: {
                pattern: "set master volume to ([0-9]{1,2}[0]?|100)",
                command: "CMD_VOLUME_SET"
              }
    
            },
            command: {
    
              STOP_VID: {
                moduleExec: {
                  module: ["MMM-AssistantMk2"],
                  exec: (module, params, key) => {
                    module.assistant.subdom.youtube.innerHTML = ""; 
                    module.assistant.subdom.youtube.style.display = "none";
                    module.youtubePlaying = false;
                  }
                }
              },
    	   SPOTIFY_TRANSFER: {
    	    notificationExec: {
                  notification: "SPOTIFY_TRANSFER",
    	         payload: (params) => {
                     console.log("SPOTIFY_TRANSFER @",params)
                    return params[1];
                            }
        
    	}
              },
               SPOTIFY_PAUSE: {
                notificationExec: {
                  notification: "SPOTIFY_PAUSE"
                }
              },
    
            SPOTIFY_PLAY: {
                notificationExec: {
                    notification: "SPOTIFY_PLAY"
                    }
            },
    	
    	SPOTIFY_MA_PLAYLIST: {
    	    notificationExec:  {
    		notification: "SPOTIFY_PLAY",
    		payload: (params) => {
    		console.log("SPOTIFY_MA_PLAYLIST")
    		return {
    			context_uri:"spotify:playlist:0bdByehKVfdsfdsfdsOhF5t",   // Uri of a personnal playlist or album
    				}
    			},
    		notification: "SPOTIFY_SHUFFLE",  // added this to toogle shuffle
    		notification: "SPOTIFY_NEXT" // added this to not always have the same song starting first 
    		}
    	},		
            
    	SPOTIFY_NEXT: {
             notificationExec: {
                notification: "SPOTIFY_NEXT"
                    }
            },
    
            SPOTIFY_PREVIOUS: {
             notificationExec: {
                notification: "SPOTIFY_PREVIOUS"
                    }
            },
            SPOTIFY_VOLUME: {
             notificationExec: {
               notification: "SPOTIFY_VOLUME",
               payload: (params) => {
                     console.log("SPOTIFY_VOLUME @",params)
                    return params[1];
                            }
                    }
            },
    	SPOTIFY_SEARCH: {
             notificationExec: {
               notification: "SPOTIFY_SEARCH",
    
            payload: (params) => {
                    console.log("SPOTIFY_SEARCH @",params)
                    return {
                            type: "artist,track,album,playlist",
                            query: params[1],
                            random:false,
                            }
                         }
                    }
            },
    	 SPOTIFY_SEARCH_PLAYLIST: {
             notificationExec: {
               notification: "SPOTIFY_SEARCH",
    
            payload: (params) => {
                    console.log("SPOTIFY_SEARCH_PLAYLIST @",params)
                    return {
                            type: "playlist",
                            query: params[1],
                            random:true,
                            }
                         }
                    }
            },
    
    
              CMD_VOLUME_UP: {
                notificationExec: {
                  notification: "VOLUME_UP"
                }
              },
              CMD_VOLUME_DOWN: {
                notificationExec: {
                  notification: "VOLUME_DOWN"
                }
              },
              CMD_VOLUME_SET: {
                notificationExec: {
                  notification: "VOLUME_SET",
                  payload: (params, key) => {
                    console.log("@", params);
                    return params[1];
                  }
                }
              }
            },
    

    hope this will help.

    @Sean let me know if you want me to update the wiki.

    Ejay

    posted in Entertainment
    E
    ejay-ibm
    Mar 25, 2019, 6:37 PM
  • RE: MMM-Spotify

    some more testing . With Spotify Familly. You can have 1 device set per email account .

    ejay

    posted in Entertainment
    E
    ejay-ibm
    Mar 24, 2019, 7:03 PM
  • RE: Magicmirror Hanged

    Sorry it’s in french but that can help you to test your sensor out of the magicmirror app directly in python
    https://raspberry-pi.developpez.com/cours-tutoriels/capteur/mag-pi-utiliser-port-gpio/partie-1-detection-mouvement/

    Ejay

    posted in Bug Hunt
    E
    ejay-ibm
    Mar 23, 2019, 12:43 PM
  • RE: My first Mirror ...Draft

    @sdetweil Found it here : https://www.audiophonics.fr/fr/accessoires-pour-raspberry-pi-et-autres-sbc/rallonge-micro-sd-male-vers-micro-sd-femelle-25cm-p-10896.html?search_query=sd&fast_search=fs

    posted in Show your Mirror
    E
    ejay-ibm
    Mar 23, 2019, 12:26 PM
  • My first Mirror ...Draft

    Hi Guys ,

    I’m sharing my first attempt of my mirror build.
    0_1553344372098_IMG_20190224_190002.jpg
    0_1553344383118_IMG_20190224_190137.jpg
    0_1553344397708_IMG_20190224_190315.jpg
    0_1553344408328_IMG_20190224_200048.jpg
    0_1553344416876_IMG_20190224_200300.jpg
    0_1553344426508_IMG_20190224_221412.jpg
    0_1553344439955_IMG_20190225_105346.jpg
    0_1553344451014_IMG_20190225_112745.jpg
    0_1553344458241_IMG_20190225_113438.jpg
    0_1553344471103_IMG_20190224_221456.jpg
    0_1553344478139_IMG_20190224_222250.jpg

    0_1553340137397_IMG_20190323_121411_edited.jpg
    0_1553340168673_IMG_20190323_121426_edited.jpg

    I used a frame with some deep bought in Leroy Merlin .
    And added a mirror film on the glass . Look is ok, but I’ll redo it as I scratched it a bit at pose time.

    Inside : A 17’ LCD I got from an old laptop .
    I bought a LDC controler on ebay to get the hdmi output and the power.
    A raspberry pi3B+
    1 wifi usb adapter with external antena to extend wifi range
    1 usb Fan, because my room can become very hot in summer ( this is just in case )
    1 micro sd extender so I can switch SD card from outside without opening the box.

    For the Modules on display :

    • MMM-AssistantMk2
    • MMM-Hotword
    • MMM-Volume
    • MMM-Spotify
    • MMM-DarkWeatherforecast
    • MMM-AI
    • MMM-Hue
    • MMM-tools
    • News feed & clock

    No speaker or amp connected .I pluged the 3.5mm jack out directly to my mix table who’s connected to the all sound system.

    That’s pretty it !

    As next step I’ll buy an additional frame and glue it to the first one to make the back more pretty .

    Ejay

    posted in Show your Mirror
    E
    ejay-ibm
    Mar 23, 2019, 12:15 PM
  • RE: 22'' Display + 40cmx50cm IKEA Frame + PIR Sensor

    Very nice idea to glue 2 frame ! I haven’t thought about doing that when I created my mirror . That would have save me lot of time !

    I’ll make my same usual request :) : Can we see the back and inside of your mirror ?

    Thank you

    Ejay

    posted in Show your Mirror
    E
    ejay-ibm
    Mar 23, 2019, 11:12 AM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy