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

    Posts

    Recent Best Controversial
    • RE: how i do change font and it's size of a module?

      What should be the module name if I want to increase the font of default helloworld module?

      posted in Troubleshooting
      N
      Newbie007
    • How do you ensure jumper cables don't fall off bread board?

      I have quite a messy setup and there have been instances of loose connection in the bread board.

      So wanted to know what are the options for securing the connection I do not want to keep removing mirror from wall just to check connection

      posted in Troubleshooting
      N
      Newbie007
    • RE: MMM-Hotword won't recognize the hotword

      @Sean yes this worked thanks!

      I didn’t even realise the first config was for v1

      posted in Troubleshooting
      N
      Newbie007
    • RE: MMM-Hotword won't recognize the hotword

      Do you mean I should change like this in config.js file?

      //useWelcomeMessage: "brief today",
      				profiles: {
      					"computer" : {
      						lang: "en-IN"
      					}
                                     profiles: {
      					"smart_mirror" : {
      						lang: "en-IN"
      					}
      				},
      
      posted in Troubleshooting
      N
      Newbie007
    • MMM-Hotword won't recognize the hotword

      I guess I successfully install mmm-assistantmk2 along with mmm-hotword. I followed this method for installation.

      I configured my config file and I can see Google logo on my MM screen as well, however no matter how much I shout “Computer” or “Smart Mirror” there is no detection.

      Is there any way I can debug and see what’s going on? Or what did I misconfigure?

      Config.js

      {
      	module: "MMM-Hotword",
      	config: {
      		record: {
      			recordProgram : "arecord",  
      			device        : "plughw:1"
      				},
      			autostart:true,
      			onDetected: {
      				notification: (payload) => {
      					return "ASSISTANT_ACTIVATE"
      					},
      				payload: (payload) => {
      						return {
      						  profile: payload.hotword
      						}
      					}
      				},
      		},
      },
      {
      	module: "MMM-AssistantMk2",
      	position: "bottom_left",
      	config: {
      		deviceLocation: {
      			coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
      			latitude: , // -90.0 - +90.0
      			longitude: 	, // -180.0 - +180.0
      				},
      				},
      				record: {
      					recordProgram : "arecord",  
      					device        : "plughw:1",
      				},
      				notifications: {
      					ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
      					ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
      				},
      				useWelcomeMessage: "brief today",
      				profiles: {
      					"default" : {
      						lang: "en-IN"
      					}
      				},
      		}
      },
      

      Edit 1 : I ran using npm start dev and I got this error [HOTWORD] No model to load

      Edit 2 : I added cuple of models in config file, running npm start says it detected hotword but received no response.

      [HOTWORD] Detected: computer
      [HOTWORD] stops.
      [HOTWORD] Final Result: { detected: true, hotword: 'computer', file: null }
      
      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      @sdetweil said in Monitor goes to sleep within minutes:

      @Newbie007 said in Monitor goes to sleep within minutes:

      but I followed this method as well and forgot about it.

      I don’t see a ‘method’ there… its a 4 page topic

      I thought I linked you to a comment in that thread which details how to use PIR sensor to turn on/off monitor along with LED lights which is apart from PIR-Sensor module.

      I commented out the module but forgot about the standalone script. Now we are good.

      Thanks for your help!

      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      @sdetweil said in Monitor goes to sleep within minutes:

      PIR-Sensor

      Damn! You are right.

      I commented whole PIR-Sensor in config.js but I followed this method as well and forgot about it.

      Currently I have unplugged my PIR, let me plug it again and report back to you.

      But in mean time how can I disable this?

      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      This is what I got

      lxsession screen saver already disabled
      
      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      @sdetweil said in Monitor goes to sleep within minutes:

      MM is showing black screen

      I actually doubt that cause before going to sleep my monitor shows the default “HDMI” text which is usually shown before boot as well

      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      I am not even sure how to wake up the screen, I don’t have keyboard just the mouse moving that doesn’t help

      posted in Troubleshooting
      N
      Newbie007
    • RE: Monitor goes to sleep within minutes

      @sdetweil i’ve already issues those commands during mm setup. Once monitor goes to sleep im unable to even wake it up

      posted in Troubleshooting
      N
      Newbie007
    • Monitor goes to sleep within minutes

      I have installed MM a week back it was all fine however since couple of days my monitor goes to sleep mode within minutes of powering on RPi.

      Post installing I was playing around with couple of modules but one suspect might be PIR-Sensor though I have it disconnected currently.

      My setup to disable sleep mode:

      sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
      

      Added below part

      @xset s noblank
      @xset s off
      @xset -dpms
      

      I couldn’t find [SeatDefaults] so as a trial I made changes in Seat Configuration and [Seat : *]

      /etc/lightdm/lightdm.conf
      

      Config

      alt text

      posted in Troubleshooting
      N
      Newbie007
    • RE: My First Mirror... until now ^^

      @cruunnerr My PIR doesn’t trigger or do anything. When I try to execute python script below is the error message.

      Error Message

      All of sudden my monitor started going to sleep so I made below changes,

      sudo nano /etc/lightdm/lightdm.conf
      

      Add the following lines to the [SeatDefaults] section:

      xserver-command=X -s 0 dpms
      
      posted in Show your Mirror
      N
      Newbie007
    • RE: Configured PIR sensor but won't trigger

      @tinsebayacc this is the one https://github.com/paviro/MMM-PIR-Sensor/blob/master/README.md

      posted in Troubleshooting
      N
      Newbie007
    • RE: Configured PIR sensor but won't trigger

      That was a helpful thread.

      I noticed mine did work couple of times, it is working sporadically not sure what is causing that?

      Also, many posts are suggesting to use breadboard why is that? I have never used one so not sure its use. Do you know how can I use same PIR sensor to turn on led lights and which type of led does rpi and pir suport

      posted in Troubleshooting
      N
      Newbie007
    • Configured PIR sensor but won't trigger

      Quite new to MM and this is me trying first module.

      I connected the pins (which I think might be the problem) and added module in config.js too. Now my MM is booting and modules are being displayed but the senor is not turning off the monitor.

      I strongly believe the issue might be with the pins I have connected, cause I have zero knowledge about these connections.

      Can you please check these connections?

      If not what else could be the problem?

      posted in Troubleshooting
      N
      Newbie007
    • RE: updated installer script available for testing

      Hey, it worked for me thanks!

      posted in Troubleshooting
      N
      Newbie007
    • RE: updated installer script available for testing

      @sdetweil said in Anyone want to try updated installer...:

      What kind of pi are u using?

      Raspberry Pi 2 Model B Rev 1.1

      I don’t have to delete/uninstall previous one?

      posted in Troubleshooting
      N
      Newbie007
    • RE: updated installer script available for testing

      I used the regular method to install

      bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh
      

      and ran into below error

      alt text

      while searching on google came across this post. Now how do I proceed?

      How do I uninstall previous version? and install this?

      posted in Troubleshooting
      N
      Newbie007
    • 1 / 1