MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. cruunnerr
    3. Posts
    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: how to start an image slide show with a press of a button?

      @xela

      Ah sorry… the MMM was missing. should be this:

      http://your.raspberry.ip.address:8080/remote?action=HIDE&module=module_0_MMM-ImageSlideshow

      And

      http://your.raspberry.ip.address:8080/remote?action=SHOW&module=module_0_MMM-ImageSlideshow

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Trouble with PIR sensor

      @jheller333

      Look above :)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Trouble with PIR sensor

      Try these commands in the *.sh files:

      vcgencmd display_power 1

      and

      vcgencmd display_power 0

      I need to update my post ^^

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Trouble with PIR sensor

      @jheller333

      Maybe with a relay? :)

      take a look at point 5.2
      https://forum.magicmirror.builders/topic/6291/howto-turn-on-off-your-monitor-time-based-pir-button-app?page=1

      edit: but the normal MMM-PIR module can use a relay, too ;)

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: how to start an image slide show with a press of a button?

      hmm…

      To start it hidden just open your remoteControl with http://YOUR.RASPBERRY.IP.ADDRESS:8080/remote.html
      Go to “Edit view” and hide the module. Then press “SAVE”
      Note: Every time you change your config u need to do this again ;)

      so now to your button problem…

      please try this:

      open a browser on your pc and type:

      http://YOUR.RASPBERRY.IP.ADDRESS:8080/remote?action=HIDE&module=module_0_ImageSlideshow

      http://YOUR.RASPBERRY.IP.ADDRESS:8080/remote?action=SHOW&module=module_0_ImageSlideshow

      This should hide and show the module as these are the comments which the remote control is using.

      If this works its probably a configuration problem with the PIN.

      note that:

      +-----+-----+---------+------+---+---Pi 3---+---+------+---------+-----+-----+
       | 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  | 0 | IN   | TxD     | 15  | 14  |
       |     |     |      0v |      |   |  9 || 10 | 1 | IN   | RxD     | 16  | 15  |
       |  17 |   0 | GPIO. 0 |  OUT | 0 | 11 || 12 | 0 | IN   | GPIO. 1 | 1   | 18  |
       |  27 |   2 | GPIO. 2 |   IN | 0 | 13 || 14 |   |      | 0v      |     |     |
       |  22 |   3 | GPIO. 3 |  OUT | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |
       |     |     |    3.3v |      |   | 17 || 18 | 0 | OUT  | 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 | 1 | OUT  | 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 3---+---+------+---------+-----+-----+
      

      Don’t know what type u are using (BCM, w-pi, physical ??)

      In your config you wrote Pin: 18, but in your first post u said 15…

      Maybe try another one. For example u could use GPIO 29, which is physically Pin 40, which is BCM Pin 21…

      So in your config u must write, that u are using Pin 21!

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Refresh every day at midnight

      i would use pm2 for that.

      sudo nano /etc/crontab

      # /etc/crontab: system-wide crontab
      # Unlike any other crontab you don't have to run the `crontab'
      # command to install the new version when you edit this file
      # and files in /etc/cron.d. These files also have username fields,
      # that none of the other crontabs do.
      
      SHELL=/bin/sh
      PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
      
      # m h dom mon dow user  command
      17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
      25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
      47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
      52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
      59 23   * * *   pi      pm2 restart mm
      #
      

      should work…

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: how to start an image slide show with a press of a button?

      @xela
      As i can see there is no image module which allows sending/receiving notifications.

      but how about just hide and how the module?

      U would need MMM-RemoteControl, too.

      MMM-Buttons:

      		{
      		    module: 'MMM-Buttons',
      		    config: {
      			maxShortPressTime: 1000,
      		        buttons: [
      		            {
      		                pin: 15,
      		                name: "MMM-ImageSlideshow",
      		                shortPress: {
      		                    notification: "REMOTE_ACTION",
      		                    payload: {
                                  action: "SHOW",
                                  module: "module_0_MMM-ImageSlideshow"
                              }
      		                },
                                longPress: {
                                notification: "REMOTE_ACTION",
                                payload: {
                                action: "HIDE",
                                module: "module_0_MMM-ImageSlideshow"
                                                }
                                       },
      		       },
      		     ]
      		   }
      		},
      

      edit:
      the module_0_MMM-ImageSlideshow means, that this module is on the first position in your config.js.
      So u need to count to this module beginning with 0.
      If the module is at third position in your config it would be module_2_MMM-ImageSlideshow

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Display a .png saved on the raspberry pi hard drive

      afaik this isn’t possible with Easy-Pix. (please correct me)

      But maybe u give MMM-ImagesPhotos a try. With that u can set an update interval. Just put your only Photo in the directory

      posted in Development
      cruunnerrC
      cruunnerr
    • RE: Heat Problem

      i agree with @barnosch
      the power supply is not causing the heat problem! Well, if u can call it a problem… 66-70° while running magic mirror is ok. As barnosch said u probably can reduce it by removing unused stuff. :)

      @howi42
      maybe same recommendation here. Remove unused stuff. Thats the reason, why i am a fan of using the Lite versions of raspbian ^^
      Alexa-pi is maybe waiting all the time for your voice and that also needs CPU Power. And MagicMirror can raise the temp, too when using much modules. Especially when using modules with animation…

      Just to say:
      I am running my Magic Mirror in a completely closed frame (without any holes). Just put the small heatsinks u can buy everywhere on eBay on it and i have temperatures about 58-63°. When the monitor is on for about 10 minutes it will raise to max. 66-67°.

      For using a fan regulated by the Pi’s temperature u can check this: https://forum.magicmirror.builders/topic/6495/temperature-regulated-fan-on-rpi/3

      @mykle1
      Didn’t see your post, cause i was writing.
      But i never understood your temperature and your System Load :D
      even with using raspbian Lite and just installing MM i never got this results. Even when the Pi lays on my table with heatsinks.^^
      was always above 50°

      Maybe u are sitting in an igloo XD

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Server connection

      i did the same mistake on my first time. Think this is a german guys problem XD

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • RE: Putting the Screen to Sleep while Away (No CEC or PIR)

      the the main thing is you are satisfied

      :)

      great solution anyhow

      posted in Utilities
      cruunnerrC
      cruunnerr
    • RE: Putting the Screen to Sleep while Away (No CEC or PIR)

      couldn’t u combine that with the normal MMM-PIR sensor and using the relay option?

      connecting like here at Point 5

      posted in Utilities
      cruunnerrC
      cruunnerr
    • RE: Question about mirror

      no.

      u could use normal glass, but then its not a mirror and the reflection could bother u.

      Some used normal glas and put some foil on it, whether the result isn’t so good as with a 2-way-mirror.
      And again other just put the foil directly on the monitor

      posted in Hardware
      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: Magic Mirror with AI

      @Mykle1 said in Magic Mirror with AI:

      @cowboysdude said in Magic Mirror with AI:

      so I took a 1/2 a day on this… that’s enough.

      If you can’t get it then that leaves me out. :-/

      me, too ^^

      posted in Show your Mirror
      cruunnerrC
      cruunnerr
    • RE: [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²

      Thats pretty cool. Now i could install a button for each menu option :)

      I like buttons. so i like this module. lol ^^

      Impressive work. Thank you very much.

      posted in Utilities
      cruunnerrC
      cruunnerr
    • RE: Notice for MMM-CalendarEXT and MMM-Assistant

      i freshly installed a MagicMirror with the newest version and the CalendarEXT works without any mods :)

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

      @doubleT Thats my actual sorting:

      I would like to show it in the middle below the clock.
      I installed the microwave sensor on my tank now and began measuring :)
      So a.t.m. there is only one log and now graph is shown ^^ Will wait now for the next log to see if everything is working fine :)

      I will play around with the code but today and tomorrow my nephew is to visit, so i need to move that :D

      posted in Requests
      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: [MMM-Remote-Control] Can not access remote control module

      @budwha

      do it like Mykle said

      https://forum.magicmirror.builders/topic/1517/mmm-remote-control-can-not-access-remote-control-module/18

      posted in Troubleshooting
      cruunnerrC
      cruunnerr
    • 1 / 1