• 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. Bangee
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Offline
  • Profile
  • Following 1
  • Followers 3
  • Topics 12
  • Posts 122
  • Groups 1

Bangee

@Bangee

Module Developer
48
Reputation
5.9k
Profile views
122
Posts
3
Followers
1
Following
Joined May 3, 2016, 7:17 AM
Last Online Mar 4, 2019, 5:37 PM

Bangee Unfollow Follow
Module Developer

Best posts made by Bangee

  • Bangee's Mirror

    Hi there,

    I would like to present you my MagicMirror2
    0_1463658211760_20160518_203020168_iOS.jpg
    0_1463658222866_20160518_203029144_iOS.jpg
    0_1463658303361_20160518_203037603_iOS.jpg
    0_1463658231328_20160518_210345000_iOS.jpg

    posted in Show your Mirror
    B
    Bangee
    May 19, 2016, 11:46 AM
  • frameless mirror

    Here is my frameless mirror project. I like this style a lot.

    Here you can see the difference between the 12 % and 20 % mirror.
    The room has big windows.

    12%:
    0_1475849078162_12_Mirror.jpg

    20%
    0_1475849270035_20_Mirror.jpg

    frame:
    0_1475855757955_frame.jpg

    posted in Show your Mirror
    B
    Bangee
    Oct 7, 2016, 2:18 PM
  • RE: frameless mirror

    0_1482437497958_IMG_8645.JPG

    Here is my latest project. I have integrated the PIR sensor in my the glass 😏

    posted in Show your Mirror
    B
    Bangee
    Dec 22, 2016, 8:13 PM
  • RE: MMM-PIR-Sensor - White Screen

    ok so lets go step by step:
    cd ~/MagicMirror/modules/

    now we will remove the PIR folder:
    rm -rf MMM-PIR-Sensor

    and from here, we’re going to reinstall the MMM-PIR-Sensor modul:
    git clone https://github.com/paviro/MMM-PIR-Sensor.git
    cd MMM-PIR-Sensor

    run the following cmd here:
    npm install and wait, this can take a few minutes.

    Now you’ll have to add pi to gpio
    sudo useradd -g pi gpio

    and reboot your Raspi:
    sudo reboot

    You’ll have to connect your PIR Sensor the right way with your Raspi.
    I’ve connected my PIR Sensor on the following Pins:
    GPIO
    I’ve got a Pi2 and use Pin 2 for power, Pin 6 for Ground and Pin 15 for Data.
    – correctin grn pin

    PIR Sensor

    and dont forget to add the config :-)

    posted in Troubleshooting
    B
    Bangee
    Oct 4, 2016, 9:22 AM
  • RE: Where to buy good two way mirrors ?

    https://forum.magicmirror.builders/topic/117/bangee-s-mirror/16

    This one is also built with a 24" Monitor and a 12 %, 4mm Mirror.
    I would recommend this one.

    posted in Hardware
    B
    Bangee
    Oct 2, 2016, 2:56 PM
  • MMM-DHT22 Humidity and Temperature Module

    Here is my MMM-DHT22 Module.
    Temperature and Humidity monitoring Module for MagicMirror2 that works for DHT22 and AM2302 sensors.
    https://github.com/Bangee44/MMM-DHT22/

    0_1475234649682_screenshot.jpg

    It’s analog to @psk’s Module: https://forum.magicmirror.builders/topic/726/mmm-temperature-humidity-module-dht11-dht22-and-am2302-sensors

    But I don’t want to run MagicMirror as Root with sudo.

    Bangee

    posted in Utilities
    B
    Bangee
    Sep 30, 2016, 11:26 AM
  • How to Troubleshoot

    Hey there beginners like me :-)

    I would like to show you, where and how to find errors while installing, using or developing MagicMirror 2.

    What we need:
    MagicMirror2 from github -> https://github.com/MichMich/MagicMirror installed on a Raspberry Pi.

    Try to use the automatic install as described in the Readme.md.

    A really good tool to see whats going on behind your MM2 is Firebug -> http://getfirebug.com/
    If you run you MM2 as node serveronly you will have a lot of informations.

    Connect to your Raspberry using Putty -> http://www.putty.org/
    Username: pi
    Password: raspberry

    1. Start StandaloneServer: node serveronly
    2. open your FirefoxBrowser http://192.168.0.150:8080 (replace your Raspy’s IP adresse)
    3. Press F12 to start Firebug

    If you are using PM2 you will get informations running these command:
    pm2 info mm (replace mm whit your App Name)

    Output:

    pi@raspberrypi:~ $ pm2 info mm
     Describing process with id 0 - name mm
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ status            β”‚ online                            β”‚
    β”‚ name              β”‚ mm                                β”‚
    β”‚ restarts          β”‚ 5                                 β”‚
    β”‚ uptime            β”‚ 3h                                β”‚
    β”‚ script path       β”‚ /home/pi/mm.sh                    β”‚
    β”‚ script args       β”‚ N/A                               β”‚
    β”‚ error log path    β”‚ /home/pi/.pm2/logs/mm-error-0.log β”‚
    β”‚ out log path      β”‚ /home/pi/.pm2/logs/mm-out-0.log   β”‚
    β”‚ pid path          β”‚ /home/pi/.pm2/pids/mm-0.pid       β”‚
    β”‚ interpreter       β”‚ bash                              β”‚
    β”‚ interpreter args  β”‚ N/A                               β”‚
    β”‚ script id         β”‚ 0                                 β”‚
    β”‚ exec cwd          β”‚ /home/pi                          β”‚
    β”‚ exec mode         β”‚ fork_mode                         β”‚
    β”‚ node.js version   β”‚ N/A                               β”‚
    β”‚ watch & reload    β”‚ ✘                                 β”‚
    β”‚ unstable restarts β”‚ 0                                 β”‚
    β”‚ created at        β”‚ 2016-05-13T08:30:59.308Z          β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
     Add your own code metrics: http://bit.ly/code-metrics
     Use `pm2 logs mm (--lines 1000)` to display logs
     Use `pm2 monit` to monitor CPU and Memory usage mm
    

    Here you’ll find again a lot of informations where to find your error_log or your out_log.

    If you create a console.log("something"); debug message or output you’ll be able to see this info using the following command:
    tail -f /home/pi/.pm2/logs/mm-out-0.log (replace the path with your paht to log or error file)

    This will be continued…

    so long Bangee…

    posted in Troubleshooting
    B
    Bangee
    May 13, 2016, 12:31 PM
  • RE: Thin, Frameless Mirror

    Do you have a picture from the back? :-)

    posted in Show your Mirror
    B
    Bangee
    Jun 27, 2017, 10:17 AM
  • RE: PIR-Sensor - put your mirror to sleep if not used

    I’ve tried to use PIN 26. In my electron errorlog, there was this msg:

    [Error: digitalRead: IsInt32(arguments['pin']) === false]
    

    So I went back to PIN 22 and now my mirror starts again. :-)

    EDIT:

    New idea -> Try without ’ ';

    {
    module: 'MMM-PIR-Sensor’,
    config: {
    sensorPIN: 2 ,
    }
    }
    
    posted in Troubleshooting
    B
    Bangee
    May 12, 2016, 6:54 PM
  • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

    Ok, that’s a nice modul :-)

    I’ve insert an restart function for the MM app and the ability to turn you monitor on and off:

    insert in node_helper.js at line 54:

    				if (query.action === 'RESTART')
    				{
    					res.send({'status': 'success'});
    					exec('pm2 restart mm', function(error, stdout, stderr){ callback(stdout); });
    					return;
    				}
    				if (query.action === 'MONITORON')
    				{
    					res.send({'status': 'success'});
    					exec('/opt/vc/bin/tvservice -p', function(error, stdout, stderr){ callback(stdout); });
    					return;
    				}
    				if (query.action === 'MONITOROFF')
    				{
    					res.send({'status': 'success'});
    					exec('/opt/vc/bin/tvservice -o', function(error, stdout, stderr){ callback(stdout); });
    					return;
    				}
    

    in remote.js on line 131:

        'restart-mm-button': function () {
            Remote.getWithStatus("action=RESTART");
        },
        'monitor-on-button': function () {
            Remote.getWithStatus("action=MONITORON");
        },
        'monitor-off-button': function () {
            Remote.getWithStatus("action=MONITOROFF");
        }
    

    in remote.html on line 40:

    <!-- MagicMirror menu -->
    		<div id="restart-mm-button" class="menu-button power-menu">
                        <span class="fa fa-recycle" aria-hidden="true"></span>
                        <span class="text">%%TRANSLATE:RESTARTMM%%</span>
                    </div>
    		<div id="monitor-on-button" class="menu-button power-menu">
                        <span class="fa fa-toggle-on" aria-hidden="true"></span>
                        <span class="text">%%TRANSLATE:MONITORON%%</span>
                    </div>
                    <div id="monitor-off-button" class="menu-button power-menu">
                        <span class="fa fa-toggle-off" aria-hidden="true"></span>
                        <span class="text">%%TRANSLATE:MONITOROFF%%</span>
                    </div>
    

    and the translations/en.json and de.json on line 8 ff:

        "RESTARTMM": "Restart MagicMirror2",
        "MONITORON": "Turn monitor ON",
        "MONITOROFF": "Turn monitor OFF",
    
        "RESTARTMM": "Starte MagicMirror2 neu",
        "MONITORON": "Bildschirm einschalten",
        "MONITOROFF": "Bildschirm ausschalten",
    

    I think thats it.

    The evil this is a must for my mirror… so thats next. I think we can do this like the IFTTT module does it.
    Install modules remotly will be the next big thing… :-)

    posted in System
    B
    Bangee
    Oct 6, 2016, 7:29 AM

Latest posts made by Bangee

  • RE: MMM-SwissTransport

    I’ve made an update. Now it works with a node_helper.js so you will have less problems with CORS errors.

    Have fun

    posted in Transport
    B
    Bangee
    Dec 18, 2017, 3:18 PM
  • RE: Thin, Frameless Mirror

    Do you have a picture from the back? :-)

    posted in Show your Mirror
    B
    Bangee
    Jun 27, 2017, 10:17 AM
  • RE: TypeError: curr.start.toISOString is not a function

    can you maybe post your solution? that would be great

    thanks bangee

    posted in Troubleshooting
    B
    Bangee
    Apr 19, 2017, 8:11 PM
  • RE: MMM-SwissTransport

    @kwyjibo089, yes it’s possible:

    change the line function getParams() like this:

    	/* getParams()
    	 * Generates an url with api parameters based on the config.
    	 *
    	 * return String - URL params.
    	 */
    	getParams: function() {
    		var params = "?";
                    params += "id=" + this.config.id;
    		params += "&limit=" + this.config.maximumEntries;
                    params += "&transportations[]=ec_ic&transportations[]=s_sn_r&transportations[]=ir&transportations[]=re_d&transportations[]=ice_tgv_rj";
    
    		return params;
    },
    
    

    The line params += "&transportations[]=ec_ic&transportations[]=s_sn_r..."; is new an should allow you to filter the transportation object.

    Here are all option:
    transportations
    Transportation means; one or more of ice_tgv_rj, ec_ic, ir, re_d, ship, s_sn_r, bus, cableway, arz_ext, tramway_underground
    example:
    &transportations[]=ec_ic&transportations[]=bus

    Source: http://transport.opendata.ch/docs.html#section

    It’s not testet yet, but I think it should work for you.

    Have fun,

    Gruss aus Oberrieden :-)

    posted in Transport
    B
    Bangee
    Mar 31, 2017, 11:21 AM
  • RE: Total n00b and can't get this thing to work. Please help!

    Try to remove the folder: ~/MagicMirror and use the installer as described on git.
    check this:
    https://github.com/MichMich/MagicMirror

    Manual Installation

    Download and install the latest Node.js version.
    Clone the repository and check out the beta branch: git clone https://github.com/MichMich/MagicMirror
    Enter the repository: cd ~/MagicMirror
    Install and run the app: npm install && npm start
    
    posted in Troubleshooting
    B
    Bangee
    Feb 23, 2017, 7:28 AM
  • RE: IR Touchframe suggestions?

    no it’s not testet at the moment. i have different type of glas at home, so let’s find out if it works.

    posted in General Discussion
    B
    Bangee
    Feb 22, 2017, 12:39 PM
  • RE: IR Touchframe suggestions?

    I’ve ordered a Touch Film
    but this will take some time, untill this arrives in Switzerland :-D

    posted in General Discussion
    B
    Bangee
    Feb 22, 2017, 11:17 AM
  • RE: MMM-PIR-Sensor - White Screen

    I’m glad to hear that! :-D

    posted in Troubleshooting
    B
    Bangee
    Feb 22, 2017, 7:55 AM
  • RE: PIR-Sensor - put your mirror to sleep if not used

    @illskool
    Check this out:
    https://forum.magicmirror.builders/topic/569/mmm-pir-sensor-white-screen/39

    posted in System
    B
    Bangee
    Feb 21, 2017, 9:17 AM
  • RE: How to Troubleshoot

    you can test your software in a browser using the webserver:
    http://mirror_ip_adress:8080

    install in firefox a tool called Firebug https://addons.mozilla.org/de/firefox/addon/firebug/
    it will show you errors on the fly.
    Changes in node_helper.js requires a restart of your mirror software.

    posted in Troubleshooting
    B
    Bangee
    Jan 26, 2017, 8:16 AM
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