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

    Posts

    Recent Best Controversial
    • RE: MMM-Wifi_QR-Code

      @Mykle1 said in MMM-Wifi_QR-Code:

      @cruunnerr said in MMM-Wifi_QR-Code:

      yeah, i searched all “noteworthy” developers

      Well, that leaves me out! ;-)

      No way!
      Just fail to see this module ;)
      You are a great developer and such a great teacher

      posted in Requests
      cruunnerrC
      cruunnerr
    • RE: {HowTo} turn on/off your monitor (Time based, PIR/Button, App)

      then u probably connected it wrong and the gpio which is used in the script is set to high (1). u can check this…

      type gpio readall to see the GPIO Breakout.

      pi@MagicMirror_Test:~ $ gpio readall
       +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
       | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
       +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
       |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |
       |   2 |   8 |   SDA.1 |   IN | 1 |  3 || 4  |   |      | 5v      |     |     |
       |   3 |   9 |   SCL.1 |   IN | 1 |  5 || 6  |   |      | 0v      |     |     |
       |   4 |   7 | GPIO. 7 |   IN | 1 |  7 || 8  | 1 | ALT0 | TxD     | 15  | 14  |
       |     |     |      0v |      |   |  9 || 10 | 1 | ALT0 | RxD     | 16  | 15  |
       |  17 |   0 | GPIO. 0 |  OUT | 1 | 11 || 12 | 0 | IN   | GPIO. 1 | 1   | 18  |
       |  27 |   2 | GPIO. 2 |  OUT | 1 | 13 || 14 |   |      | 0v      |     |     |
       |  22 |   3 | GPIO. 3 |   IN | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |
       |     |     |    3.3v |      |   | 17 || 18 | 1 | IN   | GPIO. 5 | 5   | 24  |
       |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |
       |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 0 | IN   | GPIO. 6 | 6   | 25  |
       |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |
       |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |
       |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |
       |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |
       |   6 |  22 | GPIO.22 |   IN | 1 | 31 || 32 | 0 | IN   | GPIO.26 | 26  | 12  |
       |  13 |  23 | GPIO.23 |   IN | 0 | 33 || 34 |   |      | 0v      |     |     |
       |  19 |  24 | GPIO.24 |   IN | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |
       |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | IN   | GPIO.28 | 28  | 20  |
       |     |     |      0v |      |   | 39 || 40 | 0 | IN   | GPIO.29 | 29  | 21  |
       +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
       | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
       +-----+-----+---------+------+---+---Pi 2---+---+------+---------+-----+-----+
      

      In the script the BCM pin 22 is used for the PIR. This is GPIO 3 and physically it is pin 15.

      Please check if your pir is connected correctly.

      Edit:

      Oh, and take a look at your PIR. u can set the delay time from 0.3seconds up to 5 minutes. Maybe its set very high.
      For using the soloutions of this tutorial the PIR adjust time should be set very low, as u can set the time within the script :)
      https://www.mpja.com/download/31227sc.pdf

      posted in Tutorials
      cruunnerrC
      cruunnerr
    • RE: One more change hopefully

      i am not sure because i just know what i needed by myself yet ^^, but try this:

      header {
          color: #fff;
          font-size: 30px;
      }
      

      take a look at the main.css
      U can see all variables and maybe put them together to your custom.css as u wish :)

      https://github.com/MichMich/MagicMirror/blob/master/css/main.css

      posted in General Discussion
      cruunnerrC
      cruunnerr
    • RE: show integer logs from python script as diagram in MM ?

      @doubleT

      Hey mate,

      tried your module and it works :D

      So atm i am using the python script to write the results to the mysql database. 2 minutes later runs a node app, which creates a JSON file and put that to my NAS.
      Your module grabs this JSON every hour and shows the results on my mirror :)
      For me the next step is to let the python script directly write a JSON file, but i need to find a solution for that.

      I appreciate with your ToDo list.
      It would be cool to set more things in the default config part. Things like refreshTime, high and width and if the chart will show dynamically or static. Last thing means, if the chart will show on the left side the scale from fix points (e.g. min. 0 Litre and max. 3000 Litre) or if it will show the scale depending on the last datas from the JSON (like atm).
      Just a thought… ^^

      And a very cool killer feature would be, to calculate the date, when the tank will be totally empty depending on the consumption from the last 100 days or something like that. But i think that would be too much. :D

      Anyhow i am just brainstorming. U did a great work, which i can directly use for my mirror and you have my greatest respect. Thank you and please let me know when i can help u with your ToDo list ^^

      So now i will take a look on your codes and try to understand what you did XD

      posted in Requests
      cruunnerrC
      cruunnerr
    • RE: {HowTo} turn on/off your monitor (Time based, PIR/Button, App)

      again one step closer :D

      put in the content and save with “ctrl+x” and “y”

      try everything agin and report if u got trouble again :)

      edit:

      oh sorry. Aren’t we using “screen_on/off”?? :D

      so try

      sh screen_off.sh should show a black screen (not turning HDMI off)
      sh screen_on.sh should disable the black screen.

      posted in Tutorials
      cruunnerrC
      cruunnerr
    • RE: Modifying Magic Mirror for a gift...

      In my opinion the most user friendly way is a PIR sensor ^^
      Or u just install a button :)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: My First Mirror... until now ^^

      @doubleT said in My First Mirror... until now ^^:

      The rest is a little bit too much “screen” (as opposed to mirror) for me, but I can see the appeal.

      i know what you mean ^^
      But since i found out how many things can be shown with the MM, i couldn’t let it be :D
      Maybe the background is “too much”, but i like it anyhow XD
      but if i turn on the room lights, its bright enough to use it as a mirror :P

      posted in Show your Mirror
      cruunnerrC
      cruunnerr
    • RE: Basic Core System of Magicmirror

      @yours.mukul said in Basic Core System of Magicmirror:

      As i have to explain it to my teacher

      I am very sure that the community would answer specifically question, if u have some. But to do your homework, i think that is too much.
      As i couldn’t explain you how all that works, i am pretty sure the explanation would be much too long and no one would sacrifice his free time for that.

      Sorry bro

      posted in Tutorials
      cruunnerrC
      cruunnerr
    • RE: Mirror turning black after a while

      @retroflex

      the wifi on the RPi 3 is not the best. So i installed an automatically wifi_rebooter here. U could try that as well: http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/

      in my case my Pi pings my router address every 3 minutes and when it cannot reach it, it reboots it’s wifi itself.

      For your other problem u could try “nmon”.

      sudo apt-get install nmon

      start it by simply typing nmon

      when it starts u can type letters to choose what u want it to show. with “t, l, m, c” it will show u “top processes”, “long therm CPU usage”, “memory usage” and “actual CPU usage”

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 6 / 8