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

    Posts

    Recent Best Controversial
    • RE: News ticker module

      I understand. I did manage to lower the cpu usage quite alot, by changing the gpu driver.
      Cpu usage is at around 40% now. Wich is good and should probably improve the lag a bit.

      But adding more feeds would be very nice. So if anyone could point me in the right direction for that id appreciate it, not asking you to do it all for me :p

      posted in Requests
      KimzerK
      Kimzer
    • RE: News ticker module

      Using cowboysdude’s module and it does the job. Very nice looking etc.
      But a couple of things i am hoping we can improve upon.

      I would like to add a few more feeds to it, and also its kind of lagging a bit. Is there a way to improve that? Im no strong coder whatsoever so any help i could get would be very much appreciated.

      posted in Requests
      KimzerK
      Kimzer
    • RE: MMM-Pir-Sensor - Hue lights control

      Thats exactly what i am already doing. But its too slow for my taste :p

      posted in Troubleshooting
      KimzerK
      Kimzer
    • RE: MMM-Pir-Sensor - Hue lights control

      Anyone? :)

      posted in Troubleshooting
      KimzerK
      Kimzer
    • MMM-Pir-Sensor - Hue lights control

      Hey!

      Im using a pir sensor on my mirror and the MMM-Pir-Sensor module.
      Wich works just great.

      Thing is tho, i also added a little python script to turn on some hue light strips i have on the back of the mirror. Wich is being executed when the screen turns on from movement being detected. Buuuut, that is a slow and sluggish way of doing it.

      import requests
      import time
       
      colors = {'white':'{"on":true,"bri":255,"sat":0,"hue":0}',
                'blue':'{"on":true,"bri":255,"sat":255,"hue":46920}',
                'red':'{"on":true,"bri":255,"sat":255,"hue":0}',
                'yellow':'{"on":true,"bri":255,"sat":255,"hue":12750}'}
       
      hour = time.localtime().tm_hour
       
      time_colors = {(0,2):'red', (2,7):'blue', (7, 20):'white', (20,24):'yellow'}
      color_schema  = {hour:color for hours, color in time_colors.items() for hour in range(hours[0], hours[1])}
      color = colors[color_schema[hour]]
      
       
      headers = {
          'Accept': 'application/json',
      }
       
      requests.put('http://192.168.1.47/api/xxxxxxxxxxxxxxxxxxx/lights/2/state', headers=headers, data=color)
      

      Thats the actual script being ran. But execing python from within the node helper.js its too much delay for my liking.
      Does anyone have any decent suggestions for speeding this up or a better way of doing it?

      posted in Troubleshooting
      KimzerK
      Kimzer
    • RE: Install MagicMirror Bathroom

      I have mine in the bathroom. It really doesnt fog much but i just have some kind of foil instead of a two way mirror. Using a pir sensor to turn it on/off. Works great.

      posted in Hardware
      KimzerK
      Kimzer
    • RE: Rasbian Stretch screensaver disable

      Is there a different method if ive changed to the opengl driver instead?

      posted in Troubleshooting
      KimzerK
      Kimzer
    • RE: Rasbian Stretch screensaver disable

      I have done that, does not work :s

      posted in Troubleshooting
      KimzerK
      Kimzer
    • Rasbian Stretch screensaver disable

      Hiyaaaaa. Having problems disabling the screensaver.
      Ive tried countless guides and none seem to work.
      Tried;

      Add these lines to /etc/xdg/lxsession/LXDE/autostart (LXDE-PI also)
      @xset s noblank
      @xset s off
      @xset -dpms

      Tried installing screensaver software and disabling it there. But all to no use.
      How do we do this properly in stretch?

      posted in Troubleshooting
      KimzerK
      Kimzer
    • RE: News ticker module

      Hmm, clever. Will look into that. have you tried something like it?

      posted in Requests
      KimzerK
      Kimzer
    • 1 / 1