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

    Posts

    Recent Best Controversial
    • RE: Magic Mirror updated now doesnt work

      @sdetweil so this is the result:

      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.10.0 start /home/pi/MagicMirror
      > ./run-start.sh
      
      + ./untrack-css.sh
      + '[' -z '' ']'
      + export DISPLAY=:0
      + DISPLAY=:0
      ++ uname -m
      + arch=armv7l
      + false=false
      ++ grep -v '^\s//' config/config.js
      ++ grep -i serveronly:
      ++ tr -d ',"'\'''
      ++ awk '{print tolower($2)}'
      + serveronly=
      + serveronly=false
      ++ pgrep Xorg
      + xorg=519
      ++ uname
      + mac=Linux
      + '[' false. '!=' false. -o armv7l == armv6l ']'
      + '[' 519. == . -a Linux '!=' Darwin ']'
      + electron js/electron.js
      [15:39:07.703] [LOG]    Starting MagicMirror: v2.10.0
      [15:39:07.725] [LOG]    Loading config ...
      [15:39:07.735] [LOG]    Loading module helpers ...
      [15:39:07.814] [LOG]    Initializing new module helper ...
      [15:39:07.817] [LOG]    Module helper loaded: updatenotification
      [15:39:07.819] [LOG]    No helper found for module: clock.
      [15:39:08.557] [LOG]    Initializing new module helper ...
      [15:39:08.558] [LOG]    Module helper loaded: MMM-SystemStats
      [15:39:08.559] [LOG]    No helper found for module: currentweather.
      [15:39:08.560] [LOG]    No helper found for module: weatherforecast.
      [15:39:08.561] [LOG]    No helper found for module: random_quotes.
      [15:39:08.564] [LOG]    Initializing new module helper ...
      [15:39:08.564] [LOG]    Module helper loaded: MMM-homeassistant-sensors
      [15:39:09.297] [LOG]    Initializing new module helper ...
      [15:39:09.298] [LOG]    Module helper loaded: MMM-UKNationalRail
      [15:39:09.299] [LOG]    No helper found for module: MMM-TFL.
      [15:39:09.368] [LOG]    Initializing new module helper ...
      [15:39:09.369] [LOG]    Module helper loaded: newsfeed
      [15:39:09.370] [LOG]    All module helpers loaded.
      [15:39:09.372] [LOG]    Starting server on port 8181 ...
      [15:39:09.389] [INFO]   You're using a full whitelist configuration to allow for all IPs
      [15:39:09.408] [LOG]    Server started ...
      [15:39:09.410] [LOG]    Connecting socket for: updatenotification
      [15:39:09.413] [LOG]    Connecting socket for: MMM-SystemStats
      [15:39:09.415] [LOG]    Connecting socket for: MMM-homeassistant-sensors
      [15:39:09.418] [LOG]    Connecting socket for: MMM-UKNationalRail
      [15:39:09.420] [LOG]    MMM-UKNationalRail helper started ...
      [15:39:09.421] [LOG]    Connecting socket for: newsfeed
      [15:39:09.422] [LOG]    Starting module: newsfeed
      [15:39:09.423] [LOG]    Sockets connected & modules started ...
      [15:39:09.587] [LOG]    Whoops! There was an uncaught exception...
      [15:39:09.588] [ERROR]  { Error: listen EADDRINUSE 127.0.0.1:8181
          at Server.setupListenHandle [as _listen2] (net.js:1330:14)
          at listenInCluster (net.js:1378:12)
          at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
          at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
        errno: 'EADDRINUSE',
        code: 'EADDRINUSE',
        syscall: 'listen',
        address: '127.0.0.1',
        port: 8181 }
      [15:39:09.605] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [15:39:09.605] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [15:39:09.652] [LOG]    Launching application.
      
      posted in Troubleshooting
      B
      bachoo786
    • RE: Magic Mirror updated now doesnt work

      @sdetweil my run-start.sh already contains the # before !bin/bash-x see below:

      #!/bin/bash
        # use bash instead of sh
      ./untrack-css.sh
      
      if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
              export DISPLAY=:0 # Set by default display
      fi
      # get the processor architecture
      arch=$(uname -m)
      false='false'
      

      all my modules have package.json and I did do a npm install. The last module I installed was mmm-remote control via the script that was on the module github page.

      posted in Troubleshooting
      B
      bachoo786
    • RE: Magic Mirror updated now doesnt work

      @sdetweil I just searched on MM forum I did git pull and after that done the npm install but have problems. I cannot also access the mirror on another machine. I have forwarded the mirror ports too.

      posted in Troubleshooting
      B
      bachoo786
    • RE: Magic Mirror updated now doesnt work

      @sdetweil git pull but I had to stash as I had made changes to the .css file of one of the modules.

      posted in Troubleshooting
      B
      bachoo786
    • Magic Mirror updated now doesnt work

      Hi all

      I have update my MM to 2.10.0 and now my MM doesnt show on the screen. Here are my logs:

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
      2 info using npm@6.13.4
      3 info using node@v10.18.0
      4 verbose run-script [ 'prestart', 'start', 'poststart' ]
      5 info lifecycle magicmirror@2.10.0~prestart: magicmirror@2.10.0
      6 info lifecycle magicmirror@2.10.0~start: magicmirror@2.10.0
      7 verbose lifecycle magicmirror@2.10.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.10.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr$
      9 verbose lifecycle magicmirror@2.10.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.10.0~start: Args: [ '-c', './run-start.sh' ]
      11 silly lifecycle magicmirror@2.10.0~start: Returned: code: 1  signal: null
      12 info lifecycle magicmirror@2.10.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.10.0 start: `./run-start.sh`
      13 verbose stack Exit status 1
      13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack     at EventEmitter.emit (events.js:198:13)
      13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack     at ChildProcess.emit (events.js:198:13)
      13 verbose stack     at maybeClose (internal/child_process.js:982:16)
      13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      14 verbose pkgid magicmirror@2.10.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.75-v7l+
      17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
      18 verbose node v10.18.0
      19 verbose npm  v6.13.4
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.10.0 start: `./run-start.sh`
      22 error Exit status 1
      23 error Failed at the magicmirror@2.10.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]
      

      Can anyone help please?

      Thanks.

      posted in Troubleshooting
      B
      bachoo786
    • RE: Bathroom Magic Mirror

      @spitzlbergerj thank you.

      So how much would you charge me for the frame and shipping altogether?

      posted in Show your Mirror
      B
      bachoo786
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @Fozi nope none of them worked for me very surprising.

      posted in Tutorials
      B
      bachoo786
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @Fozi Hi

      I am on raspberry pi 4 and I think wiringPi does not work with it as the guy has stopped developing it any further. Is there any other way I could make this work?

      Thanks.

      posted in Tutorials
      B
      bachoo786
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @Fozi ok will do thanks.

      posted in Tutorials
      B
      bachoo786
    • RE: Bathroom Magic Mirror

      @spitzlbergerj thank you for answering.

      1. essentially its the silicone thats holding the mirror currently, I mean the groove does support it and hold it tight also. The reason why I asked about the groove is because I wanted to use the silicone alone and as you mentioned that the silicone is not see through or staining the mirror so you could use essentially alot of silicone to stick it to the back panel.

      2. that makes sense.

      3. I was under the impression that the mirror has to be covered with even blackness from one side in order for it to display the correct non distorted image on the mirror, so even the slightest can cause the image to distort especially around the groove in your case.

      How big is the frame? and how much do you think it would roughly cost to ship it to the UK? if its not worth it then can you tell me how you made the groove on the wood? I mean like you mentioned the groove holds the mirror stronger in addition to the silicone.

      posted in Show your Mirror
      B
      bachoo786
    • RE: Bathroom Magic Mirror

      @spitzlbergerj hi well done and looks amazing.
      Quick question:

      1. Can you not glue the mirror using the silicone on the back panel directly? Rather using the groove in the wood? Is it possible?

      2. The back panel how is it holding the monitor? I read your comment that you have your back panel cut around the monitor and it fits in perfectly and tightly. How and where did you apply the glue tape ?

      3. Finally do you have any distortions of your image from your mirror? Especially around the edges where you have your silicone in the groove and the mirror? Because the blackness of the groove is different from the back panel and as well as the monitor?

      Thanks.

      posted in Show your Mirror
      B
      bachoo786
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @Fozi so I got a new radar sensor set the resistance to 80ohms which would give me around 40 to 50cm detection distance. I am using @cowboysdude script.

      My mm is running on my rpi 4b 4g and at present its connected to my TV. However the rada sensor is not working as the script is meant to detect motion and if there is no motion it would turn the tv off after 20 seconds. I tried many times but have failed.

      Any ideas? Or maybe my sensor is not working. Is there a simple script that I could test the sensor?

      Thanks.

      posted in Tutorials
      B
      bachoo786
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @Fozi Hi
      Can i solder pin 1 and 2 of the resistor to the radar sensor? I accidentally broke pin no 3.

      posted in Tutorials
      B
      bachoo786
    • RE: My Smart Mirror

      Amazing @BreakBeatJunkie well done. Do you mind sharing the components and how you put everything together please?

      Thanks.

      posted in Show your Mirror
      B
      bachoo786
    • RE: How to hide Splash screen on boot or edit Splash screen on boot?

      @schlachtkreuzer6 how do you change the image? In which folder is the image?

      posted in Troubleshooting
      B
      bachoo786
    • RE: (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0

      @sdetweil I had to add the following in my config.txt and it works now.

      hdmi_force_hotplug=1
      hdmi_ignore_edid=0xa5000080
      hdmi_group=2
      hdmi_mode=81
      

      do you mind sharing your /boot/config.txt please?

      Also after doing these settings the raspberry pi doesnt connect to wifi.

      Its a disaster this rpi 4 tbh

      posted in Troubleshooting
      B
      bachoo786
    • RE: (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0

      @sdetweil hi quick question… so i connected my raspberry pi 4 4gb to hdmi o but there is no display ? do i need to do some settings? my raspberry pi doesnt display anything? is that normal for raspberry pi 4?

      posted in Troubleshooting
      B
      bachoo786
    • RE: (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0

      @sdetweil ok I will try it when I get home mate. Thanks.

      posted in Troubleshooting
      B
      bachoo786
    • RE: (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0

      @sdetweil ok so I will install like everyone else i.e. server and browser on the same machine. Thanks for sorting my head on that.

      Now with regards to the install script I do not need to follow this link (https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror) to autostart magicmirror? as you said thats all taken care in the install script? Am i correct? or?

      posted in Troubleshooting
      B
      bachoo786
    • RE: (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0

      @sdetweil said in (electron:2910): Gtk-WARNING **: 14:16:40.324: cannot open display: :0:

      the mirror is run without a display (server only), and some browser somewhere is used to
      access the ‘web server’

      you might do 2 where u want to provide Mirror access to multiple systems but don’t need it where the pi is installed…

      ok makes sense. I normally access the mirror by port forwarding my raspberry pi on port 8080 and thats how I can access it on different machines or at work. And I like it that way to be fair. Because eventually my raspberry pi 4 will be inside the 2 way mirror running the Magic Mirror software.

      posted in Troubleshooting
      B
      bachoo786
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 4 / 6